SteeringState.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/SteeringState.msg */
00002 #ifndef ART_MSGS_MESSAGE_STEERINGSTATE_H
00003 #define ART_MSGS_MESSAGE_STEERINGSTATE_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/DriverState.h"
00019 
00020 namespace art_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct SteeringState_ {
00024   typedef SteeringState_<ContainerAllocator> Type;
00025 
00026   SteeringState_()
00027   : header()
00028   , driver()
00029   , angle(0.0)
00030   , sensor(0.0)
00031   {
00032   }
00033 
00034   SteeringState_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , driver(_alloc)
00037   , angle(0.0)
00038   , sensor(0.0)
00039   {
00040   }
00041 
00042   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00043    ::std_msgs::Header_<ContainerAllocator>  header;
00044 
00045   typedef  ::art_msgs::DriverState_<ContainerAllocator>  _driver_type;
00046    ::art_msgs::DriverState_<ContainerAllocator>  driver;
00047 
00048   typedef float _angle_type;
00049   float angle;
00050 
00051   typedef float _sensor_type;
00052   float sensor;
00053 
00054 
00055   typedef boost::shared_ptr< ::art_msgs::SteeringState_<ContainerAllocator> > Ptr;
00056   typedef boost::shared_ptr< ::art_msgs::SteeringState_<ContainerAllocator>  const> ConstPtr;
00057   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 }; // struct SteeringState
00059 typedef  ::art_msgs::SteeringState_<std::allocator<void> > SteeringState;
00060 
00061 typedef boost::shared_ptr< ::art_msgs::SteeringState> SteeringStatePtr;
00062 typedef boost::shared_ptr< ::art_msgs::SteeringState const> SteeringStateConstPtr;
00063 
00064 
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::SteeringState_<ContainerAllocator> & v)
00067 {
00068   ros::message_operations::Printer< ::art_msgs::SteeringState_<ContainerAllocator> >::stream(s, "", v);
00069   return s;}
00070 
00071 } // namespace art_msgs
00072 
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::art_msgs::SteeringState_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::art_msgs::SteeringState_<ContainerAllocator>  const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::art_msgs::SteeringState_<ContainerAllocator> > {
00081   static const char* value() 
00082   {
00083     return "7bf11da138f80579d285d99bea47f6d3";
00084   }
00085 
00086   static const char* value(const  ::art_msgs::SteeringState_<ContainerAllocator> &) { return value(); } 
00087   static const uint64_t static_value1 = 0x7bf11da138f80579ULL;
00088   static const uint64_t static_value2 = 0xd285d99bea47f6d3ULL;
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct DataType< ::art_msgs::SteeringState_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "art_msgs/SteeringState";
00096   }
00097 
00098   static const char* value(const  ::art_msgs::SteeringState_<ContainerAllocator> &) { return value(); } 
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct Definition< ::art_msgs::SteeringState_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "# ART steering controller state message\n\
00106 \n\
00107 # $Id: SteeringState.msg 1161 2011-03-26 02:10:49Z jack.oquin $\n\
00108 \n\
00109 Header  header\n\
00110 \n\
00111 DriverState driver              # driver state\n\
00112 float32 angle                   # steering angle in degrees\n\
00113 float32 sensor                  # steering sensor voltage\n\
00114 \n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: std_msgs/Header\n\
00118 # Standard metadata for higher-level stamped data types.\n\
00119 # This is generally used to communicate timestamped data \n\
00120 # in a particular coordinate frame.\n\
00121 # \n\
00122 # sequence ID: consecutively increasing ID \n\
00123 uint32 seq\n\
00124 #Two-integer timestamp that is expressed as:\n\
00125 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00126 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00127 # time-handling sugar is provided by the client library\n\
00128 time stamp\n\
00129 #Frame this data is associated with\n\
00130 # 0: no frame\n\
00131 # 1: global frame\n\
00132 string frame_id\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: art_msgs/DriverState\n\
00136 # ART driver states -- similar to those in driver_base.\n\
00137 \n\
00138 # $Id: DriverState.msg 1161 2011-03-26 02:10:49Z jack.oquin $\n\
00139 \n\
00140 # constants\n\
00141 uint32 CLOSED = 0       # Not connected to the hardware\n\
00142 uint32 OPENED = 1       # Passively connected to the hardware\n\
00143 uint32 RUNNING = 2      # Sending hardware commands\n\
00144 \n\
00145 uint32 state\n\
00146 \n\
00147 ";
00148   }
00149 
00150   static const char* value(const  ::art_msgs::SteeringState_<ContainerAllocator> &) { return value(); } 
00151 };
00152 
00153 template<class ContainerAllocator> struct HasHeader< ::art_msgs::SteeringState_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::SteeringState_<ContainerAllocator> > : public TrueType {};
00155 } // namespace message_traits
00156 } // namespace ros
00157 
00158 namespace ros
00159 {
00160 namespace serialization
00161 {
00162 
00163 template<class ContainerAllocator> struct Serializer< ::art_msgs::SteeringState_<ContainerAllocator> >
00164 {
00165   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00166   {
00167     stream.next(m.header);
00168     stream.next(m.driver);
00169     stream.next(m.angle);
00170     stream.next(m.sensor);
00171   }
00172 
00173   ROS_DECLARE_ALLINONE_SERIALIZER;
00174 }; // struct SteeringState_
00175 } // namespace serialization
00176 } // namespace ros
00177 
00178 namespace ros
00179 {
00180 namespace message_operations
00181 {
00182 
00183 template<class ContainerAllocator>
00184 struct Printer< ::art_msgs::SteeringState_<ContainerAllocator> >
00185 {
00186   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::SteeringState_<ContainerAllocator> & v) 
00187   {
00188     s << indent << "header: ";
00189 s << std::endl;
00190     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00191     s << indent << "driver: ";
00192 s << std::endl;
00193     Printer< ::art_msgs::DriverState_<ContainerAllocator> >::stream(s, indent + "  ", v.driver);
00194     s << indent << "angle: ";
00195     Printer<float>::stream(s, indent + "  ", v.angle);
00196     s << indent << "sensor: ";
00197     Printer<float>::stream(s, indent + "  ", v.sensor);
00198   }
00199 };
00200 
00201 
00202 } // namespace message_operations
00203 } // namespace ros
00204 
00205 #endif // ART_MSGS_MESSAGE_STEERINGSTATE_H
00206 
 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