CarCommand.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/CarCommand.msg */
00002 #ifndef ART_MSGS_MESSAGE_CARCOMMAND_H
00003 #define ART_MSGS_MESSAGE_CARCOMMAND_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/CarControl.h"
00019 
00020 namespace art_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct CarCommand_ {
00024   typedef CarCommand_<ContainerAllocator> Type;
00025 
00026   CarCommand_()
00027   : header()
00028   , control()
00029   {
00030   }
00031 
00032   CarCommand_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , control(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef  ::art_msgs::CarControl_<ContainerAllocator>  _control_type;
00042    ::art_msgs::CarControl_<ContainerAllocator>  control;
00043 
00044 
00045   typedef boost::shared_ptr< ::art_msgs::CarCommand_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::art_msgs::CarCommand_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct CarCommand
00049 typedef  ::art_msgs::CarCommand_<std::allocator<void> > CarCommand;
00050 
00051 typedef boost::shared_ptr< ::art_msgs::CarCommand> CarCommandPtr;
00052 typedef boost::shared_ptr< ::art_msgs::CarCommand const> CarCommandConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::CarCommand_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::art_msgs::CarCommand_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace art_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::art_msgs::CarCommand_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::art_msgs::CarCommand_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::art_msgs::CarCommand_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "a9c426b2a11ce63f7116e941449a149d";
00074   }
00075 
00076   static const char* value(const  ::art_msgs::CarCommand_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xa9c426b2a11ce63fULL;
00078   static const uint64_t static_value2 = 0x7116e941449a149dULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::art_msgs::CarCommand_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "art_msgs/CarCommand";
00086   }
00087 
00088   static const char* value(const  ::art_msgs::CarCommand_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::art_msgs::CarCommand_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# car control command with timestamp\n\
00096 # $Id: CarCommand.msg 1161 2011-03-26 02:10:49Z jack.oquin $\n\
00097 \n\
00098 Header     header\n\
00099 CarControl control\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: std_msgs/Header\n\
00103 # Standard metadata for higher-level stamped data types.\n\
00104 # This is generally used to communicate timestamped data \n\
00105 # in a particular coordinate frame.\n\
00106 # \n\
00107 # sequence ID: consecutively increasing ID \n\
00108 uint32 seq\n\
00109 #Two-integer timestamp that is expressed as:\n\
00110 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00111 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00112 # time-handling sugar is provided by the client library\n\
00113 time stamp\n\
00114 #Frame this data is associated with\n\
00115 # 0: no frame\n\
00116 # 1: global frame\n\
00117 string frame_id\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: art_msgs/CarControl\n\
00121 # car control command\n\
00122 # $Id: CarControl.msg 1161 2011-03-26 02:10:49Z jack.oquin $\n\
00123 \n\
00124 float32 velocity                # forward velocity (m/s), negative is reverse\n\
00125 float32 angle                   # steering angle (degrees)\n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::art_msgs::CarCommand_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 template<class ContainerAllocator> struct HasHeader< ::art_msgs::CarCommand_<ContainerAllocator> > : public TrueType {};
00134 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::CarCommand_<ContainerAllocator> > : public TrueType {};
00135 } // namespace message_traits
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace serialization
00141 {
00142 
00143 template<class ContainerAllocator> struct Serializer< ::art_msgs::CarCommand_<ContainerAllocator> >
00144 {
00145   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00146   {
00147     stream.next(m.header);
00148     stream.next(m.control);
00149   }
00150 
00151   ROS_DECLARE_ALLINONE_SERIALIZER;
00152 }; // struct CarCommand_
00153 } // namespace serialization
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace message_operations
00159 {
00160 
00161 template<class ContainerAllocator>
00162 struct Printer< ::art_msgs::CarCommand_<ContainerAllocator> >
00163 {
00164   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::CarCommand_<ContainerAllocator> & v) 
00165   {
00166     s << indent << "header: ";
00167 s << std::endl;
00168     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00169     s << indent << "control: ";
00170 s << std::endl;
00171     Printer< ::art_msgs::CarControl_<ContainerAllocator> >::stream(s, indent + "  ", v.control);
00172   }
00173 };
00174 
00175 
00176 } // namespace message_operations
00177 } // namespace ros
00178 
00179 #endif // ART_MSGS_MESSAGE_CARCOMMAND_H
00180 
 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:45