joint_state_message.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-tulip_simulator/doc_stacks/2014-01-26_20-57-46.735267/tulip_simulator/tulip_gazebo/msg/joint_state_message.msg */
00002 #ifndef TULIP_GAZEBO_MESSAGE_JOINT_STATE_MESSAGE_H
00003 #define TULIP_GAZEBO_MESSAGE_JOINT_STATE_MESSAGE_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 
00018 namespace tulip_gazebo
00019 {
00020 template <class ContainerAllocator>
00021 struct joint_state_message_ {
00022   typedef joint_state_message_<ContainerAllocator> Type;
00023 
00024   joint_state_message_()
00025   : cycle_nr(0)
00026   , time(0.0)
00027   , joint_nr(0)
00028   , position(0.0)
00029   , desired_position(0.0)
00030   , velocity(0.0)
00031   , commanded_effort(0.0)
00032   , measured_effort(0.0)
00033   {
00034   }
00035 
00036   joint_state_message_(const ContainerAllocator& _alloc)
00037   : cycle_nr(0)
00038   , time(0.0)
00039   , joint_nr(0)
00040   , position(0.0)
00041   , desired_position(0.0)
00042   , velocity(0.0)
00043   , commanded_effort(0.0)
00044   , measured_effort(0.0)
00045   {
00046   }
00047 
00048   typedef int32_t _cycle_nr_type;
00049   int32_t cycle_nr;
00050 
00051   typedef double _time_type;
00052   double time;
00053 
00054   typedef int32_t _joint_nr_type;
00055   int32_t joint_nr;
00056 
00057   typedef double _position_type;
00058   double position;
00059 
00060   typedef double _desired_position_type;
00061   double desired_position;
00062 
00063   typedef double _velocity_type;
00064   double velocity;
00065 
00066   typedef double _commanded_effort_type;
00067   double commanded_effort;
00068 
00069   typedef double _measured_effort_type;
00070   double measured_effort;
00071 
00072 
00073   typedef boost::shared_ptr< ::tulip_gazebo::joint_state_message_<ContainerAllocator> > Ptr;
00074   typedef boost::shared_ptr< ::tulip_gazebo::joint_state_message_<ContainerAllocator>  const> ConstPtr;
00075   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 }; // struct joint_state_message
00077 typedef  ::tulip_gazebo::joint_state_message_<std::allocator<void> > joint_state_message;
00078 
00079 typedef boost::shared_ptr< ::tulip_gazebo::joint_state_message> joint_state_messagePtr;
00080 typedef boost::shared_ptr< ::tulip_gazebo::joint_state_message const> joint_state_messageConstPtr;
00081 
00082 
00083 template<typename ContainerAllocator>
00084 std::ostream& operator<<(std::ostream& s, const  ::tulip_gazebo::joint_state_message_<ContainerAllocator> & v)
00085 {
00086   ros::message_operations::Printer< ::tulip_gazebo::joint_state_message_<ContainerAllocator> >::stream(s, "", v);
00087   return s;}
00088 
00089 } // namespace tulip_gazebo
00090 
00091 namespace ros
00092 {
00093 namespace message_traits
00094 {
00095 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::joint_state_message_<ContainerAllocator> > : public TrueType {};
00096 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::joint_state_message_<ContainerAllocator>  const> : public TrueType {};
00097 template<class ContainerAllocator>
00098 struct MD5Sum< ::tulip_gazebo::joint_state_message_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "3ab3d19f3d00b94f6b2950fb7f82fcd1";
00102   }
00103 
00104   static const char* value(const  ::tulip_gazebo::joint_state_message_<ContainerAllocator> &) { return value(); } 
00105   static const uint64_t static_value1 = 0x3ab3d19f3d00b94fULL;
00106   static const uint64_t static_value2 = 0x6b2950fb7f82fcd1ULL;
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct DataType< ::tulip_gazebo::joint_state_message_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "tulip_gazebo/joint_state_message";
00114   }
00115 
00116   static const char* value(const  ::tulip_gazebo::joint_state_message_<ContainerAllocator> &) { return value(); } 
00117 };
00118 
00119 template<class ContainerAllocator>
00120 struct Definition< ::tulip_gazebo::joint_state_message_<ContainerAllocator> > {
00121   static const char* value() 
00122   {
00123     return "int32    cycle_nr\n\
00124 float64  time\n\
00125 int32    joint_nr\n\
00126 float64  position\n\
00127 float64  desired_position\n\
00128 float64  velocity\n\
00129 float64  commanded_effort\n\
00130 float64  measured_effort\n\
00131 ";
00132   }
00133 
00134   static const char* value(const  ::tulip_gazebo::joint_state_message_<ContainerAllocator> &) { return value(); } 
00135 };
00136 
00137 template<class ContainerAllocator> struct IsFixedSize< ::tulip_gazebo::joint_state_message_<ContainerAllocator> > : public TrueType {};
00138 } // namespace message_traits
00139 } // namespace ros
00140 
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145 
00146 template<class ContainerAllocator> struct Serializer< ::tulip_gazebo::joint_state_message_<ContainerAllocator> >
00147 {
00148   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149   {
00150     stream.next(m.cycle_nr);
00151     stream.next(m.time);
00152     stream.next(m.joint_nr);
00153     stream.next(m.position);
00154     stream.next(m.desired_position);
00155     stream.next(m.velocity);
00156     stream.next(m.commanded_effort);
00157     stream.next(m.measured_effort);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct joint_state_message_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::tulip_gazebo::joint_state_message_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tulip_gazebo::joint_state_message_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "cycle_nr: ";
00176     Printer<int32_t>::stream(s, indent + "  ", v.cycle_nr);
00177     s << indent << "time: ";
00178     Printer<double>::stream(s, indent + "  ", v.time);
00179     s << indent << "joint_nr: ";
00180     Printer<int32_t>::stream(s, indent + "  ", v.joint_nr);
00181     s << indent << "position: ";
00182     Printer<double>::stream(s, indent + "  ", v.position);
00183     s << indent << "desired_position: ";
00184     Printer<double>::stream(s, indent + "  ", v.desired_position);
00185     s << indent << "velocity: ";
00186     Printer<double>::stream(s, indent + "  ", v.velocity);
00187     s << indent << "commanded_effort: ";
00188     Printer<double>::stream(s, indent + "  ", v.commanded_effort);
00189     s << indent << "measured_effort: ";
00190     Printer<double>::stream(s, indent + "  ", v.measured_effort);
00191   }
00192 };
00193 
00194 
00195 } // namespace message_operations
00196 } // namespace ros
00197 
00198 #endif // TULIP_GAZEBO_MESSAGE_JOINT_STATE_MESSAGE_H
00199 


tulip_gazebo
Author(s): Tim Assman, Pieter van Zutven
autogenerated on Sun Jan 26 2014 21:00:10