$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-art_vehicle/doc_stacks/2013-03-01_14-08-11.497537/art_vehicle/art_msgs/msg/NavigatorState.msg */ 00002 #ifndef ART_MSGS_MESSAGE_NAVIGATORSTATE_H 00003 #define ART_MSGS_MESSAGE_NAVIGATORSTATE_H 00004 #include <string> 00005 #include <vector> 00006 #include <map> 00007 #include <ostream> 00008 #include "ros/serialization.h" 00009 #include "ros/builtin_message_traits.h" 00010 #include "ros/message_operations.h" 00011 #include "ros/time.h" 00012 00013 #include "ros/macros.h" 00014 00015 #include "ros/assert.h" 00016 00017 #include "std_msgs/Header.h" 00018 #include "art_msgs/EstopState.h" 00019 #include "art_msgs/RoadState.h" 00020 #include "art_msgs/MapID.h" 00021 #include "art_msgs/MapID.h" 00022 #include "art_msgs/Order.h" 00023 00024 namespace art_msgs 00025 { 00026 template <class ContainerAllocator> 00027 struct NavigatorState_ { 00028 typedef NavigatorState_<ContainerAllocator> Type; 00029 00030 NavigatorState_() 00031 : header() 00032 , estop() 00033 , road() 00034 , last_waypt() 00035 , replan_waypt() 00036 , cur_poly(0) 00037 , alarm(false) 00038 , flasher(false) 00039 , lane_blocked(false) 00040 , road_blocked(false) 00041 , reverse(false) 00042 , signal_left(false) 00043 , signal_right(false) 00044 , stopped(false) 00045 , have_zones(false) 00046 , last_order() 00047 { 00048 } 00049 00050 NavigatorState_(const ContainerAllocator& _alloc) 00051 : header(_alloc) 00052 , estop(_alloc) 00053 , road(_alloc) 00054 , last_waypt(_alloc) 00055 , replan_waypt(_alloc) 00056 , cur_poly(0) 00057 , alarm(false) 00058 , flasher(false) 00059 , lane_blocked(false) 00060 , road_blocked(false) 00061 , reverse(false) 00062 , signal_left(false) 00063 , signal_right(false) 00064 , stopped(false) 00065 , have_zones(false) 00066 , last_order(_alloc) 00067 { 00068 } 00069 00070 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00071 ::std_msgs::Header_<ContainerAllocator> header; 00072 00073 typedef ::art_msgs::EstopState_<ContainerAllocator> _estop_type; 00074 ::art_msgs::EstopState_<ContainerAllocator> estop; 00075 00076 typedef ::art_msgs::RoadState_<ContainerAllocator> _road_type; 00077 ::art_msgs::RoadState_<ContainerAllocator> road; 00078 00079 typedef ::art_msgs::MapID_<ContainerAllocator> _last_waypt_type; 00080 ::art_msgs::MapID_<ContainerAllocator> last_waypt; 00081 00082 typedef ::art_msgs::MapID_<ContainerAllocator> _replan_waypt_type; 00083 ::art_msgs::MapID_<ContainerAllocator> replan_waypt; 00084 00085 typedef int32_t _cur_poly_type; 00086 int32_t cur_poly; 00087 00088 typedef uint8_t _alarm_type; 00089 uint8_t alarm; 00090 00091 typedef uint8_t _flasher_type; 00092 uint8_t flasher; 00093 00094 typedef uint8_t _lane_blocked_type; 00095 uint8_t lane_blocked; 00096 00097 typedef uint8_t _road_blocked_type; 00098 uint8_t road_blocked; 00099 00100 typedef uint8_t _reverse_type; 00101 uint8_t reverse; 00102 00103 typedef uint8_t _signal_left_type; 00104 uint8_t signal_left; 00105 00106 typedef uint8_t _signal_right_type; 00107 uint8_t signal_right; 00108 00109 typedef uint8_t _stopped_type; 00110 uint8_t stopped; 00111 00112 typedef uint8_t _have_zones_type; 00113 uint8_t have_zones; 00114 00115 typedef ::art_msgs::Order_<ContainerAllocator> _last_order_type; 00116 ::art_msgs::Order_<ContainerAllocator> last_order; 00117 00118 00119 private: 00120 static const char* __s_getDataType_() { return "art_msgs/NavigatorState"; } 00121 public: 00122 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00123 00124 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00125 00126 private: 00127 static const char* __s_getMD5Sum_() { return "c40e5f1fdc1b82b80af736960035d5c8"; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00130 00131 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00132 00133 private: 00134 static const char* __s_getMessageDefinition_() { return "# navigator state message\n\ 00135 # $Id: NavigatorState.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\ 00136 \n\ 00137 Header header\n\ 00138 \n\ 00139 EstopState estop\n\ 00140 RoadState road\n\ 00141 \n\ 00142 art_msgs/MapID last_waypt # last way-point reached\n\ 00143 art_msgs/MapID replan_waypt # next way-point for replan\n\ 00144 \n\ 00145 int32 cur_poly # current polygon, -1 if none\n\ 00146 \n\ 00147 # status flags\n\ 00148 bool alarm\n\ 00149 bool flasher\n\ 00150 bool lane_blocked\n\ 00151 bool road_blocked\n\ 00152 bool reverse\n\ 00153 bool signal_left\n\ 00154 bool signal_right\n\ 00155 bool stopped\n\ 00156 bool have_zones\n\ 00157 \n\ 00158 Order last_order # last commander order received\n\ 00159 \n\ 00160 ================================================================================\n\ 00161 MSG: std_msgs/Header\n\ 00162 # Standard metadata for higher-level stamped data types.\n\ 00163 # This is generally used to communicate timestamped data \n\ 00164 # in a particular coordinate frame.\n\ 00165 # \n\ 00166 # sequence ID: consecutively increasing ID \n\ 00167 uint32 seq\n\ 00168 #Two-integer timestamp that is expressed as:\n\ 00169 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00170 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00171 # time-handling sugar is provided by the client library\n\ 00172 time stamp\n\ 00173 #Frame this data is associated with\n\ 00174 # 0: no frame\n\ 00175 # 1: global frame\n\ 00176 string frame_id\n\ 00177 \n\ 00178 ================================================================================\n\ 00179 MSG: art_msgs/EstopState\n\ 00180 # Navigator E-stop state values\n\ 00181 # $Id: EstopState.msg 996 2011-02-27 16:07:34Z jack.oquin $\n\ 00182 \n\ 00183 uint16 Pause = 0 # E-stop pause (initial state)\n\ 00184 uint16 Run = 1 # E-stop run enabled\n\ 00185 uint16 Done = 2 # mission finished (disabled)\n\ 00186 uint16 Suspend = 3 # suspend autonomous operation\n\ 00187 uint16 N_states = 4\n\ 00188 \n\ 00189 uint16 state\n\ 00190 \n\ 00191 ================================================================================\n\ 00192 MSG: art_msgs/RoadState\n\ 00193 # Navigator Road state values\n\ 00194 # $Id: RoadState.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\ 00195 \n\ 00196 uint16 Init = 0\n\ 00197 uint16 Block = 1\n\ 00198 uint16 Evade = 2\n\ 00199 uint16 Follow = 3\n\ 00200 uint16 Pass = 4\n\ 00201 uint16 Uturn = 5\n\ 00202 uint16 WaitCross = 6\n\ 00203 uint16 WaitLane = 7\n\ 00204 uint16 WaitPass = 8\n\ 00205 uint16 WaitStop = 9\n\ 00206 uint16 Zone = 10\n\ 00207 uint16 N_states = 11\n\ 00208 \n\ 00209 uint16 state\n\ 00210 \n\ 00211 ================================================================================\n\ 00212 MSG: art_msgs/MapID\n\ 00213 # Road map identifier for segments, lanes and way-points.\n\ 00214 # $Id: MapID.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\ 00215 \n\ 00216 uint16 NULL_ID = 65535\n\ 00217 \n\ 00218 uint16 seg # segment ID\n\ 00219 uint16 lane # lane ID\n\ 00220 uint16 pt # way-point ID\n\ 00221 \n\ 00222 ================================================================================\n\ 00223 MSG: art_msgs/Order\n\ 00224 # commander order for the navigator\n\ 00225 # $Id: Order.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\ 00226 \n\ 00227 uint32 N_WAYPTS = 5 # number of way-points in order\n\ 00228 uint32 N_CHKPTS = 2 # number of checkpoints in order\n\ 00229 \n\ 00230 Behavior behavior # requested behavior\n\ 00231 art_msgs/WayPoint[5] waypt # way-point array\n\ 00232 art_msgs/WayPoint[2] chkpt # next two goal checkpoints\n\ 00233 float32 min_speed # in meters/sec\n\ 00234 float32 max_speed\n\ 00235 int32 replan_num\n\ 00236 int32 next_uturn # Uturn between [1] and [2]\n\ 00237 \n\ 00238 ================================================================================\n\ 00239 MSG: art_msgs/Behavior\n\ 00240 # ART Navigator behaviors (lower numbers have higher priority)\n\ 00241 # $Id: Behavior.msg 996 2011-02-27 16:07:34Z jack.oquin $\n\ 00242 \n\ 00243 # enumerated behavior values\n\ 00244 int16 Abort = 0\n\ 00245 int16 Quit = 1\n\ 00246 int16 Pause = 2\n\ 00247 int16 Run = 3\n\ 00248 int16 Suspend = 4\n\ 00249 int16 Initialize = 5\n\ 00250 int16 Go = 6\n\ 00251 int16 NONE = 7\n\ 00252 int16 N_behaviors = 8\n\ 00253 \n\ 00254 int16 value\n\ 00255 \n\ 00256 ================================================================================\n\ 00257 MSG: art_msgs/WayPoint\n\ 00258 # Way-point attributes\n\ 00259 # $Id: WayPoint.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\ 00260 \n\ 00261 float64 latitude # latitude in degrees\n\ 00262 float64 longitude # longitude in degrees\n\ 00263 geometry_msgs/Point32 mapxy # MapXY position\n\ 00264 MapID id # way-point ID\n\ 00265 uint16 index # parser index of waypoint\n\ 00266 \n\ 00267 # way-point flags\n\ 00268 bool is_entry # lane or zone exit point\n\ 00269 bool is_exit # lane or zone entry point\n\ 00270 bool is_goal # this is a goal checkpoint\n\ 00271 bool is_lane_change # change lanes after here\n\ 00272 bool is_spot # parking spot\n\ 00273 bool is_stop # stop line here\n\ 00274 bool is_perimeter # zone perimeter point\n\ 00275 int32 checkpoint_id # checkpoint ID or zero\n\ 00276 float32 lane_width\n\ 00277 \n\ 00278 ================================================================================\n\ 00279 MSG: geometry_msgs/Point32\n\ 00280 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00281 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00282 # \n\ 00283 # This recommendation is to promote interoperability. \n\ 00284 #\n\ 00285 # This message is designed to take up less space when sending\n\ 00286 # lots of points at once, as in the case of a PointCloud. \n\ 00287 \n\ 00288 float32 x\n\ 00289 float32 y\n\ 00290 float32 z\n\ 00291 "; } 00292 public: 00293 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00294 00295 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00296 00297 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00298 { 00299 ros::serialization::OStream stream(write_ptr, 1000000000); 00300 ros::serialization::serialize(stream, header); 00301 ros::serialization::serialize(stream, estop); 00302 ros::serialization::serialize(stream, road); 00303 ros::serialization::serialize(stream, last_waypt); 00304 ros::serialization::serialize(stream, replan_waypt); 00305 ros::serialization::serialize(stream, cur_poly); 00306 ros::serialization::serialize(stream, alarm); 00307 ros::serialization::serialize(stream, flasher); 00308 ros::serialization::serialize(stream, lane_blocked); 00309 ros::serialization::serialize(stream, road_blocked); 00310 ros::serialization::serialize(stream, reverse); 00311 ros::serialization::serialize(stream, signal_left); 00312 ros::serialization::serialize(stream, signal_right); 00313 ros::serialization::serialize(stream, stopped); 00314 ros::serialization::serialize(stream, have_zones); 00315 ros::serialization::serialize(stream, last_order); 00316 return stream.getData(); 00317 } 00318 00319 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00320 { 00321 ros::serialization::IStream stream(read_ptr, 1000000000); 00322 ros::serialization::deserialize(stream, header); 00323 ros::serialization::deserialize(stream, estop); 00324 ros::serialization::deserialize(stream, road); 00325 ros::serialization::deserialize(stream, last_waypt); 00326 ros::serialization::deserialize(stream, replan_waypt); 00327 ros::serialization::deserialize(stream, cur_poly); 00328 ros::serialization::deserialize(stream, alarm); 00329 ros::serialization::deserialize(stream, flasher); 00330 ros::serialization::deserialize(stream, lane_blocked); 00331 ros::serialization::deserialize(stream, road_blocked); 00332 ros::serialization::deserialize(stream, reverse); 00333 ros::serialization::deserialize(stream, signal_left); 00334 ros::serialization::deserialize(stream, signal_right); 00335 ros::serialization::deserialize(stream, stopped); 00336 ros::serialization::deserialize(stream, have_zones); 00337 ros::serialization::deserialize(stream, last_order); 00338 return stream.getData(); 00339 } 00340 00341 ROS_DEPRECATED virtual uint32_t serializationLength() const 00342 { 00343 uint32_t size = 0; 00344 size += ros::serialization::serializationLength(header); 00345 size += ros::serialization::serializationLength(estop); 00346 size += ros::serialization::serializationLength(road); 00347 size += ros::serialization::serializationLength(last_waypt); 00348 size += ros::serialization::serializationLength(replan_waypt); 00349 size += ros::serialization::serializationLength(cur_poly); 00350 size += ros::serialization::serializationLength(alarm); 00351 size += ros::serialization::serializationLength(flasher); 00352 size += ros::serialization::serializationLength(lane_blocked); 00353 size += ros::serialization::serializationLength(road_blocked); 00354 size += ros::serialization::serializationLength(reverse); 00355 size += ros::serialization::serializationLength(signal_left); 00356 size += ros::serialization::serializationLength(signal_right); 00357 size += ros::serialization::serializationLength(stopped); 00358 size += ros::serialization::serializationLength(have_zones); 00359 size += ros::serialization::serializationLength(last_order); 00360 return size; 00361 } 00362 00363 typedef boost::shared_ptr< ::art_msgs::NavigatorState_<ContainerAllocator> > Ptr; 00364 typedef boost::shared_ptr< ::art_msgs::NavigatorState_<ContainerAllocator> const> ConstPtr; 00365 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00366 }; // struct NavigatorState 00367 typedef ::art_msgs::NavigatorState_<std::allocator<void> > NavigatorState; 00368 00369 typedef boost::shared_ptr< ::art_msgs::NavigatorState> NavigatorStatePtr; 00370 typedef boost::shared_ptr< ::art_msgs::NavigatorState const> NavigatorStateConstPtr; 00371 00372 00373 template<typename ContainerAllocator> 00374 std::ostream& operator<<(std::ostream& s, const ::art_msgs::NavigatorState_<ContainerAllocator> & v) 00375 { 00376 ros::message_operations::Printer< ::art_msgs::NavigatorState_<ContainerAllocator> >::stream(s, "", v); 00377 return s;} 00378 00379 } // namespace art_msgs 00380 00381 namespace ros 00382 { 00383 namespace message_traits 00384 { 00385 template<class ContainerAllocator> struct IsMessage< ::art_msgs::NavigatorState_<ContainerAllocator> > : public TrueType {}; 00386 template<class ContainerAllocator> struct IsMessage< ::art_msgs::NavigatorState_<ContainerAllocator> const> : public TrueType {}; 00387 template<class ContainerAllocator> 00388 struct MD5Sum< ::art_msgs::NavigatorState_<ContainerAllocator> > { 00389 static const char* value() 00390 { 00391 return "c40e5f1fdc1b82b80af736960035d5c8"; 00392 } 00393 00394 static const char* value(const ::art_msgs::NavigatorState_<ContainerAllocator> &) { return value(); } 00395 static const uint64_t static_value1 = 0xc40e5f1fdc1b82b8ULL; 00396 static const uint64_t static_value2 = 0x0af736960035d5c8ULL; 00397 }; 00398 00399 template<class ContainerAllocator> 00400 struct DataType< ::art_msgs::NavigatorState_<ContainerAllocator> > { 00401 static const char* value() 00402 { 00403 return "art_msgs/NavigatorState"; 00404 } 00405 00406 static const char* value(const ::art_msgs::NavigatorState_<ContainerAllocator> &) { return value(); } 00407 }; 00408 00409 template<class ContainerAllocator> 00410 struct Definition< ::art_msgs::NavigatorState_<ContainerAllocator> > { 00411 static const char* value() 00412 { 00413 return "# navigator state message\n\ 00414 # $Id: NavigatorState.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\ 00415 \n\ 00416 Header header\n\ 00417 \n\ 00418 EstopState estop\n\ 00419 RoadState road\n\ 00420 \n\ 00421 art_msgs/MapID last_waypt # last way-point reached\n\ 00422 art_msgs/MapID replan_waypt # next way-point for replan\n\ 00423 \n\ 00424 int32 cur_poly # current polygon, -1 if none\n\ 00425 \n\ 00426 # status flags\n\ 00427 bool alarm\n\ 00428 bool flasher\n\ 00429 bool lane_blocked\n\ 00430 bool road_blocked\n\ 00431 bool reverse\n\ 00432 bool signal_left\n\ 00433 bool signal_right\n\ 00434 bool stopped\n\ 00435 bool have_zones\n\ 00436 \n\ 00437 Order last_order # last commander order received\n\ 00438 \n\ 00439 ================================================================================\n\ 00440 MSG: std_msgs/Header\n\ 00441 # Standard metadata for higher-level stamped data types.\n\ 00442 # This is generally used to communicate timestamped data \n\ 00443 # in a particular coordinate frame.\n\ 00444 # \n\ 00445 # sequence ID: consecutively increasing ID \n\ 00446 uint32 seq\n\ 00447 #Two-integer timestamp that is expressed as:\n\ 00448 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00449 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00450 # time-handling sugar is provided by the client library\n\ 00451 time stamp\n\ 00452 #Frame this data is associated with\n\ 00453 # 0: no frame\n\ 00454 # 1: global frame\n\ 00455 string frame_id\n\ 00456 \n\ 00457 ================================================================================\n\ 00458 MSG: art_msgs/EstopState\n\ 00459 # Navigator E-stop state values\n\ 00460 # $Id: EstopState.msg 996 2011-02-27 16:07:34Z jack.oquin $\n\ 00461 \n\ 00462 uint16 Pause = 0 # E-stop pause (initial state)\n\ 00463 uint16 Run = 1 # E-stop run enabled\n\ 00464 uint16 Done = 2 # mission finished (disabled)\n\ 00465 uint16 Suspend = 3 # suspend autonomous operation\n\ 00466 uint16 N_states = 4\n\ 00467 \n\ 00468 uint16 state\n\ 00469 \n\ 00470 ================================================================================\n\ 00471 MSG: art_msgs/RoadState\n\ 00472 # Navigator Road state values\n\ 00473 # $Id: RoadState.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\ 00474 \n\ 00475 uint16 Init = 0\n\ 00476 uint16 Block = 1\n\ 00477 uint16 Evade = 2\n\ 00478 uint16 Follow = 3\n\ 00479 uint16 Pass = 4\n\ 00480 uint16 Uturn = 5\n\ 00481 uint16 WaitCross = 6\n\ 00482 uint16 WaitLane = 7\n\ 00483 uint16 WaitPass = 8\n\ 00484 uint16 WaitStop = 9\n\ 00485 uint16 Zone = 10\n\ 00486 uint16 N_states = 11\n\ 00487 \n\ 00488 uint16 state\n\ 00489 \n\ 00490 ================================================================================\n\ 00491 MSG: art_msgs/MapID\n\ 00492 # Road map identifier for segments, lanes and way-points.\n\ 00493 # $Id: MapID.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\ 00494 \n\ 00495 uint16 NULL_ID = 65535\n\ 00496 \n\ 00497 uint16 seg # segment ID\n\ 00498 uint16 lane # lane ID\n\ 00499 uint16 pt # way-point ID\n\ 00500 \n\ 00501 ================================================================================\n\ 00502 MSG: art_msgs/Order\n\ 00503 # commander order for the navigator\n\ 00504 # $Id: Order.msg 615 2010-09-24 16:07:50Z jack.oquin $\n\ 00505 \n\ 00506 uint32 N_WAYPTS = 5 # number of way-points in order\n\ 00507 uint32 N_CHKPTS = 2 # number of checkpoints in order\n\ 00508 \n\ 00509 Behavior behavior # requested behavior\n\ 00510 art_msgs/WayPoint[5] waypt # way-point array\n\ 00511 art_msgs/WayPoint[2] chkpt # next two goal checkpoints\n\ 00512 float32 min_speed # in meters/sec\n\ 00513 float32 max_speed\n\ 00514 int32 replan_num\n\ 00515 int32 next_uturn # Uturn between [1] and [2]\n\ 00516 \n\ 00517 ================================================================================\n\ 00518 MSG: art_msgs/Behavior\n\ 00519 # ART Navigator behaviors (lower numbers have higher priority)\n\ 00520 # $Id: Behavior.msg 996 2011-02-27 16:07:34Z jack.oquin $\n\ 00521 \n\ 00522 # enumerated behavior values\n\ 00523 int16 Abort = 0\n\ 00524 int16 Quit = 1\n\ 00525 int16 Pause = 2\n\ 00526 int16 Run = 3\n\ 00527 int16 Suspend = 4\n\ 00528 int16 Initialize = 5\n\ 00529 int16 Go = 6\n\ 00530 int16 NONE = 7\n\ 00531 int16 N_behaviors = 8\n\ 00532 \n\ 00533 int16 value\n\ 00534 \n\ 00535 ================================================================================\n\ 00536 MSG: art_msgs/WayPoint\n\ 00537 # Way-point attributes\n\ 00538 # $Id: WayPoint.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\ 00539 \n\ 00540 float64 latitude # latitude in degrees\n\ 00541 float64 longitude # longitude in degrees\n\ 00542 geometry_msgs/Point32 mapxy # MapXY position\n\ 00543 MapID id # way-point ID\n\ 00544 uint16 index # parser index of waypoint\n\ 00545 \n\ 00546 # way-point flags\n\ 00547 bool is_entry # lane or zone exit point\n\ 00548 bool is_exit # lane or zone entry point\n\ 00549 bool is_goal # this is a goal checkpoint\n\ 00550 bool is_lane_change # change lanes after here\n\ 00551 bool is_spot # parking spot\n\ 00552 bool is_stop # stop line here\n\ 00553 bool is_perimeter # zone perimeter point\n\ 00554 int32 checkpoint_id # checkpoint ID or zero\n\ 00555 float32 lane_width\n\ 00556 \n\ 00557 ================================================================================\n\ 00558 MSG: geometry_msgs/Point32\n\ 00559 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00560 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00561 # \n\ 00562 # This recommendation is to promote interoperability. \n\ 00563 #\n\ 00564 # This message is designed to take up less space when sending\n\ 00565 # lots of points at once, as in the case of a PointCloud. \n\ 00566 \n\ 00567 float32 x\n\ 00568 float32 y\n\ 00569 float32 z\n\ 00570 "; 00571 } 00572 00573 static const char* value(const ::art_msgs::NavigatorState_<ContainerAllocator> &) { return value(); } 00574 }; 00575 00576 template<class ContainerAllocator> struct HasHeader< ::art_msgs::NavigatorState_<ContainerAllocator> > : public TrueType {}; 00577 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::NavigatorState_<ContainerAllocator> > : public TrueType {}; 00578 } // namespace message_traits 00579 } // namespace ros 00580 00581 namespace ros 00582 { 00583 namespace serialization 00584 { 00585 00586 template<class ContainerAllocator> struct Serializer< ::art_msgs::NavigatorState_<ContainerAllocator> > 00587 { 00588 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00589 { 00590 stream.next(m.header); 00591 stream.next(m.estop); 00592 stream.next(m.road); 00593 stream.next(m.last_waypt); 00594 stream.next(m.replan_waypt); 00595 stream.next(m.cur_poly); 00596 stream.next(m.alarm); 00597 stream.next(m.flasher); 00598 stream.next(m.lane_blocked); 00599 stream.next(m.road_blocked); 00600 stream.next(m.reverse); 00601 stream.next(m.signal_left); 00602 stream.next(m.signal_right); 00603 stream.next(m.stopped); 00604 stream.next(m.have_zones); 00605 stream.next(m.last_order); 00606 } 00607 00608 ROS_DECLARE_ALLINONE_SERIALIZER; 00609 }; // struct NavigatorState_ 00610 } // namespace serialization 00611 } // namespace ros 00612 00613 namespace ros 00614 { 00615 namespace message_operations 00616 { 00617 00618 template<class ContainerAllocator> 00619 struct Printer< ::art_msgs::NavigatorState_<ContainerAllocator> > 00620 { 00621 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::art_msgs::NavigatorState_<ContainerAllocator> & v) 00622 { 00623 s << indent << "header: "; 00624 s << std::endl; 00625 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00626 s << indent << "estop: "; 00627 s << std::endl; 00628 Printer< ::art_msgs::EstopState_<ContainerAllocator> >::stream(s, indent + " ", v.estop); 00629 s << indent << "road: "; 00630 s << std::endl; 00631 Printer< ::art_msgs::RoadState_<ContainerAllocator> >::stream(s, indent + " ", v.road); 00632 s << indent << "last_waypt: "; 00633 s << std::endl; 00634 Printer< ::art_msgs::MapID_<ContainerAllocator> >::stream(s, indent + " ", v.last_waypt); 00635 s << indent << "replan_waypt: "; 00636 s << std::endl; 00637 Printer< ::art_msgs::MapID_<ContainerAllocator> >::stream(s, indent + " ", v.replan_waypt); 00638 s << indent << "cur_poly: "; 00639 Printer<int32_t>::stream(s, indent + " ", v.cur_poly); 00640 s << indent << "alarm: "; 00641 Printer<uint8_t>::stream(s, indent + " ", v.alarm); 00642 s << indent << "flasher: "; 00643 Printer<uint8_t>::stream(s, indent + " ", v.flasher); 00644 s << indent << "lane_blocked: "; 00645 Printer<uint8_t>::stream(s, indent + " ", v.lane_blocked); 00646 s << indent << "road_blocked: "; 00647 Printer<uint8_t>::stream(s, indent + " ", v.road_blocked); 00648 s << indent << "reverse: "; 00649 Printer<uint8_t>::stream(s, indent + " ", v.reverse); 00650 s << indent << "signal_left: "; 00651 Printer<uint8_t>::stream(s, indent + " ", v.signal_left); 00652 s << indent << "signal_right: "; 00653 Printer<uint8_t>::stream(s, indent + " ", v.signal_right); 00654 s << indent << "stopped: "; 00655 Printer<uint8_t>::stream(s, indent + " ", v.stopped); 00656 s << indent << "have_zones: "; 00657 Printer<uint8_t>::stream(s, indent + " ", v.have_zones); 00658 s << indent << "last_order: "; 00659 s << std::endl; 00660 Printer< ::art_msgs::Order_<ContainerAllocator> >::stream(s, indent + " ", v.last_order); 00661 } 00662 }; 00663 00664 00665 } // namespace message_operations 00666 } // namespace ros 00667 00668 #endif // ART_MSGS_MESSAGE_NAVIGATORSTATE_H 00669