1 """autogenerated by genpy from launchman/AppUpdate.msg. Do not edit.""" 3 python3 =
True if sys.hexversion > 0x03000000
else False 11 _md5sum =
"5798525d2dcbad786f5d5d2c3dfd0cae" 12 _type =
"launchman/AppUpdate" 14 _full_text =
"""Header header 20 ================================================================================ 22 # Standard metadata for higher-level stamped data types. 23 # This is generally used to communicate timestamped data 24 # in a particular coordinate frame. 26 # sequence ID: consecutively increasing ID 28 #Two-integer timestamp that is expressed as: 29 # * stamp.secs: seconds (stamp_secs) since epoch 30 # * stamp.nsecs: nanoseconds since stamp_secs 31 # time-handling sugar is provided by the client library 33 #Frame this data is associated with 39 __slots__ = [
'header',
'taskid',
'username',
'status',
'started']
40 _slot_types = [
'std_msgs/Header',
'string',
'string',
'string',
'time']
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: 50 header,taskid,username,status,started 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(AppUpdate, self).
__init__(*args, **kwds)
70 self.
header = std_msgs.msg.Header()
84 serialize message into buffer 85 :param buff: buffer, ``StringIO`` 89 buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
90 _x = self.header.frame_id
92 if python3
or type(_x) == unicode:
93 _x = _x.encode(
'utf-8')
95 buff.write(struct.pack(
'<I%ss'%length, length, _x))
98 if python3
or type(_x) == unicode:
99 _x = _x.encode(
'utf-8')
101 buff.write(struct.pack(
'<I%ss'%length, length, _x))
104 if python3
or type(_x) == unicode:
105 _x = _x.encode(
'utf-8')
107 buff.write(struct.pack(
'<I%ss'%length, length, _x))
110 if python3
or type(_x) == unicode:
111 _x = _x.encode(
'utf-8')
113 buff.write(struct.pack(
'<I%ss'%length, length, _x))
115 buff.write(_struct_2I.pack(_x.started.secs, _x.started.nsecs))
116 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
117 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
121 unpack serialized message in str into this message instance 122 :param str: byte array of serialized message, ``str`` 126 self.
header = std_msgs.msg.Header()
133 (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
136 (length,) = _struct_I.unpack(str[start:end])
140 self.header.frame_id = str[start:end].decode(
'utf-8')
142 self.header.frame_id = str[start:end]
145 (length,) = _struct_I.unpack(str[start:end])
149 self.
taskid = str[start:end].decode(
'utf-8')
151 self.
taskid = str[start:end]
154 (length,) = _struct_I.unpack(str[start:end])
158 self.
username = str[start:end].decode(
'utf-8')
163 (length,) = _struct_I.unpack(str[start:end])
167 self.
status = str[start:end].decode(
'utf-8')
169 self.
status = str[start:end]
173 (_x.started.secs, _x.started.nsecs,) = _struct_2I.unpack(str[start:end])
176 except struct.error
as e:
177 raise genpy.DeserializationError(e)
182 serialize message with numpy array types into buffer 183 :param buff: buffer, ``StringIO`` 184 :param numpy: numpy python module 188 buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
189 _x = self.header.frame_id
191 if python3
or type(_x) == unicode:
192 _x = _x.encode(
'utf-8')
194 buff.write(struct.pack(
'<I%ss'%length, length, _x))
197 if python3
or type(_x) == unicode:
198 _x = _x.encode(
'utf-8')
200 buff.write(struct.pack(
'<I%ss'%length, length, _x))
203 if python3
or type(_x) == unicode:
204 _x = _x.encode(
'utf-8')
206 buff.write(struct.pack(
'<I%ss'%length, length, _x))
209 if python3
or type(_x) == unicode:
210 _x = _x.encode(
'utf-8')
212 buff.write(struct.pack(
'<I%ss'%length, length, _x))
214 buff.write(_struct_2I.pack(_x.started.secs, _x.started.nsecs))
215 except struct.error
as se: self._check_types(struct.error(
"%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
216 except TypeError
as te: self._check_types(ValueError(
"%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
220 unpack serialized message in str into this message instance using numpy for array types 221 :param str: byte array of serialized message, ``str`` 222 :param numpy: numpy python module 226 self.
header = std_msgs.msg.Header()
233 (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
236 (length,) = _struct_I.unpack(str[start:end])
240 self.header.frame_id = str[start:end].decode(
'utf-8')
242 self.header.frame_id = str[start:end]
245 (length,) = _struct_I.unpack(str[start:end])
249 self.
taskid = str[start:end].decode(
'utf-8')
251 self.
taskid = str[start:end]
254 (length,) = _struct_I.unpack(str[start:end])
258 self.
username = str[start:end].decode(
'utf-8')
263 (length,) = _struct_I.unpack(str[start:end])
267 self.
status = str[start:end].decode(
'utf-8')
269 self.
status = str[start:end]
273 (_x.started.secs, _x.started.nsecs,) = _struct_2I.unpack(str[start:end])
276 except struct.error
as e:
277 raise genpy.DeserializationError(e)
279 _struct_I = genpy.struct_I
280 _struct_3I = struct.Struct(
"<3I")
281 _struct_2I = struct.Struct(
"<2I")
def __init__(self, args, kwds)
def deserialize(self, str)
def serialize(self, buff)
def serialize_numpy(self, buff, numpy)
def deserialize_numpy(self, str, numpy)