$search
00001 """autogenerated by genmsg_py from NavigatorState.msg. Do not edit.""" 00002 import roslib.message 00003 import struct 00004 00005 import geometry_msgs.msg 00006 import art_msgs.msg 00007 import std_msgs.msg 00008 00009 class NavigatorState(roslib.message.Message): 00010 _md5sum = "c40e5f1fdc1b82b80af736960035d5c8" 00011 _type = "art_msgs/NavigatorState" 00012 _has_header = True #flag to mark the presence of a Header object 00013 _full_text = """# navigator state message 00014 # $Id: NavigatorState.msg 615 2010-09-24 16:07:50Z jack.oquin $ 00015 00016 Header header 00017 00018 EstopState estop 00019 RoadState road 00020 00021 art_msgs/MapID last_waypt # last way-point reached 00022 art_msgs/MapID replan_waypt # next way-point for replan 00023 00024 int32 cur_poly # current polygon, -1 if none 00025 00026 # status flags 00027 bool alarm 00028 bool flasher 00029 bool lane_blocked 00030 bool road_blocked 00031 bool reverse 00032 bool signal_left 00033 bool signal_right 00034 bool stopped 00035 bool have_zones 00036 00037 Order last_order # last commander order received 00038 00039 ================================================================================ 00040 MSG: std_msgs/Header 00041 # Standard metadata for higher-level stamped data types. 00042 # This is generally used to communicate timestamped data 00043 # in a particular coordinate frame. 00044 # 00045 # sequence ID: consecutively increasing ID 00046 uint32 seq 00047 #Two-integer timestamp that is expressed as: 00048 # * stamp.secs: seconds (stamp_secs) since epoch 00049 # * stamp.nsecs: nanoseconds since stamp_secs 00050 # time-handling sugar is provided by the client library 00051 time stamp 00052 #Frame this data is associated with 00053 # 0: no frame 00054 # 1: global frame 00055 string frame_id 00056 00057 ================================================================================ 00058 MSG: art_msgs/EstopState 00059 # Navigator E-stop state values 00060 # $Id: EstopState.msg 996 2011-02-27 16:07:34Z jack.oquin $ 00061 00062 uint16 Pause = 0 # E-stop pause (initial state) 00063 uint16 Run = 1 # E-stop run enabled 00064 uint16 Done = 2 # mission finished (disabled) 00065 uint16 Suspend = 3 # suspend autonomous operation 00066 uint16 N_states = 4 00067 00068 uint16 state 00069 00070 ================================================================================ 00071 MSG: art_msgs/RoadState 00072 # Navigator Road state values 00073 # $Id: RoadState.msg 615 2010-09-24 16:07:50Z jack.oquin $ 00074 00075 uint16 Init = 0 00076 uint16 Block = 1 00077 uint16 Evade = 2 00078 uint16 Follow = 3 00079 uint16 Pass = 4 00080 uint16 Uturn = 5 00081 uint16 WaitCross = 6 00082 uint16 WaitLane = 7 00083 uint16 WaitPass = 8 00084 uint16 WaitStop = 9 00085 uint16 Zone = 10 00086 uint16 N_states = 11 00087 00088 uint16 state 00089 00090 ================================================================================ 00091 MSG: art_msgs/MapID 00092 # Road map identifier for segments, lanes and way-points. 00093 # $Id: MapID.msg 614 2010-09-24 15:08:46Z jack.oquin $ 00094 00095 uint16 NULL_ID = 65535 00096 00097 uint16 seg # segment ID 00098 uint16 lane # lane ID 00099 uint16 pt # way-point ID 00100 00101 ================================================================================ 00102 MSG: art_msgs/Order 00103 # commander order for the navigator 00104 # $Id: Order.msg 615 2010-09-24 16:07:50Z jack.oquin $ 00105 00106 uint32 N_WAYPTS = 5 # number of way-points in order 00107 uint32 N_CHKPTS = 2 # number of checkpoints in order 00108 00109 Behavior behavior # requested behavior 00110 art_msgs/WayPoint[5] waypt # way-point array 00111 art_msgs/WayPoint[2] chkpt # next two goal checkpoints 00112 float32 min_speed # in meters/sec 00113 float32 max_speed 00114 int32 replan_num 00115 int32 next_uturn # Uturn between [1] and [2] 00116 00117 ================================================================================ 00118 MSG: art_msgs/Behavior 00119 # ART Navigator behaviors (lower numbers have higher priority) 00120 # $Id: Behavior.msg 996 2011-02-27 16:07:34Z jack.oquin $ 00121 00122 # enumerated behavior values 00123 int16 Abort = 0 00124 int16 Quit = 1 00125 int16 Pause = 2 00126 int16 Run = 3 00127 int16 Suspend = 4 00128 int16 Initialize = 5 00129 int16 Go = 6 00130 int16 NONE = 7 00131 int16 N_behaviors = 8 00132 00133 int16 value 00134 00135 ================================================================================ 00136 MSG: art_msgs/WayPoint 00137 # Way-point attributes 00138 # $Id: WayPoint.msg 614 2010-09-24 15:08:46Z jack.oquin $ 00139 00140 float64 latitude # latitude in degrees 00141 float64 longitude # longitude in degrees 00142 geometry_msgs/Point32 mapxy # MapXY position 00143 MapID id # way-point ID 00144 uint16 index # parser index of waypoint 00145 00146 # way-point flags 00147 bool is_entry # lane or zone exit point 00148 bool is_exit # lane or zone entry point 00149 bool is_goal # this is a goal checkpoint 00150 bool is_lane_change # change lanes after here 00151 bool is_spot # parking spot 00152 bool is_stop # stop line here 00153 bool is_perimeter # zone perimeter point 00154 int32 checkpoint_id # checkpoint ID or zero 00155 float32 lane_width 00156 00157 ================================================================================ 00158 MSG: geometry_msgs/Point32 00159 # This contains the position of a point in free space(with 32 bits of precision). 00160 # It is recommeded to use Point wherever possible instead of Point32. 00161 # 00162 # This recommendation is to promote interoperability. 00163 # 00164 # This message is designed to take up less space when sending 00165 # lots of points at once, as in the case of a PointCloud. 00166 00167 float32 x 00168 float32 y 00169 float32 z 00170 """ 00171 __slots__ = ['header','estop','road','last_waypt','replan_waypt','cur_poly','alarm','flasher','lane_blocked','road_blocked','reverse','signal_left','signal_right','stopped','have_zones','last_order'] 00172 _slot_types = ['Header','art_msgs/EstopState','art_msgs/RoadState','art_msgs/MapID','art_msgs/MapID','int32','bool','bool','bool','bool','bool','bool','bool','bool','bool','art_msgs/Order'] 00173 00174 def __init__(self, *args, **kwds): 00175 """ 00176 Constructor. Any message fields that are implicitly/explicitly 00177 set to None will be assigned a default value. The recommend 00178 use is keyword arguments as this is more robust to future message 00179 changes. You cannot mix in-order arguments and keyword arguments. 00180 00181 The available fields are: 00182 header,estop,road,last_waypt,replan_waypt,cur_poly,alarm,flasher,lane_blocked,road_blocked,reverse,signal_left,signal_right,stopped,have_zones,last_order 00183 00184 @param args: complete set of field values, in .msg order 00185 @param kwds: use keyword arguments corresponding to message field names 00186 to set specific fields. 00187 """ 00188 if args or kwds: 00189 super(NavigatorState, self).__init__(*args, **kwds) 00190 #message fields cannot be None, assign default values for those that are 00191 if self.header is None: 00192 self.header = std_msgs.msg._Header.Header() 00193 if self.estop is None: 00194 self.estop = art_msgs.msg.EstopState() 00195 if self.road is None: 00196 self.road = art_msgs.msg.RoadState() 00197 if self.last_waypt is None: 00198 self.last_waypt = art_msgs.msg.MapID() 00199 if self.replan_waypt is None: 00200 self.replan_waypt = art_msgs.msg.MapID() 00201 if self.cur_poly is None: 00202 self.cur_poly = 0 00203 if self.alarm is None: 00204 self.alarm = False 00205 if self.flasher is None: 00206 self.flasher = False 00207 if self.lane_blocked is None: 00208 self.lane_blocked = False 00209 if self.road_blocked is None: 00210 self.road_blocked = False 00211 if self.reverse is None: 00212 self.reverse = False 00213 if self.signal_left is None: 00214 self.signal_left = False 00215 if self.signal_right is None: 00216 self.signal_right = False 00217 if self.stopped is None: 00218 self.stopped = False 00219 if self.have_zones is None: 00220 self.have_zones = False 00221 if self.last_order is None: 00222 self.last_order = art_msgs.msg.Order() 00223 else: 00224 self.header = std_msgs.msg._Header.Header() 00225 self.estop = art_msgs.msg.EstopState() 00226 self.road = art_msgs.msg.RoadState() 00227 self.last_waypt = art_msgs.msg.MapID() 00228 self.replan_waypt = art_msgs.msg.MapID() 00229 self.cur_poly = 0 00230 self.alarm = False 00231 self.flasher = False 00232 self.lane_blocked = False 00233 self.road_blocked = False 00234 self.reverse = False 00235 self.signal_left = False 00236 self.signal_right = False 00237 self.stopped = False 00238 self.have_zones = False 00239 self.last_order = art_msgs.msg.Order() 00240 00241 def _get_types(self): 00242 """ 00243 internal API method 00244 """ 00245 return self._slot_types 00246 00247 def serialize(self, buff): 00248 """ 00249 serialize message into buffer 00250 @param buff: buffer 00251 @type buff: StringIO 00252 """ 00253 try: 00254 _x = self 00255 buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs)) 00256 _x = self.header.frame_id 00257 length = len(_x) 00258 buff.write(struct.pack('<I%ss'%length, length, _x)) 00259 _x = self 00260 buff.write(_struct_8Hi9Bh.pack(_x.estop.state, _x.road.state, _x.last_waypt.seg, _x.last_waypt.lane, _x.last_waypt.pt, _x.replan_waypt.seg, _x.replan_waypt.lane, _x.replan_waypt.pt, _x.cur_poly, _x.alarm, _x.flasher, _x.lane_blocked, _x.road_blocked, _x.reverse, _x.signal_left, _x.signal_right, _x.stopped, _x.have_zones, _x.last_order.behavior.value)) 00261 for val1 in self.last_order.waypt: 00262 _x = val1 00263 buff.write(_struct_2d.pack(_x.latitude, _x.longitude)) 00264 _v1 = val1.mapxy 00265 _x = _v1 00266 buff.write(_struct_3f.pack(_x.x, _x.y, _x.z)) 00267 _v2 = val1.id 00268 _x = _v2 00269 buff.write(_struct_3H.pack(_x.seg, _x.lane, _x.pt)) 00270 _x = val1 00271 buff.write(_struct_H7Bif.pack(_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width)) 00272 for val1 in self.last_order.chkpt: 00273 _x = val1 00274 buff.write(_struct_2d.pack(_x.latitude, _x.longitude)) 00275 _v3 = val1.mapxy 00276 _x = _v3 00277 buff.write(_struct_3f.pack(_x.x, _x.y, _x.z)) 00278 _v4 = val1.id 00279 _x = _v4 00280 buff.write(_struct_3H.pack(_x.seg, _x.lane, _x.pt)) 00281 _x = val1 00282 buff.write(_struct_H7Bif.pack(_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width)) 00283 _x = self 00284 buff.write(_struct_2f2i.pack(_x.last_order.min_speed, _x.last_order.max_speed, _x.last_order.replan_num, _x.last_order.next_uturn)) 00285 except struct.error as se: self._check_types(se) 00286 except TypeError as te: self._check_types(te) 00287 00288 def deserialize(self, str): 00289 """ 00290 unpack serialized message in str into this message instance 00291 @param str: byte array of serialized message 00292 @type str: str 00293 """ 00294 try: 00295 if self.header is None: 00296 self.header = std_msgs.msg._Header.Header() 00297 if self.estop is None: 00298 self.estop = art_msgs.msg.EstopState() 00299 if self.road is None: 00300 self.road = art_msgs.msg.RoadState() 00301 if self.last_waypt is None: 00302 self.last_waypt = art_msgs.msg.MapID() 00303 if self.replan_waypt is None: 00304 self.replan_waypt = art_msgs.msg.MapID() 00305 if self.last_order is None: 00306 self.last_order = art_msgs.msg.Order() 00307 end = 0 00308 _x = self 00309 start = end 00310 end += 12 00311 (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00312 start = end 00313 end += 4 00314 (length,) = _struct_I.unpack(str[start:end]) 00315 start = end 00316 end += length 00317 self.header.frame_id = str[start:end] 00318 _x = self 00319 start = end 00320 end += 31 00321 (_x.estop.state, _x.road.state, _x.last_waypt.seg, _x.last_waypt.lane, _x.last_waypt.pt, _x.replan_waypt.seg, _x.replan_waypt.lane, _x.replan_waypt.pt, _x.cur_poly, _x.alarm, _x.flasher, _x.lane_blocked, _x.road_blocked, _x.reverse, _x.signal_left, _x.signal_right, _x.stopped, _x.have_zones, _x.last_order.behavior.value,) = _struct_8Hi9Bh.unpack(str[start:end]) 00322 self.alarm = bool(self.alarm) 00323 self.flasher = bool(self.flasher) 00324 self.lane_blocked = bool(self.lane_blocked) 00325 self.road_blocked = bool(self.road_blocked) 00326 self.reverse = bool(self.reverse) 00327 self.signal_left = bool(self.signal_left) 00328 self.signal_right = bool(self.signal_right) 00329 self.stopped = bool(self.stopped) 00330 self.have_zones = bool(self.have_zones) 00331 self.last_order.waypt = [] 00332 for i in range(0, 5): 00333 val1 = art_msgs.msg.WayPoint() 00334 _x = val1 00335 start = end 00336 end += 16 00337 (_x.latitude, _x.longitude,) = _struct_2d.unpack(str[start:end]) 00338 _v5 = val1.mapxy 00339 _x = _v5 00340 start = end 00341 end += 12 00342 (_x.x, _x.y, _x.z,) = _struct_3f.unpack(str[start:end]) 00343 _v6 = val1.id 00344 _x = _v6 00345 start = end 00346 end += 6 00347 (_x.seg, _x.lane, _x.pt,) = _struct_3H.unpack(str[start:end]) 00348 _x = val1 00349 start = end 00350 end += 17 00351 (_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width,) = _struct_H7Bif.unpack(str[start:end]) 00352 val1.is_entry = bool(val1.is_entry) 00353 val1.is_exit = bool(val1.is_exit) 00354 val1.is_goal = bool(val1.is_goal) 00355 val1.is_lane_change = bool(val1.is_lane_change) 00356 val1.is_spot = bool(val1.is_spot) 00357 val1.is_stop = bool(val1.is_stop) 00358 val1.is_perimeter = bool(val1.is_perimeter) 00359 self.last_order.waypt.append(val1) 00360 self.last_order.chkpt = [] 00361 for i in range(0, 2): 00362 val1 = art_msgs.msg.WayPoint() 00363 _x = val1 00364 start = end 00365 end += 16 00366 (_x.latitude, _x.longitude,) = _struct_2d.unpack(str[start:end]) 00367 _v7 = val1.mapxy 00368 _x = _v7 00369 start = end 00370 end += 12 00371 (_x.x, _x.y, _x.z,) = _struct_3f.unpack(str[start:end]) 00372 _v8 = val1.id 00373 _x = _v8 00374 start = end 00375 end += 6 00376 (_x.seg, _x.lane, _x.pt,) = _struct_3H.unpack(str[start:end]) 00377 _x = val1 00378 start = end 00379 end += 17 00380 (_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width,) = _struct_H7Bif.unpack(str[start:end]) 00381 val1.is_entry = bool(val1.is_entry) 00382 val1.is_exit = bool(val1.is_exit) 00383 val1.is_goal = bool(val1.is_goal) 00384 val1.is_lane_change = bool(val1.is_lane_change) 00385 val1.is_spot = bool(val1.is_spot) 00386 val1.is_stop = bool(val1.is_stop) 00387 val1.is_perimeter = bool(val1.is_perimeter) 00388 self.last_order.chkpt.append(val1) 00389 _x = self 00390 start = end 00391 end += 16 00392 (_x.last_order.min_speed, _x.last_order.max_speed, _x.last_order.replan_num, _x.last_order.next_uturn,) = _struct_2f2i.unpack(str[start:end]) 00393 return self 00394 except struct.error as e: 00395 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00396 00397 00398 def serialize_numpy(self, buff, numpy): 00399 """ 00400 serialize message with numpy array types into buffer 00401 @param buff: buffer 00402 @type buff: StringIO 00403 @param numpy: numpy python module 00404 @type numpy module 00405 """ 00406 try: 00407 _x = self 00408 buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs)) 00409 _x = self.header.frame_id 00410 length = len(_x) 00411 buff.write(struct.pack('<I%ss'%length, length, _x)) 00412 _x = self 00413 buff.write(_struct_8Hi9Bh.pack(_x.estop.state, _x.road.state, _x.last_waypt.seg, _x.last_waypt.lane, _x.last_waypt.pt, _x.replan_waypt.seg, _x.replan_waypt.lane, _x.replan_waypt.pt, _x.cur_poly, _x.alarm, _x.flasher, _x.lane_blocked, _x.road_blocked, _x.reverse, _x.signal_left, _x.signal_right, _x.stopped, _x.have_zones, _x.last_order.behavior.value)) 00414 for val1 in self.last_order.waypt: 00415 _x = val1 00416 buff.write(_struct_2d.pack(_x.latitude, _x.longitude)) 00417 _v9 = val1.mapxy 00418 _x = _v9 00419 buff.write(_struct_3f.pack(_x.x, _x.y, _x.z)) 00420 _v10 = val1.id 00421 _x = _v10 00422 buff.write(_struct_3H.pack(_x.seg, _x.lane, _x.pt)) 00423 _x = val1 00424 buff.write(_struct_H7Bif.pack(_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width)) 00425 for val1 in self.last_order.chkpt: 00426 _x = val1 00427 buff.write(_struct_2d.pack(_x.latitude, _x.longitude)) 00428 _v11 = val1.mapxy 00429 _x = _v11 00430 buff.write(_struct_3f.pack(_x.x, _x.y, _x.z)) 00431 _v12 = val1.id 00432 _x = _v12 00433 buff.write(_struct_3H.pack(_x.seg, _x.lane, _x.pt)) 00434 _x = val1 00435 buff.write(_struct_H7Bif.pack(_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width)) 00436 _x = self 00437 buff.write(_struct_2f2i.pack(_x.last_order.min_speed, _x.last_order.max_speed, _x.last_order.replan_num, _x.last_order.next_uturn)) 00438 except struct.error as se: self._check_types(se) 00439 except TypeError as te: self._check_types(te) 00440 00441 def deserialize_numpy(self, str, numpy): 00442 """ 00443 unpack serialized message in str into this message instance using numpy for array types 00444 @param str: byte array of serialized message 00445 @type str: str 00446 @param numpy: numpy python module 00447 @type numpy: module 00448 """ 00449 try: 00450 if self.header is None: 00451 self.header = std_msgs.msg._Header.Header() 00452 if self.estop is None: 00453 self.estop = art_msgs.msg.EstopState() 00454 if self.road is None: 00455 self.road = art_msgs.msg.RoadState() 00456 if self.last_waypt is None: 00457 self.last_waypt = art_msgs.msg.MapID() 00458 if self.replan_waypt is None: 00459 self.replan_waypt = art_msgs.msg.MapID() 00460 if self.last_order is None: 00461 self.last_order = art_msgs.msg.Order() 00462 end = 0 00463 _x = self 00464 start = end 00465 end += 12 00466 (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end]) 00467 start = end 00468 end += 4 00469 (length,) = _struct_I.unpack(str[start:end]) 00470 start = end 00471 end += length 00472 self.header.frame_id = str[start:end] 00473 _x = self 00474 start = end 00475 end += 31 00476 (_x.estop.state, _x.road.state, _x.last_waypt.seg, _x.last_waypt.lane, _x.last_waypt.pt, _x.replan_waypt.seg, _x.replan_waypt.lane, _x.replan_waypt.pt, _x.cur_poly, _x.alarm, _x.flasher, _x.lane_blocked, _x.road_blocked, _x.reverse, _x.signal_left, _x.signal_right, _x.stopped, _x.have_zones, _x.last_order.behavior.value,) = _struct_8Hi9Bh.unpack(str[start:end]) 00477 self.alarm = bool(self.alarm) 00478 self.flasher = bool(self.flasher) 00479 self.lane_blocked = bool(self.lane_blocked) 00480 self.road_blocked = bool(self.road_blocked) 00481 self.reverse = bool(self.reverse) 00482 self.signal_left = bool(self.signal_left) 00483 self.signal_right = bool(self.signal_right) 00484 self.stopped = bool(self.stopped) 00485 self.have_zones = bool(self.have_zones) 00486 self.last_order.waypt = [] 00487 for i in range(0, 5): 00488 val1 = art_msgs.msg.WayPoint() 00489 _x = val1 00490 start = end 00491 end += 16 00492 (_x.latitude, _x.longitude,) = _struct_2d.unpack(str[start:end]) 00493 _v13 = val1.mapxy 00494 _x = _v13 00495 start = end 00496 end += 12 00497 (_x.x, _x.y, _x.z,) = _struct_3f.unpack(str[start:end]) 00498 _v14 = val1.id 00499 _x = _v14 00500 start = end 00501 end += 6 00502 (_x.seg, _x.lane, _x.pt,) = _struct_3H.unpack(str[start:end]) 00503 _x = val1 00504 start = end 00505 end += 17 00506 (_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width,) = _struct_H7Bif.unpack(str[start:end]) 00507 val1.is_entry = bool(val1.is_entry) 00508 val1.is_exit = bool(val1.is_exit) 00509 val1.is_goal = bool(val1.is_goal) 00510 val1.is_lane_change = bool(val1.is_lane_change) 00511 val1.is_spot = bool(val1.is_spot) 00512 val1.is_stop = bool(val1.is_stop) 00513 val1.is_perimeter = bool(val1.is_perimeter) 00514 self.last_order.waypt.append(val1) 00515 self.last_order.chkpt = [] 00516 for i in range(0, 2): 00517 val1 = art_msgs.msg.WayPoint() 00518 _x = val1 00519 start = end 00520 end += 16 00521 (_x.latitude, _x.longitude,) = _struct_2d.unpack(str[start:end]) 00522 _v15 = val1.mapxy 00523 _x = _v15 00524 start = end 00525 end += 12 00526 (_x.x, _x.y, _x.z,) = _struct_3f.unpack(str[start:end]) 00527 _v16 = val1.id 00528 _x = _v16 00529 start = end 00530 end += 6 00531 (_x.seg, _x.lane, _x.pt,) = _struct_3H.unpack(str[start:end]) 00532 _x = val1 00533 start = end 00534 end += 17 00535 (_x.index, _x.is_entry, _x.is_exit, _x.is_goal, _x.is_lane_change, _x.is_spot, _x.is_stop, _x.is_perimeter, _x.checkpoint_id, _x.lane_width,) = _struct_H7Bif.unpack(str[start:end]) 00536 val1.is_entry = bool(val1.is_entry) 00537 val1.is_exit = bool(val1.is_exit) 00538 val1.is_goal = bool(val1.is_goal) 00539 val1.is_lane_change = bool(val1.is_lane_change) 00540 val1.is_spot = bool(val1.is_spot) 00541 val1.is_stop = bool(val1.is_stop) 00542 val1.is_perimeter = bool(val1.is_perimeter) 00543 self.last_order.chkpt.append(val1) 00544 _x = self 00545 start = end 00546 end += 16 00547 (_x.last_order.min_speed, _x.last_order.max_speed, _x.last_order.replan_num, _x.last_order.next_uturn,) = _struct_2f2i.unpack(str[start:end]) 00548 return self 00549 except struct.error as e: 00550 raise roslib.message.DeserializationError(e) #most likely buffer underfill 00551 00552 _struct_I = roslib.message.struct_I 00553 _struct_8Hi9Bh = struct.Struct("<8Hi9Bh") 00554 _struct_2f2i = struct.Struct("<2f2i") 00555 _struct_H7Bif = struct.Struct("<H7Bif") 00556 _struct_2d = struct.Struct("<2d") 00557 _struct_3I = struct.Struct("<3I") 00558 _struct_3H = struct.Struct("<3H") 00559 _struct_3f = struct.Struct("<3f")