1 """autogenerated by genpy from next_best_view/PointCloudElement.msg. Do not edit.""" 3 python3 =
True if sys.hexversion > 0x03000000
else False 7 import geometry_msgs.msg
10 _md5sum =
"0da2bb70a0d7aa5d39de0e0fb845657b" 11 _type =
"asr_next_best_view/PointCloudElement" 15 geometry_msgs/Pose pose 16 ================================================================================ 17 MSG: geometry_msgs/Pose 18 # A representation of pose in free space, composed of postion and orientation. 20 Quaternion orientation 22 ================================================================================ 23 MSG: geometry_msgs/Point 24 # This contains the position of a point in free space 29 ================================================================================ 30 MSG: geometry_msgs/Quaternion 31 # This represents an orientation in free space in quaternion form. 39 __slots__ = [
'object_type',
'pose']
40 _slot_types = [
'string',
'geometry_msgs/Pose']
44 Constructor. Any message fields that are implicitly/explicitly 45 set to None will be assigned a default value. The recommend 46 use is keyword arguments as this is more robust to future message 47 changes. You cannot mix in-order arguments and keyword arguments. 49 The available fields are: 52 :param args: complete set of field values, in .msg order 53 :param kwds: use keyword arguments corresponding to message field names 54 to set specific fields. 57 super(PointCloudElement, self).
__init__(*args, **kwds)
62 self.
pose = geometry_msgs.msg.Pose()
65 self.
pose = geometry_msgs.msg.Pose()
75 serialize message into buffer 76 :param buff: buffer, ``StringIO`` 81 if python3
or type(_x) == unicode:
82 _x = _x.encode(
'utf-8')
84 buff.write(struct.pack(
'<I%ss'%length, length, _x))
86 buff.write(_struct_7d.pack(_x.pose.position.x, _x.pose.position.y, _x.pose.position.z, _x.pose.orientation.x, _x.pose.orientation.y, _x.pose.orientation.z, _x.pose.orientation.w))
87 except struct.error
as se: self._check_types(se)
88 except TypeError
as te: self._check_types(te)
92 unpack serialized message in str into this message instance 93 :param str: byte array of serialized message, ``str`` 97 self.
pose = geometry_msgs.msg.Pose()
101 (length,) = _struct_I.unpack(str[start:end])
111 (_x.pose.position.x, _x.pose.position.y, _x.pose.position.z, _x.pose.orientation.x, _x.pose.orientation.y, _x.pose.orientation.z, _x.pose.orientation.w,) = _struct_7d.unpack(str[start:end])
113 except struct.error
as e:
114 raise genpy.DeserializationError(e)
119 serialize message with numpy array types into buffer 120 :param buff: buffer, ``StringIO`` 121 :param numpy: numpy python module 126 if python3
or type(_x) == unicode:
127 _x = _x.encode(
'utf-8')
129 buff.write(struct.pack(
'<I%ss'%length, length, _x))
131 buff.write(_struct_7d.pack(_x.pose.position.x, _x.pose.position.y, _x.pose.position.z, _x.pose.orientation.x, _x.pose.orientation.y, _x.pose.orientation.z, _x.pose.orientation.w))
132 except struct.error
as se: self._check_types(se)
133 except TypeError
as te: self._check_types(te)
137 unpack serialized message in str into this message instance using numpy for array types 138 :param str: byte array of serialized message, ``str`` 139 :param numpy: numpy python module 142 if self.
pose is None:
143 self.
pose = geometry_msgs.msg.Pose()
147 (length,) = _struct_I.unpack(str[start:end])
157 (_x.pose.position.x, _x.pose.position.y, _x.pose.position.z, _x.pose.orientation.x, _x.pose.orientation.y, _x.pose.orientation.z, _x.pose.orientation.w,) = _struct_7d.unpack(str[start:end])
159 except struct.error
as e:
160 raise genpy.DeserializationError(e)
162 _struct_I = genpy.struct_I
163 _struct_7d = struct.Struct(
"<7d")
def deserialize(self, str)
def deserialize_numpy(self, str, numpy)
def __init__(self, args, kwds)
def serialize(self, buff)
def serialize_numpy(self, buff, numpy)