$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tue/doc_stacks/2013-03-05_12-23-27.283047/tulip_simulator/tulip_gazebo/msg/footsens_state_message.msg */ 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 private: 00079 static const char* __s_getDataType_() { return "tulip_gazebo/footsens_state_message"; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00082 00083 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00084 00085 private: 00086 static const char* __s_getMD5Sum_() { return "637cc52f29ad57805d41857293269bf3"; } 00087 public: 00088 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00089 00090 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00091 00092 private: 00093 static const char* __s_getMessageDefinition_() { return "time time\n\ 00094 float64 left_heel_inner\n\ 00095 float64 left_heel_outer\n\ 00096 float64 left_toe_inner\n\ 00097 float64 left_toe_outer\n\ 00098 float64 right_heel_inner\n\ 00099 float64 right_heel_outer\n\ 00100 float64 right_toe_inner\n\ 00101 float64 right_toe_outer\n\ 00102 \n\ 00103 "; } 00104 public: 00105 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00106 00107 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00108 00109 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00110 { 00111 ros::serialization::OStream stream(write_ptr, 1000000000); 00112 ros::serialization::serialize(stream, time); 00113 ros::serialization::serialize(stream, left_heel_inner); 00114 ros::serialization::serialize(stream, left_heel_outer); 00115 ros::serialization::serialize(stream, left_toe_inner); 00116 ros::serialization::serialize(stream, left_toe_outer); 00117 ros::serialization::serialize(stream, right_heel_inner); 00118 ros::serialization::serialize(stream, right_heel_outer); 00119 ros::serialization::serialize(stream, right_toe_inner); 00120 ros::serialization::serialize(stream, right_toe_outer); 00121 return stream.getData(); 00122 } 00123 00124 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00125 { 00126 ros::serialization::IStream stream(read_ptr, 1000000000); 00127 ros::serialization::deserialize(stream, time); 00128 ros::serialization::deserialize(stream, left_heel_inner); 00129 ros::serialization::deserialize(stream, left_heel_outer); 00130 ros::serialization::deserialize(stream, left_toe_inner); 00131 ros::serialization::deserialize(stream, left_toe_outer); 00132 ros::serialization::deserialize(stream, right_heel_inner); 00133 ros::serialization::deserialize(stream, right_heel_outer); 00134 ros::serialization::deserialize(stream, right_toe_inner); 00135 ros::serialization::deserialize(stream, right_toe_outer); 00136 return stream.getData(); 00137 } 00138 00139 ROS_DEPRECATED virtual uint32_t serializationLength() const 00140 { 00141 uint32_t size = 0; 00142 size += ros::serialization::serializationLength(time); 00143 size += ros::serialization::serializationLength(left_heel_inner); 00144 size += ros::serialization::serializationLength(left_heel_outer); 00145 size += ros::serialization::serializationLength(left_toe_inner); 00146 size += ros::serialization::serializationLength(left_toe_outer); 00147 size += ros::serialization::serializationLength(right_heel_inner); 00148 size += ros::serialization::serializationLength(right_heel_outer); 00149 size += ros::serialization::serializationLength(right_toe_inner); 00150 size += ros::serialization::serializationLength(right_toe_outer); 00151 return size; 00152 } 00153 00154 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > Ptr; 00155 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> const> ConstPtr; 00156 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00157 }; // struct footsens_state_message 00158 typedef ::tulip_gazebo::footsens_state_message_<std::allocator<void> > footsens_state_message; 00159 00160 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message> footsens_state_messagePtr; 00161 typedef boost::shared_ptr< ::tulip_gazebo::footsens_state_message const> footsens_state_messageConstPtr; 00162 00163 00164 template<typename ContainerAllocator> 00165 std::ostream& operator<<(std::ostream& s, const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> & v) 00166 { 00167 ros::message_operations::Printer< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> >::stream(s, "", v); 00168 return s;} 00169 00170 } // namespace tulip_gazebo 00171 00172 namespace ros 00173 { 00174 namespace message_traits 00175 { 00176 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > : public TrueType {}; 00177 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> const> : public TrueType {}; 00178 template<class ContainerAllocator> 00179 struct MD5Sum< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "637cc52f29ad57805d41857293269bf3"; 00183 } 00184 00185 static const char* value(const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> &) { return value(); } 00186 static const uint64_t static_value1 = 0x637cc52f29ad5780ULL; 00187 static const uint64_t static_value2 = 0x5d41857293269bf3ULL; 00188 }; 00189 00190 template<class ContainerAllocator> 00191 struct DataType< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > { 00192 static const char* value() 00193 { 00194 return "tulip_gazebo/footsens_state_message"; 00195 } 00196 00197 static const char* value(const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> &) { return value(); } 00198 }; 00199 00200 template<class ContainerAllocator> 00201 struct Definition< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > { 00202 static const char* value() 00203 { 00204 return "time time\n\ 00205 float64 left_heel_inner\n\ 00206 float64 left_heel_outer\n\ 00207 float64 left_toe_inner\n\ 00208 float64 left_toe_outer\n\ 00209 float64 right_heel_inner\n\ 00210 float64 right_heel_outer\n\ 00211 float64 right_toe_inner\n\ 00212 float64 right_toe_outer\n\ 00213 \n\ 00214 "; 00215 } 00216 00217 static const char* value(const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> &) { return value(); } 00218 }; 00219 00220 template<class ContainerAllocator> struct IsFixedSize< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > : public TrueType {}; 00221 } // namespace message_traits 00222 } // namespace ros 00223 00224 namespace ros 00225 { 00226 namespace serialization 00227 { 00228 00229 template<class ContainerAllocator> struct Serializer< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > 00230 { 00231 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00232 { 00233 stream.next(m.time); 00234 stream.next(m.left_heel_inner); 00235 stream.next(m.left_heel_outer); 00236 stream.next(m.left_toe_inner); 00237 stream.next(m.left_toe_outer); 00238 stream.next(m.right_heel_inner); 00239 stream.next(m.right_heel_outer); 00240 stream.next(m.right_toe_inner); 00241 stream.next(m.right_toe_outer); 00242 } 00243 00244 ROS_DECLARE_ALLINONE_SERIALIZER; 00245 }; // struct footsens_state_message_ 00246 } // namespace serialization 00247 } // namespace ros 00248 00249 namespace ros 00250 { 00251 namespace message_operations 00252 { 00253 00254 template<class ContainerAllocator> 00255 struct Printer< ::tulip_gazebo::footsens_state_message_<ContainerAllocator> > 00256 { 00257 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tulip_gazebo::footsens_state_message_<ContainerAllocator> & v) 00258 { 00259 s << indent << "time: "; 00260 Printer<ros::Time>::stream(s, indent + " ", v.time); 00261 s << indent << "left_heel_inner: "; 00262 Printer<double>::stream(s, indent + " ", v.left_heel_inner); 00263 s << indent << "left_heel_outer: "; 00264 Printer<double>::stream(s, indent + " ", v.left_heel_outer); 00265 s << indent << "left_toe_inner: "; 00266 Printer<double>::stream(s, indent + " ", v.left_toe_inner); 00267 s << indent << "left_toe_outer: "; 00268 Printer<double>::stream(s, indent + " ", v.left_toe_outer); 00269 s << indent << "right_heel_inner: "; 00270 Printer<double>::stream(s, indent + " ", v.right_heel_inner); 00271 s << indent << "right_heel_outer: "; 00272 Printer<double>::stream(s, indent + " ", v.right_heel_outer); 00273 s << indent << "right_toe_inner: "; 00274 Printer<double>::stream(s, indent + " ", v.right_toe_inner); 00275 s << indent << "right_toe_outer: "; 00276 Printer<double>::stream(s, indent + " ", v.right_toe_outer); 00277 } 00278 }; 00279 00280 00281 } // namespace message_operations 00282 } // namespace ros 00283 00284 #endif // TULIP_GAZEBO_MESSAGE_FOOTSENS_STATE_MESSAGE_H 00285