DifferentialControl.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-clearpath_common/doc_stacks/2013-12-28_16-49-26.096244/clearpath_common/clearpath_base/msg/DifferentialControl.msg */
00002 #ifndef CLEARPATH_BASE_MESSAGE_DIFFERENTIALCONTROL_H
00003 #define CLEARPATH_BASE_MESSAGE_DIFFERENTIALCONTROL_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 clearpath_base
00020 {
00021 template <class ContainerAllocator>
00022 struct DifferentialControl_ {
00023   typedef DifferentialControl_<ContainerAllocator> Type;
00024 
00025   DifferentialControl_()
00026   : header()
00027   , l_p(0.0)
00028   , l_i(0.0)
00029   , l_d(0.0)
00030   , l_ffwd(0.0)
00031   , l_stic(0.0)
00032   , l_sat(0.0)
00033   , r_p(0.0)
00034   , r_i(0.0)
00035   , r_d(0.0)
00036   , r_ffwd(0.0)
00037   , r_stic(0.0)
00038   , r_sat(0.0)
00039   {
00040   }
00041 
00042   DifferentialControl_(const ContainerAllocator& _alloc)
00043   : header(_alloc)
00044   , l_p(0.0)
00045   , l_i(0.0)
00046   , l_d(0.0)
00047   , l_ffwd(0.0)
00048   , l_stic(0.0)
00049   , l_sat(0.0)
00050   , r_p(0.0)
00051   , r_i(0.0)
00052   , r_d(0.0)
00053   , r_ffwd(0.0)
00054   , r_stic(0.0)
00055   , r_sat(0.0)
00056   {
00057   }
00058 
00059   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00060    ::std_msgs::Header_<ContainerAllocator>  header;
00061 
00062   typedef double _l_p_type;
00063   double l_p;
00064 
00065   typedef double _l_i_type;
00066   double l_i;
00067 
00068   typedef double _l_d_type;
00069   double l_d;
00070 
00071   typedef double _l_ffwd_type;
00072   double l_ffwd;
00073 
00074   typedef double _l_stic_type;
00075   double l_stic;
00076 
00077   typedef double _l_sat_type;
00078   double l_sat;
00079 
00080   typedef double _r_p_type;
00081   double r_p;
00082 
00083   typedef double _r_i_type;
00084   double r_i;
00085 
00086   typedef double _r_d_type;
00087   double r_d;
00088 
00089   typedef double _r_ffwd_type;
00090   double r_ffwd;
00091 
00092   typedef double _r_stic_type;
00093   double r_stic;
00094 
00095   typedef double _r_sat_type;
00096   double r_sat;
00097 
00098 
00099   typedef boost::shared_ptr< ::clearpath_base::DifferentialControl_<ContainerAllocator> > Ptr;
00100   typedef boost::shared_ptr< ::clearpath_base::DifferentialControl_<ContainerAllocator>  const> ConstPtr;
00101   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00102 }; // struct DifferentialControl
00103 typedef  ::clearpath_base::DifferentialControl_<std::allocator<void> > DifferentialControl;
00104 
00105 typedef boost::shared_ptr< ::clearpath_base::DifferentialControl> DifferentialControlPtr;
00106 typedef boost::shared_ptr< ::clearpath_base::DifferentialControl const> DifferentialControlConstPtr;
00107 
00108 
00109 template<typename ContainerAllocator>
00110 std::ostream& operator<<(std::ostream& s, const  ::clearpath_base::DifferentialControl_<ContainerAllocator> & v)
00111 {
00112   ros::message_operations::Printer< ::clearpath_base::DifferentialControl_<ContainerAllocator> >::stream(s, "", v);
00113   return s;}
00114 
00115 } // namespace clearpath_base
00116 
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::clearpath_base::DifferentialControl_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::clearpath_base::DifferentialControl_<ContainerAllocator>  const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::clearpath_base::DifferentialControl_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "ae0672163e13fc0bb6491960c53a3259";
00128   }
00129 
00130   static const char* value(const  ::clearpath_base::DifferentialControl_<ContainerAllocator> &) { return value(); } 
00131   static const uint64_t static_value1 = 0xae0672163e13fc0bULL;
00132   static const uint64_t static_value2 = 0xb6491960c53a3259ULL;
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct DataType< ::clearpath_base::DifferentialControl_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "clearpath_base/DifferentialControl";
00140   }
00141 
00142   static const char* value(const  ::clearpath_base::DifferentialControl_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator>
00146 struct Definition< ::clearpath_base::DifferentialControl_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "Header header\n\
00150 float64 l_p\n\
00151 float64 l_i\n\
00152 float64 l_d\n\
00153 float64 l_ffwd\n\
00154 float64 l_stic\n\
00155 float64 l_sat\n\
00156 float64 r_p\n\
00157 float64 r_i\n\
00158 float64 r_d\n\
00159 float64 r_ffwd\n\
00160 float64 r_stic\n\
00161 float64 r_sat\n\
00162 \n\
00163 ================================================================================\n\
00164 MSG: std_msgs/Header\n\
00165 # Standard metadata for higher-level stamped data types.\n\
00166 # This is generally used to communicate timestamped data \n\
00167 # in a particular coordinate frame.\n\
00168 # \n\
00169 # sequence ID: consecutively increasing ID \n\
00170 uint32 seq\n\
00171 #Two-integer timestamp that is expressed as:\n\
00172 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00173 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00174 # time-handling sugar is provided by the client library\n\
00175 time stamp\n\
00176 #Frame this data is associated with\n\
00177 # 0: no frame\n\
00178 # 1: global frame\n\
00179 string frame_id\n\
00180 \n\
00181 ";
00182   }
00183 
00184   static const char* value(const  ::clearpath_base::DifferentialControl_<ContainerAllocator> &) { return value(); } 
00185 };
00186 
00187 template<class ContainerAllocator> struct HasHeader< ::clearpath_base::DifferentialControl_<ContainerAllocator> > : public TrueType {};
00188 template<class ContainerAllocator> struct HasHeader< const ::clearpath_base::DifferentialControl_<ContainerAllocator> > : public TrueType {};
00189 } // namespace message_traits
00190 } // namespace ros
00191 
00192 namespace ros
00193 {
00194 namespace serialization
00195 {
00196 
00197 template<class ContainerAllocator> struct Serializer< ::clearpath_base::DifferentialControl_<ContainerAllocator> >
00198 {
00199   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00200   {
00201     stream.next(m.header);
00202     stream.next(m.l_p);
00203     stream.next(m.l_i);
00204     stream.next(m.l_d);
00205     stream.next(m.l_ffwd);
00206     stream.next(m.l_stic);
00207     stream.next(m.l_sat);
00208     stream.next(m.r_p);
00209     stream.next(m.r_i);
00210     stream.next(m.r_d);
00211     stream.next(m.r_ffwd);
00212     stream.next(m.r_stic);
00213     stream.next(m.r_sat);
00214   }
00215 
00216   ROS_DECLARE_ALLINONE_SERIALIZER;
00217 }; // struct DifferentialControl_
00218 } // namespace serialization
00219 } // namespace ros
00220 
00221 namespace ros
00222 {
00223 namespace message_operations
00224 {
00225 
00226 template<class ContainerAllocator>
00227 struct Printer< ::clearpath_base::DifferentialControl_<ContainerAllocator> >
00228 {
00229   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::clearpath_base::DifferentialControl_<ContainerAllocator> & v) 
00230   {
00231     s << indent << "header: ";
00232 s << std::endl;
00233     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00234     s << indent << "l_p: ";
00235     Printer<double>::stream(s, indent + "  ", v.l_p);
00236     s << indent << "l_i: ";
00237     Printer<double>::stream(s, indent + "  ", v.l_i);
00238     s << indent << "l_d: ";
00239     Printer<double>::stream(s, indent + "  ", v.l_d);
00240     s << indent << "l_ffwd: ";
00241     Printer<double>::stream(s, indent + "  ", v.l_ffwd);
00242     s << indent << "l_stic: ";
00243     Printer<double>::stream(s, indent + "  ", v.l_stic);
00244     s << indent << "l_sat: ";
00245     Printer<double>::stream(s, indent + "  ", v.l_sat);
00246     s << indent << "r_p: ";
00247     Printer<double>::stream(s, indent + "  ", v.r_p);
00248     s << indent << "r_i: ";
00249     Printer<double>::stream(s, indent + "  ", v.r_i);
00250     s << indent << "r_d: ";
00251     Printer<double>::stream(s, indent + "  ", v.r_d);
00252     s << indent << "r_ffwd: ";
00253     Printer<double>::stream(s, indent + "  ", v.r_ffwd);
00254     s << indent << "r_stic: ";
00255     Printer<double>::stream(s, indent + "  ", v.r_stic);
00256     s << indent << "r_sat: ";
00257     Printer<double>::stream(s, indent + "  ", v.r_sat);
00258   }
00259 };
00260 
00261 
00262 } // namespace message_operations
00263 } // namespace ros
00264 
00265 #endif // CLEARPATH_BASE_MESSAGE_DIFFERENTIALCONTROL_H
00266 


clearpath_base
Author(s): Mike Purvis
autogenerated on Sat Dec 28 2013 16:50:47