Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_INTEGRATIONDIAGNOSTICSCONTROL_H
00003 #define APPLANIX_MSGS_MESSAGE_INTEGRATIONDIAGNOSTICSCONTROL_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 applanix_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct IntegrationDiagnosticsControl_ {
00022 typedef IntegrationDiagnosticsControl_<ContainerAllocator> Type;
00023
00024 IntegrationDiagnosticsControl_()
00025 : transaction(0)
00026 , output_data(0)
00027 , user_roll(0.0)
00028 , user_pitch(0.0)
00029 , user_heading(0.0)
00030 , reserved()
00031 {
00032 reserved.assign(0);
00033 }
00034
00035 IntegrationDiagnosticsControl_(const ContainerAllocator& _alloc)
00036 : transaction(0)
00037 , output_data(0)
00038 , user_roll(0.0)
00039 , user_pitch(0.0)
00040 , user_heading(0.0)
00041 , reserved()
00042 {
00043 reserved.assign(0);
00044 }
00045
00046 typedef uint16_t _transaction_type;
00047 uint16_t transaction;
00048
00049 typedef uint8_t _output_data_type;
00050 uint8_t output_data;
00051
00052 typedef float _user_roll_type;
00053 float user_roll;
00054
00055 typedef float _user_pitch_type;
00056 float user_pitch;
00057
00058 typedef float _user_heading_type;
00059 float user_heading;
00060
00061 typedef boost::array<uint8_t, 4> _reserved_type;
00062 boost::array<uint8_t, 4> reserved;
00063
00064 enum { OUTPUT_IMU_FRAME = 0 };
00065 enum { OUTPUT_USER_PARAM = 1 };
00066
00067 typedef boost::shared_ptr< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::applanix_msgs::IntegrationDiagnosticsControl_<std::allocator<void> > IntegrationDiagnosticsControl;
00072
00073 typedef boost::shared_ptr< ::applanix_msgs::IntegrationDiagnosticsControl> IntegrationDiagnosticsControlPtr;
00074 typedef boost::shared_ptr< ::applanix_msgs::IntegrationDiagnosticsControl const> IntegrationDiagnosticsControlConstPtr;
00075
00076
00077 template<typename ContainerAllocator>
00078 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> & v)
00079 {
00080 ros::message_operations::Printer< ::applanix_msgs::IntegrationDiagnosticsControl_<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< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> > : public TrueType {};
00090 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> const> : public TrueType {};
00091 template<class ContainerAllocator>
00092 struct MD5Sum< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "c9348736c3ef1fae7afe188eacd6d167";
00096 }
00097
00098 static const char* value(const ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> &) { return value(); }
00099 static const uint64_t static_value1 = 0xc9348736c3ef1faeULL;
00100 static const uint64_t static_value2 = 0x7afe188eacd6d167ULL;
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct DataType< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "applanix_msgs/IntegrationDiagnosticsControl";
00108 }
00109
00110 static const char* value(const ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct Definition< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "# Msg 92\n\
00118 uint16 transaction\n\
00119 \n\
00120 uint8 OUTPUT_IMU_FRAME=0\n\
00121 uint8 OUTPUT_USER_PARAM=1\n\
00122 uint8 output_data\n\
00123 \n\
00124 float32 user_roll\n\
00125 float32 user_pitch\n\
00126 float32 user_heading\n\
00127 uint8[4] reserved\n\
00128 \n\
00129 ";
00130 }
00131
00132 static const char* value(const ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> > : public TrueType {};
00136 }
00137 }
00138
00139 namespace ros
00140 {
00141 namespace serialization
00142 {
00143
00144 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> >
00145 {
00146 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00147 {
00148 stream.next(m.transaction);
00149 stream.next(m.output_data);
00150 stream.next(m.user_roll);
00151 stream.next(m.user_pitch);
00152 stream.next(m.user_heading);
00153 stream.next(m.reserved);
00154 }
00155
00156 ROS_DECLARE_ALLINONE_SERIALIZER;
00157 };
00158 }
00159 }
00160
00161 namespace ros
00162 {
00163 namespace message_operations
00164 {
00165
00166 template<class ContainerAllocator>
00167 struct Printer< ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> >
00168 {
00169 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::IntegrationDiagnosticsControl_<ContainerAllocator> & v)
00170 {
00171 s << indent << "transaction: ";
00172 Printer<uint16_t>::stream(s, indent + " ", v.transaction);
00173 s << indent << "output_data: ";
00174 Printer<uint8_t>::stream(s, indent + " ", v.output_data);
00175 s << indent << "user_roll: ";
00176 Printer<float>::stream(s, indent + " ", v.user_roll);
00177 s << indent << "user_pitch: ";
00178 Printer<float>::stream(s, indent + " ", v.user_pitch);
00179 s << indent << "user_heading: ";
00180 Printer<float>::stream(s, indent + " ", v.user_heading);
00181 s << indent << "reserved[]" << std::endl;
00182 for (size_t i = 0; i < v.reserved.size(); ++i)
00183 {
00184 s << indent << " reserved[" << i << "]: ";
00185 Printer<uint8_t>::stream(s, indent + " ", v.reserved[i]);
00186 }
00187 }
00188 };
00189
00190
00191 }
00192 }
00193
00194 #endif // APPLANIX_MSGS_MESSAGE_INTEGRATIONDIAGNOSTICSCONTROL_H
00195