SteeringDiagnostics.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-art_vehicle/doc_stacks/2014-01-03_11-05-32.392273/art_vehicle/art_msgs/msg/SteeringDiagnostics.msg */
00002 #ifndef ART_MSGS_MESSAGE_STEERINGDIAGNOSTICS_H
00003 #define ART_MSGS_MESSAGE_STEERINGDIAGNOSTICS_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 
00019 namespace art_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SteeringDiagnostics_ {
00023   typedef SteeringDiagnostics_<ContainerAllocator> Type;
00024 
00025   SteeringDiagnostics_()
00026   : header()
00027   , encoder(0)
00028   , last_request(0)
00029   , center_ticks(0)
00030   , status_word(0)
00031   {
00032   }
00033 
00034   SteeringDiagnostics_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , encoder(0)
00037   , last_request(0)
00038   , center_ticks(0)
00039   , status_word(0)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   typedef int32_t _encoder_type;
00047   int32_t encoder;
00048 
00049   typedef int32_t _last_request_type;
00050   int32_t last_request;
00051 
00052   typedef int32_t _center_ticks_type;
00053   int32_t center_ticks;
00054 
00055   typedef uint16_t _status_word_type;
00056   uint16_t status_word;
00057 
00058 
00059   typedef boost::shared_ptr< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::art_msgs::SteeringDiagnostics_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct SteeringDiagnostics
00063 typedef  ::art_msgs::SteeringDiagnostics_<std::allocator<void> > SteeringDiagnostics;
00064 
00065 typedef boost::shared_ptr< ::art_msgs::SteeringDiagnostics> SteeringDiagnosticsPtr;
00066 typedef boost::shared_ptr< ::art_msgs::SteeringDiagnostics const> SteeringDiagnosticsConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::SteeringDiagnostics_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace art_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::art_msgs::SteeringDiagnostics_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "5dbe64bbef789e785f8333e897956d94";
00088   }
00089 
00090   static const char* value(const  ::art_msgs::SteeringDiagnostics_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x5dbe64bbef789e78ULL;
00092   static const uint64_t static_value2 = 0x5f8333e897956d94ULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "art_msgs/SteeringDiagnostics";
00100   }
00101 
00102   static const char* value(const  ::art_msgs::SteeringDiagnostics_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "# ART steering controller diagnostics message\n\
00110 \n\
00111 # This message contains data not needed for normal operation of the\n\
00112 # device, but useful for diagnosing problems with it.\n\
00113 \n\
00114 # $Id: SteeringDiagnostics.msg 1011 2011-03-03 00:30:42Z jack.oquin $\n\
00115 \n\
00116 Header  header\n\
00117 \n\
00118 int32 encoder                   # current reported encoder value\n\
00119 int32 last_request              # last requested encoder value\n\
00120 int32 center_ticks              # initial center encoder value\n\
00121 uint16 status_word              # current internal status\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: std_msgs/Header\n\
00125 # Standard metadata for higher-level stamped data types.\n\
00126 # This is generally used to communicate timestamped data \n\
00127 # in a particular coordinate frame.\n\
00128 # \n\
00129 # sequence ID: consecutively increasing ID \n\
00130 uint32 seq\n\
00131 #Two-integer timestamp that is expressed as:\n\
00132 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00133 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00134 # time-handling sugar is provided by the client library\n\
00135 time stamp\n\
00136 #Frame this data is associated with\n\
00137 # 0: no frame\n\
00138 # 1: global frame\n\
00139 string frame_id\n\
00140 \n\
00141 ";
00142   }
00143 
00144   static const char* value(const  ::art_msgs::SteeringDiagnostics_<ContainerAllocator> &) { return value(); } 
00145 };
00146 
00147 template<class ContainerAllocator> struct HasHeader< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::SteeringDiagnostics_<ContainerAllocator> > : public TrueType {};
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156 
00157 template<class ContainerAllocator> struct Serializer< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> >
00158 {
00159   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160   {
00161     stream.next(m.header);
00162     stream.next(m.encoder);
00163     stream.next(m.last_request);
00164     stream.next(m.center_ticks);
00165     stream.next(m.status_word);
00166   }
00167 
00168   ROS_DECLARE_ALLINONE_SERIALIZER;
00169 }; // struct SteeringDiagnostics_
00170 } // namespace serialization
00171 } // namespace ros
00172 
00173 namespace ros
00174 {
00175 namespace message_operations
00176 {
00177 
00178 template<class ContainerAllocator>
00179 struct Printer< ::art_msgs::SteeringDiagnostics_<ContainerAllocator> >
00180 {
00181   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::SteeringDiagnostics_<ContainerAllocator> & v) 
00182   {
00183     s << indent << "header: ";
00184 s << std::endl;
00185     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00186     s << indent << "encoder: ";
00187     Printer<int32_t>::stream(s, indent + "  ", v.encoder);
00188     s << indent << "last_request: ";
00189     Printer<int32_t>::stream(s, indent + "  ", v.last_request);
00190     s << indent << "center_ticks: ";
00191     Printer<int32_t>::stream(s, indent + "  ", v.center_ticks);
00192     s << indent << "status_word: ";
00193     Printer<uint16_t>::stream(s, indent + "  ", v.status_word);
00194   }
00195 };
00196 
00197 
00198 } // namespace message_operations
00199 } // namespace ros
00200 
00201 #endif // ART_MSGS_MESSAGE_STEERINGDIAGNOSTICS_H
00202 


art_msgs
Author(s): Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:05