Go to the documentation of this file.00001
00002 #ifndef TULIP_GAZEBO_MESSAGE_XSENS_STATE_MESSAGE_H
00003 #define TULIP_GAZEBO_MESSAGE_XSENS_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 #include "geometry_msgs/Pose.h"
00018 #include "geometry_msgs/Twist.h"
00019
00020 namespace tulip_gazebo
00021 {
00022 template <class ContainerAllocator>
00023 struct xsens_state_message_ {
00024 typedef xsens_state_message_<ContainerAllocator> Type;
00025
00026 xsens_state_message_()
00027 : time()
00028 , pose()
00029 , twist()
00030 {
00031 }
00032
00033 xsens_state_message_(const ContainerAllocator& _alloc)
00034 : time()
00035 , pose(_alloc)
00036 , twist(_alloc)
00037 {
00038 }
00039
00040 typedef ros::Time _time_type;
00041 ros::Time time;
00042
00043 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
00044 ::geometry_msgs::Pose_<ContainerAllocator> pose;
00045
00046 typedef ::geometry_msgs::Twist_<ContainerAllocator> _twist_type;
00047 ::geometry_msgs::Twist_<ContainerAllocator> twist;
00048
00049
00050 typedef boost::shared_ptr< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> > Ptr;
00051 typedef boost::shared_ptr< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> const> ConstPtr;
00052 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 };
00054 typedef ::tulip_gazebo::xsens_state_message_<std::allocator<void> > xsens_state_message;
00055
00056 typedef boost::shared_ptr< ::tulip_gazebo::xsens_state_message> xsens_state_messagePtr;
00057 typedef boost::shared_ptr< ::tulip_gazebo::xsens_state_message const> xsens_state_messageConstPtr;
00058
00059
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const ::tulip_gazebo::xsens_state_message_<ContainerAllocator> & v)
00062 {
00063 ros::message_operations::Printer< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> >::stream(s, "", v);
00064 return s;}
00065
00066 }
00067
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> > {
00076 static const char* value()
00077 {
00078 return "07deb68b3aeac7002d1c041ea95ffeb8";
00079 }
00080
00081 static const char* value(const ::tulip_gazebo::xsens_state_message_<ContainerAllocator> &) { return value(); }
00082 static const uint64_t static_value1 = 0x07deb68b3aeac700ULL;
00083 static const uint64_t static_value2 = 0x2d1c041ea95ffeb8ULL;
00084 };
00085
00086 template<class ContainerAllocator>
00087 struct DataType< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "tulip_gazebo/xsens_state_message";
00091 }
00092
00093 static const char* value(const ::tulip_gazebo::xsens_state_message_<ContainerAllocator> &) { return value(); }
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct Definition< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "time time\n\
00101 geometry_msgs/Pose pose\n\
00102 geometry_msgs/Twist twist\n\
00103 ================================================================================\n\
00104 MSG: geometry_msgs/Pose\n\
00105 # A representation of pose in free space, composed of postion and orientation. \n\
00106 Point position\n\
00107 Quaternion orientation\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: geometry_msgs/Point\n\
00111 # This contains the position of a point in free space\n\
00112 float64 x\n\
00113 float64 y\n\
00114 float64 z\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: geometry_msgs/Quaternion\n\
00118 # This represents an orientation in free space in quaternion form.\n\
00119 \n\
00120 float64 x\n\
00121 float64 y\n\
00122 float64 z\n\
00123 float64 w\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: geometry_msgs/Twist\n\
00127 # This expresses velocity in free space broken into its linear and angular parts.\n\
00128 Vector3 linear\n\
00129 Vector3 angular\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: geometry_msgs/Vector3\n\
00133 # This represents a vector in free space. \n\
00134 \n\
00135 float64 x\n\
00136 float64 y\n\
00137 float64 z\n\
00138 ";
00139 }
00140
00141 static const char* value(const ::tulip_gazebo::xsens_state_message_<ContainerAllocator> &) { return value(); }
00142 };
00143
00144 template<class ContainerAllocator> struct IsFixedSize< ::tulip_gazebo::xsens_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::xsens_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.pose);
00159 stream.next(m.twist);
00160 }
00161
00162 ROS_DECLARE_ALLINONE_SERIALIZER;
00163 };
00164 }
00165 }
00166
00167 namespace ros
00168 {
00169 namespace message_operations
00170 {
00171
00172 template<class ContainerAllocator>
00173 struct Printer< ::tulip_gazebo::xsens_state_message_<ContainerAllocator> >
00174 {
00175 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tulip_gazebo::xsens_state_message_<ContainerAllocator> & v)
00176 {
00177 s << indent << "time: ";
00178 Printer<ros::Time>::stream(s, indent + " ", v.time);
00179 s << indent << "pose: ";
00180 s << std::endl;
00181 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00182 s << indent << "twist: ";
00183 s << std::endl;
00184 Printer< ::geometry_msgs::Twist_<ContainerAllocator> >::stream(s, indent + " ", v.twist);
00185 }
00186 };
00187
00188
00189 }
00190 }
00191
00192 #endif // TULIP_GAZEBO_MESSAGE_XSENS_STATE_MESSAGE_H
00193