Go to the documentation of this file.00001
00002 #ifndef TULIP_GAZEBO_MESSAGE_FOOTSENS_STATE_MESSAGE_H
00003 #define TULIP_GAZEBO_MESSAGE_FOOTSENS_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 footsens_state_message_ {
00022 typedef footsens_state_message_<ContainerAllocator> Type;
00023
00024 footsens_state_message_()
00025 : time()
00026 , left_heel_inner(0.0)
00027 , left_heel_outer(0.0)
00028 , left_toe_inner(0.0)
00029 , left_toe_outer(0.0)
00030 , right_heel_inner(0.0)
00031 , right_heel_outer(0.0)
00032 , right_toe_inner(0.0)
00033 , right_toe_outer(0.0)
00034 {
00035 }
00036
00037 footsens_state_message_(const ContainerAllocator& _alloc)
00038 : time()
00039 , left_heel_inner(0.0)
00040 , left_heel_outer(0.0)
00041 , left_toe_inner(0.0)
00042 , left_toe_outer(0.0)
00043 , right_heel_inner(0.0)
00044 , right_heel_outer(0.0)
00045 , right_toe_inner(0.0)
00046 , right_toe_outer(0.0)
00047 {
00048 }
00049
00050 typedef ros::Time _time_type;
00051 ros::Time time;
00052
00053 typedef double _left_heel_inner_type;
00054 double left_heel_inner;
00055
00056 typedef double _left_heel_outer_type;
00057 double left_heel_outer;
00058
00059 typedef double _left_toe_inner_type;
00060 double left_toe_inner;
00061
00062 typedef double _left_toe_outer_type;
00063 double left_toe_outer;
00064
00065 typedef double _right_heel_inner_type;
00066 double right_heel_inner;
00067
00068 typedef double _right_heel_outer_type;
00069 double right_heel_outer;
00070
00071 typedef double _right_toe_inner_type;
00072 double right_toe_inner;
00073
00074 typedef double _right_toe_outer_type;
00075 double right_toe_outer;
00076
00077
00078 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > Ptr;
00079 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> const> ConstPtr;
00080 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 };
00082 typedef ::tulip_gazebo::footsens_state_message_<std::allocator<void> > footsens_state_message;
00083
00084 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message> footsens_state_messagePtr;
00085 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message const> footsens_state_messageConstPtr;
00086
00087
00088 template<typename ContainerAllocator>
00089 std::ostream& operator<<(std::ostream& s, const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> & v)
00090 {
00091 ros::message_operations::Printer< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> >::stream(s, "", v);
00092 return s;}
00093
00094 }
00095
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "637cc52f29ad57805d41857293269bf3";
00107 }
00108
00109 static const char* value(const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0x637cc52f29ad5780ULL;
00111 static const uint64_t static_value2 = 0x5d41857293269bf3ULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "tulip_gazebo/footsens_state_message";
00119 }
00120
00121 static const char* value(const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "time time\n\
00129 float64 left_heel_inner\n\
00130 float64 left_heel_outer\n\
00131 float64 left_toe_inner\n\
00132 float64 left_toe_outer\n\
00133 float64 right_heel_inner\n\
00134 float64 right_heel_outer\n\
00135 float64 right_toe_inner\n\
00136 float64 right_toe_outer\n\
00137 \n\
00138 ";
00139 }
00140
00141 static const char* value(const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> &) { return value(); }
00142 };
00143
00144 template<class ContainerAllocator> struct IsFixedSize< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > : public TrueType {};
00145 }
00146 }
00147
00148 namespace ros
00149 {
00150 namespace serialization
00151 {
00152
00153 template<class ContainerAllocator> struct Serializer< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> >
00154 {
00155 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00156 {
00157 stream.next(m.time);
00158 stream.next(m.left_heel_inner);
00159 stream.next(m.left_heel_outer);
00160 stream.next(m.left_toe_inner);
00161 stream.next(m.left_toe_outer);
00162 stream.next(m.right_heel_inner);
00163 stream.next(m.right_heel_outer);
00164 stream.next(m.right_toe_inner);
00165 stream.next(m.right_toe_outer);
00166 }
00167
00168 ROS_DECLARE_ALLINONE_SERIALIZER;
00169 };
00170 }
00171 }
00172
00173 namespace ros
00174 {
00175 namespace message_operations
00176 {
00177
00178 template<class ContainerAllocator>
00179 struct Printer< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> >
00180 {
00181 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> & v)
00182 {
00183 s << indent << "time: ";
00184 Printer<ros::Time>::stream(s, indent + " ", v.time);
00185 s << indent << "left_heel_inner: ";
00186 Printer<double>::stream(s, indent + " ", v.left_heel_inner);
00187 s << indent << "left_heel_outer: ";
00188 Printer<double>::stream(s, indent + " ", v.left_heel_outer);
00189 s << indent << "left_toe_inner: ";
00190 Printer<double>::stream(s, indent + " ", v.left_toe_inner);
00191 s << indent << "left_toe_outer: ";
00192 Printer<double>::stream(s, indent + " ", v.left_toe_outer);
00193 s << indent << "right_heel_inner: ";
00194 Printer<double>::stream(s, indent + " ", v.right_heel_inner);
00195 s << indent << "right_heel_outer: ";
00196 Printer<double>::stream(s, indent + " ", v.right_heel_outer);
00197 s << indent << "right_toe_inner: ";
00198 Printer<double>::stream(s, indent + " ", v.right_toe_inner);
00199 s << indent << "right_toe_outer: ";
00200 Printer<double>::stream(s, indent + " ", v.right_toe_outer);
00201 }
00202 };
00203
00204
00205 }
00206 }
00207
00208 #endif // TULIP_GAZEBO_MESSAGE_FOOTSENS_STATE_MESSAGE_H
00209