WayPoint.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-art_vehicle/doc_stacks/2013-09-24_10-35-44.297713/art_vehicle/art_msgs/msg/WayPoint.msg */
00002 #ifndef ART_MSGS_MESSAGE_WAYPOINT_H
00003 #define ART_MSGS_MESSAGE_WAYPOINT_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 "geometry_msgs/Point32.h"
00018 #include "art_msgs/MapID.h"
00019 
00020 namespace art_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct WayPoint_ {
00024   typedef WayPoint_<ContainerAllocator> Type;
00025 
00026   WayPoint_()
00027   : latitude(0.0)
00028   , longitude(0.0)
00029   , mapxy()
00030   , id()
00031   , index(0)
00032   , is_entry(false)
00033   , is_exit(false)
00034   , is_goal(false)
00035   , is_lane_change(false)
00036   , is_spot(false)
00037   , is_stop(false)
00038   , is_perimeter(false)
00039   , checkpoint_id(0)
00040   , lane_width(0.0)
00041   {
00042   }
00043 
00044   WayPoint_(const ContainerAllocator& _alloc)
00045   : latitude(0.0)
00046   , longitude(0.0)
00047   , mapxy(_alloc)
00048   , id(_alloc)
00049   , index(0)
00050   , is_entry(false)
00051   , is_exit(false)
00052   , is_goal(false)
00053   , is_lane_change(false)
00054   , is_spot(false)
00055   , is_stop(false)
00056   , is_perimeter(false)
00057   , checkpoint_id(0)
00058   , lane_width(0.0)
00059   {
00060   }
00061 
00062   typedef double _latitude_type;
00063   double latitude;
00064 
00065   typedef double _longitude_type;
00066   double longitude;
00067 
00068   typedef  ::geometry_msgs::Point32_<ContainerAllocator>  _mapxy_type;
00069    ::geometry_msgs::Point32_<ContainerAllocator>  mapxy;
00070 
00071   typedef  ::art_msgs::MapID_<ContainerAllocator>  _id_type;
00072    ::art_msgs::MapID_<ContainerAllocator>  id;
00073 
00074   typedef uint16_t _index_type;
00075   uint16_t index;
00076 
00077   typedef uint8_t _is_entry_type;
00078   uint8_t is_entry;
00079 
00080   typedef uint8_t _is_exit_type;
00081   uint8_t is_exit;
00082 
00083   typedef uint8_t _is_goal_type;
00084   uint8_t is_goal;
00085 
00086   typedef uint8_t _is_lane_change_type;
00087   uint8_t is_lane_change;
00088 
00089   typedef uint8_t _is_spot_type;
00090   uint8_t is_spot;
00091 
00092   typedef uint8_t _is_stop_type;
00093   uint8_t is_stop;
00094 
00095   typedef uint8_t _is_perimeter_type;
00096   uint8_t is_perimeter;
00097 
00098   typedef int32_t _checkpoint_id_type;
00099   int32_t checkpoint_id;
00100 
00101   typedef float _lane_width_type;
00102   float lane_width;
00103 
00104 
00105   typedef boost::shared_ptr< ::art_msgs::WayPoint_<ContainerAllocator> > Ptr;
00106   typedef boost::shared_ptr< ::art_msgs::WayPoint_<ContainerAllocator>  const> ConstPtr;
00107   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00108 }; // struct WayPoint
00109 typedef  ::art_msgs::WayPoint_<std::allocator<void> > WayPoint;
00110 
00111 typedef boost::shared_ptr< ::art_msgs::WayPoint> WayPointPtr;
00112 typedef boost::shared_ptr< ::art_msgs::WayPoint const> WayPointConstPtr;
00113 
00114 
00115 template<typename ContainerAllocator>
00116 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::WayPoint_<ContainerAllocator> & v)
00117 {
00118   ros::message_operations::Printer< ::art_msgs::WayPoint_<ContainerAllocator> >::stream(s, "", v);
00119   return s;}
00120 
00121 } // namespace art_msgs
00122 
00123 namespace ros
00124 {
00125 namespace message_traits
00126 {
00127 template<class ContainerAllocator> struct IsMessage< ::art_msgs::WayPoint_<ContainerAllocator> > : public TrueType {};
00128 template<class ContainerAllocator> struct IsMessage< ::art_msgs::WayPoint_<ContainerAllocator>  const> : public TrueType {};
00129 template<class ContainerAllocator>
00130 struct MD5Sum< ::art_msgs::WayPoint_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "93d7bd4ade2e33f8e836f5cd46c71e50";
00134   }
00135 
00136   static const char* value(const  ::art_msgs::WayPoint_<ContainerAllocator> &) { return value(); } 
00137   static const uint64_t static_value1 = 0x93d7bd4ade2e33f8ULL;
00138   static const uint64_t static_value2 = 0xe836f5cd46c71e50ULL;
00139 };
00140 
00141 template<class ContainerAllocator>
00142 struct DataType< ::art_msgs::WayPoint_<ContainerAllocator> > {
00143   static const char* value() 
00144   {
00145     return "art_msgs/WayPoint";
00146   }
00147 
00148   static const char* value(const  ::art_msgs::WayPoint_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 template<class ContainerAllocator>
00152 struct Definition< ::art_msgs::WayPoint_<ContainerAllocator> > {
00153   static const char* value() 
00154   {
00155     return "# Way-point attributes\n\
00156 # $Id: WayPoint.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00157 \n\
00158 float64 latitude                        # latitude in degrees\n\
00159 float64 longitude                       # longitude in degrees\n\
00160 geometry_msgs/Point32 mapxy             # MapXY position\n\
00161 MapID id                                # way-point ID\n\
00162 uint16 index                            # parser index of waypoint\n\
00163 \n\
00164 # way-point flags\n\
00165 bool is_entry                           # lane or zone exit point\n\
00166 bool is_exit                            # lane or zone entry point\n\
00167 bool is_goal                            # this is a goal checkpoint\n\
00168 bool is_lane_change                     # change lanes after here\n\
00169 bool is_spot                            # parking spot\n\
00170 bool is_stop                            # stop line here\n\
00171 bool is_perimeter                       # zone perimeter point\n\
00172 int32 checkpoint_id                     # checkpoint ID or zero\n\
00173 float32 lane_width\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: geometry_msgs/Point32\n\
00177 # This contains the position of a point in free space(with 32 bits of precision).\n\
00178 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00179 # \n\
00180 # This recommendation is to promote interoperability.  \n\
00181 #\n\
00182 # This message is designed to take up less space when sending\n\
00183 # lots of points at once, as in the case of a PointCloud.  \n\
00184 \n\
00185 float32 x\n\
00186 float32 y\n\
00187 float32 z\n\
00188 ================================================================================\n\
00189 MSG: art_msgs/MapID\n\
00190 # Road map identifier for segments, lanes and way-points.\n\
00191 # $Id: MapID.msg 614 2010-09-24 15:08:46Z jack.oquin $\n\
00192 \n\
00193 uint16 NULL_ID = 65535\n\
00194 \n\
00195 uint16 seg      # segment ID\n\
00196 uint16 lane     # lane ID\n\
00197 uint16 pt       # way-point ID\n\
00198 \n\
00199 ";
00200   }
00201 
00202   static const char* value(const  ::art_msgs::WayPoint_<ContainerAllocator> &) { return value(); } 
00203 };
00204 
00205 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::WayPoint_<ContainerAllocator> > : public TrueType {};
00206 } // namespace message_traits
00207 } // namespace ros
00208 
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213 
00214 template<class ContainerAllocator> struct Serializer< ::art_msgs::WayPoint_<ContainerAllocator> >
00215 {
00216   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217   {
00218     stream.next(m.latitude);
00219     stream.next(m.longitude);
00220     stream.next(m.mapxy);
00221     stream.next(m.id);
00222     stream.next(m.index);
00223     stream.next(m.is_entry);
00224     stream.next(m.is_exit);
00225     stream.next(m.is_goal);
00226     stream.next(m.is_lane_change);
00227     stream.next(m.is_spot);
00228     stream.next(m.is_stop);
00229     stream.next(m.is_perimeter);
00230     stream.next(m.checkpoint_id);
00231     stream.next(m.lane_width);
00232   }
00233 
00234   ROS_DECLARE_ALLINONE_SERIALIZER;
00235 }; // struct WayPoint_
00236 } // namespace serialization
00237 } // namespace ros
00238 
00239 namespace ros
00240 {
00241 namespace message_operations
00242 {
00243 
00244 template<class ContainerAllocator>
00245 struct Printer< ::art_msgs::WayPoint_<ContainerAllocator> >
00246 {
00247   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::WayPoint_<ContainerAllocator> & v) 
00248   {
00249     s << indent << "latitude: ";
00250     Printer<double>::stream(s, indent + "  ", v.latitude);
00251     s << indent << "longitude: ";
00252     Printer<double>::stream(s, indent + "  ", v.longitude);
00253     s << indent << "mapxy: ";
00254 s << std::endl;
00255     Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + "  ", v.mapxy);
00256     s << indent << "id: ";
00257 s << std::endl;
00258     Printer< ::art_msgs::MapID_<ContainerAllocator> >::stream(s, indent + "  ", v.id);
00259     s << indent << "index: ";
00260     Printer<uint16_t>::stream(s, indent + "  ", v.index);
00261     s << indent << "is_entry: ";
00262     Printer<uint8_t>::stream(s, indent + "  ", v.is_entry);
00263     s << indent << "is_exit: ";
00264     Printer<uint8_t>::stream(s, indent + "  ", v.is_exit);
00265     s << indent << "is_goal: ";
00266     Printer<uint8_t>::stream(s, indent + "  ", v.is_goal);
00267     s << indent << "is_lane_change: ";
00268     Printer<uint8_t>::stream(s, indent + "  ", v.is_lane_change);
00269     s << indent << "is_spot: ";
00270     Printer<uint8_t>::stream(s, indent + "  ", v.is_spot);
00271     s << indent << "is_stop: ";
00272     Printer<uint8_t>::stream(s, indent + "  ", v.is_stop);
00273     s << indent << "is_perimeter: ";
00274     Printer<uint8_t>::stream(s, indent + "  ", v.is_perimeter);
00275     s << indent << "checkpoint_id: ";
00276     Printer<int32_t>::stream(s, indent + "  ", v.checkpoint_id);
00277     s << indent << "lane_width: ";
00278     Printer<float>::stream(s, indent + "  ", v.lane_width);
00279   }
00280 };
00281 
00282 
00283 } // namespace message_operations
00284 } // namespace ros
00285 
00286 #endif // ART_MSGS_MESSAGE_WAYPOINT_H
00287 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


art_msgs
Author(s): Jack O'Quin
autogenerated on Tue Sep 24 2013 10:40:46