Example #1
0
 def from_dict(obj_dict):
     obj = Pose3()
     obj.frame_id = obj_dict['frame_id']
     obj.position = Vector3.from_dict(obj_dict['position'])
     obj.orientation = Vector3.from_dict(obj_dict['orientation'])
     return obj
Example #2
0
 def from_dict(obj_dict):
     obj = BBox3()
     obj.min = Vector3.from_dict(obj_dict['min'])
     obj.max = Vector3.from_dict(obj_dict['max'])
     return obj