Go to the documentation of this file.00001
00002 #ifndef SSF_CORE_MESSAGE_EXT_IMU_H
00003 #define SSF_CORE_MESSAGE_EXT_IMU_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 #include "geometry_msgs/Quaternion.h"
00019 #include "geometry_msgs/Vector3.h"
00020 #include "geometry_msgs/Vector3.h"
00021
00022 namespace ssf_core
00023 {
00024 template <class ContainerAllocator>
00025 struct ext_imu_ {
00026 typedef ext_imu_<ContainerAllocator> Type;
00027
00028 ext_imu_()
00029 : header()
00030 , orientation()
00031 , angular_velocity()
00032 , acceleration()
00033 , height(0.0)
00034 , differential_height(0.0)
00035 {
00036 }
00037
00038 ext_imu_(const ContainerAllocator& _alloc)
00039 : header(_alloc)
00040 , orientation(_alloc)
00041 , angular_velocity(_alloc)
00042 , acceleration(_alloc)
00043 , height(0.0)
00044 , differential_height(0.0)
00045 {
00046 }
00047
00048 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00049 ::std_msgs::Header_<ContainerAllocator> header;
00050
00051 typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _orientation_type;
00052 ::geometry_msgs::Quaternion_<ContainerAllocator> orientation;
00053
00054 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _angular_velocity_type;
00055 ::geometry_msgs::Vector3_<ContainerAllocator> angular_velocity;
00056
00057 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _acceleration_type;
00058 ::geometry_msgs::Vector3_<ContainerAllocator> acceleration;
00059
00060 typedef double _height_type;
00061 double height;
00062
00063 typedef double _differential_height_type;
00064 double differential_height;
00065
00066
00067 typedef boost::shared_ptr< ::ssf_core::ext_imu_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::ssf_core::ext_imu_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::ssf_core::ext_imu_<std::allocator<void> > ext_imu;
00072
00073 typedef boost::shared_ptr< ::ssf_core::ext_imu> ext_imuPtr;
00074 typedef boost::shared_ptr< ::ssf_core::ext_imu const> ext_imuConstPtr;
00075
00076
00077 template<typename ContainerAllocator>
00078 std::ostream& operator<<(std::ostream& s, const ::ssf_core::ext_imu_<ContainerAllocator> & v)
00079 {
00080 ros::message_operations::Printer< ::ssf_core::ext_imu_<ContainerAllocator> >::stream(s, "", v);
00081 return s;}
00082
00083 }
00084
00085 namespace ros
00086 {
00087 namespace message_traits
00088 {
00089 template<class ContainerAllocator> struct IsMessage< ::ssf_core::ext_imu_<ContainerAllocator> > : public TrueType {};
00090 template<class ContainerAllocator> struct IsMessage< ::ssf_core::ext_imu_<ContainerAllocator> const> : public TrueType {};
00091 template<class ContainerAllocator>
00092 struct MD5Sum< ::ssf_core::ext_imu_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "fc0b109c033a4f5dccf47e9654e6b6c3";
00096 }
00097
00098 static const char* value(const ::ssf_core::ext_imu_<ContainerAllocator> &) { return value(); }
00099 static const uint64_t static_value1 = 0xfc0b109c033a4f5dULL;
00100 static const uint64_t static_value2 = 0xccf47e9654e6b6c3ULL;
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct DataType< ::ssf_core::ext_imu_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "ssf_core/ext_imu";
00108 }
00109
00110 static const char* value(const ::ssf_core::ext_imu_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct Definition< ::ssf_core::ext_imu_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "Header header\n\
00118 geometry_msgs/Quaternion orientation\n\
00119 geometry_msgs/Vector3 angular_velocity\n\
00120 geometry_msgs/Vector3 acceleration\n\
00121 float64 height\n\
00122 float64 differential_height\n\
00123 ================================================================================\n\
00124 MSG: std_msgs/Header\n\
00125 # Standard metadata for higher-level stamped data types.\n\
00126 # This is generally used to communicate timestamped data \n\
00127 # in a particular coordinate frame.\n\
00128 # \n\
00129 # sequence ID: consecutively increasing ID \n\
00130 uint32 seq\n\
00131 #Two-integer timestamp that is expressed as:\n\
00132 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00133 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00134 # time-handling sugar is provided by the client library\n\
00135 time stamp\n\
00136 #Frame this data is associated with\n\
00137 # 0: no frame\n\
00138 # 1: global frame\n\
00139 string frame_id\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Quaternion\n\
00143 # This represents an orientation in free space in quaternion form.\n\
00144 \n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 float64 w\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geometry_msgs/Vector3\n\
00152 # This represents a vector in free space. \n\
00153 \n\
00154 float64 x\n\
00155 float64 y\n\
00156 float64 z\n\
00157 ";
00158 }
00159
00160 static const char* value(const ::ssf_core::ext_imu_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 template<class ContainerAllocator> struct HasHeader< ::ssf_core::ext_imu_<ContainerAllocator> > : public TrueType {};
00164 template<class ContainerAllocator> struct HasHeader< const ::ssf_core::ext_imu_<ContainerAllocator> > : public TrueType {};
00165 }
00166 }
00167
00168 namespace ros
00169 {
00170 namespace serialization
00171 {
00172
00173 template<class ContainerAllocator> struct Serializer< ::ssf_core::ext_imu_<ContainerAllocator> >
00174 {
00175 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00176 {
00177 stream.next(m.header);
00178 stream.next(m.orientation);
00179 stream.next(m.angular_velocity);
00180 stream.next(m.acceleration);
00181 stream.next(m.height);
00182 stream.next(m.differential_height);
00183 }
00184
00185 ROS_DECLARE_ALLINONE_SERIALIZER;
00186 };
00187 }
00188 }
00189
00190 namespace ros
00191 {
00192 namespace message_operations
00193 {
00194
00195 template<class ContainerAllocator>
00196 struct Printer< ::ssf_core::ext_imu_<ContainerAllocator> >
00197 {
00198 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ssf_core::ext_imu_<ContainerAllocator> & v)
00199 {
00200 s << indent << "header: ";
00201 s << std::endl;
00202 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00203 s << indent << "orientation: ";
00204 s << std::endl;
00205 Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + " ", v.orientation);
00206 s << indent << "angular_velocity: ";
00207 s << std::endl;
00208 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.angular_velocity);
00209 s << indent << "acceleration: ";
00210 s << std::endl;
00211 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.acceleration);
00212 s << indent << "height: ";
00213 Printer<double>::stream(s, indent + " ", v.height);
00214 s << indent << "differential_height: ";
00215 Printer<double>::stream(s, indent + " ", v.differential_height);
00216 }
00217 };
00218
00219
00220 }
00221 }
00222
00223 #endif // SSF_CORE_MESSAGE_EXT_IMU_H
00224