Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_GAMSPARAMS_H
00003 #define APPLANIX_MSGS_MESSAGE_GAMSPARAMS_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/Point32.h"
00018
00019 namespace applanix_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct GAMSParams_ {
00023 typedef GAMSParams_<ContainerAllocator> Type;
00024
00025 GAMSParams_()
00026 : transaction(0)
00027 , antenna_separation(0.0)
00028 , baseline_vector()
00029 , max_heading_error_rms(0.0)
00030 , heading_correction(0.0)
00031 {
00032 }
00033
00034 GAMSParams_(const ContainerAllocator& _alloc)
00035 : transaction(0)
00036 , antenna_separation(0.0)
00037 , baseline_vector(_alloc)
00038 , max_heading_error_rms(0.0)
00039 , heading_correction(0.0)
00040 {
00041 }
00042
00043 typedef uint16_t _transaction_type;
00044 uint16_t transaction;
00045
00046 typedef float _antenna_separation_type;
00047 float antenna_separation;
00048
00049 typedef ::geometry_msgs::Point32_<ContainerAllocator> _baseline_vector_type;
00050 ::geometry_msgs::Point32_<ContainerAllocator> baseline_vector;
00051
00052 typedef float _max_heading_error_rms_type;
00053 float max_heading_error_rms;
00054
00055 typedef float _heading_correction_type;
00056 float heading_correction;
00057
00058
00059 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::applanix_msgs::GAMSParams_<std::allocator<void> > GAMSParams;
00064
00065 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams> GAMSParamsPtr;
00066 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams const> GAMSParamsConstPtr;
00067
00068
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::GAMSParams_<ContainerAllocator> & v)
00071 {
00072 ros::message_operations::Printer< ::applanix_msgs::GAMSParams_<ContainerAllocator> >::stream(s, "", v);
00073 return s;}
00074
00075 }
00076
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GAMSParams_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GAMSParams_<ContainerAllocator> const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::applanix_msgs::GAMSParams_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "8dc87272f9e4678c71c9588bfa987256";
00088 }
00089
00090 static const char* value(const ::applanix_msgs::GAMSParams_<ContainerAllocator> &) { return value(); }
00091 static const uint64_t static_value1 = 0x8dc87272f9e4678cULL;
00092 static const uint64_t static_value2 = 0x71c9588bfa987256ULL;
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct DataType< ::applanix_msgs::GAMSParams_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "applanix_msgs/GAMSParams";
00100 }
00101
00102 static const char* value(const ::applanix_msgs::GAMSParams_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct Definition< ::applanix_msgs::GAMSParams_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "# Msg 21\n\
00110 uint16 transaction\n\
00111 \n\
00112 float32 antenna_separation\n\
00113 \n\
00114 geometry_msgs/Point32 baseline_vector\n\
00115 float32 max_heading_error_rms\n\
00116 float32 heading_correction\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: geometry_msgs/Point32\n\
00120 # This contains the position of a point in free space(with 32 bits of precision).\n\
00121 # It is recommeded to use Point wherever possible instead of Point32. \n\
00122 # \n\
00123 # This recommendation is to promote interoperability. \n\
00124 #\n\
00125 # This message is designed to take up less space when sending\n\
00126 # lots of points at once, as in the case of a PointCloud. \n\
00127 \n\
00128 float32 x\n\
00129 float32 y\n\
00130 float32 z\n\
00131 ";
00132 }
00133
00134 static const char* value(const ::applanix_msgs::GAMSParams_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GAMSParams_<ContainerAllocator> > : public TrueType {};
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145
00146 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GAMSParams_<ContainerAllocator> >
00147 {
00148 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149 {
00150 stream.next(m.transaction);
00151 stream.next(m.antenna_separation);
00152 stream.next(m.baseline_vector);
00153 stream.next(m.max_heading_error_rms);
00154 stream.next(m.heading_correction);
00155 }
00156
00157 ROS_DECLARE_ALLINONE_SERIALIZER;
00158 };
00159 }
00160 }
00161
00162 namespace ros
00163 {
00164 namespace message_operations
00165 {
00166
00167 template<class ContainerAllocator>
00168 struct Printer< ::applanix_msgs::GAMSParams_<ContainerAllocator> >
00169 {
00170 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::GAMSParams_<ContainerAllocator> & v)
00171 {
00172 s << indent << "transaction: ";
00173 Printer<uint16_t>::stream(s, indent + " ", v.transaction);
00174 s << indent << "antenna_separation: ";
00175 Printer<float>::stream(s, indent + " ", v.antenna_separation);
00176 s << indent << "baseline_vector: ";
00177 s << std::endl;
00178 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.baseline_vector);
00179 s << indent << "max_heading_error_rms: ";
00180 Printer<float>::stream(s, indent + " ", v.max_heading_error_rms);
00181 s << indent << "heading_correction: ";
00182 Printer<float>::stream(s, indent + " ", v.heading_correction);
00183 }
00184 };
00185
00186
00187 }
00188 }
00189
00190 #endif // APPLANIX_MSGS_MESSAGE_GAMSPARAMS_H
00191