$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-applanix_driver/doc_stacks/2013-03-01_14-05-02.457261/applanix_driver/applanix_msgs/msg/NavigationPerformance.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_NAVIGATIONPERFORMANCE_H 00003 #define APPLANIX_MSGS_MESSAGE_NAVIGATIONPERFORMANCE_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 "applanix_msgs/TimeDistance.h" 00018 00019 namespace applanix_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct NavigationPerformance_ { 00023 typedef NavigationPerformance_<ContainerAllocator> Type; 00024 00025 NavigationPerformance_() 00026 : td() 00027 , north_pos_rms_err(0.0) 00028 , east_pos_rms_err(0.0) 00029 , down_pos_rms_err(0.0) 00030 , north_vel_rms_err(0.0) 00031 , east_vel_rms_err(0.0) 00032 , down_vel_rms_err(0.0) 00033 , roll_rms_err(0.0) 00034 , pitch_rms_err(0.0) 00035 , heading_rms_err(0.0) 00036 , err_ellipsoid_semi_major(0.0) 00037 , err_ellipsoid_semi_minor(0.0) 00038 , err_ellipsoid_orientation(0.0) 00039 { 00040 } 00041 00042 NavigationPerformance_(const ContainerAllocator& _alloc) 00043 : td(_alloc) 00044 , north_pos_rms_err(0.0) 00045 , east_pos_rms_err(0.0) 00046 , down_pos_rms_err(0.0) 00047 , north_vel_rms_err(0.0) 00048 , east_vel_rms_err(0.0) 00049 , down_vel_rms_err(0.0) 00050 , roll_rms_err(0.0) 00051 , pitch_rms_err(0.0) 00052 , heading_rms_err(0.0) 00053 , err_ellipsoid_semi_major(0.0) 00054 , err_ellipsoid_semi_minor(0.0) 00055 , err_ellipsoid_orientation(0.0) 00056 { 00057 } 00058 00059 typedef ::applanix_msgs::TimeDistance_<ContainerAllocator> _td_type; 00060 ::applanix_msgs::TimeDistance_<ContainerAllocator> td; 00061 00062 typedef float _north_pos_rms_err_type; 00063 float north_pos_rms_err; 00064 00065 typedef float _east_pos_rms_err_type; 00066 float east_pos_rms_err; 00067 00068 typedef float _down_pos_rms_err_type; 00069 float down_pos_rms_err; 00070 00071 typedef float _north_vel_rms_err_type; 00072 float north_vel_rms_err; 00073 00074 typedef float _east_vel_rms_err_type; 00075 float east_vel_rms_err; 00076 00077 typedef float _down_vel_rms_err_type; 00078 float down_vel_rms_err; 00079 00080 typedef float _roll_rms_err_type; 00081 float roll_rms_err; 00082 00083 typedef float _pitch_rms_err_type; 00084 float pitch_rms_err; 00085 00086 typedef float _heading_rms_err_type; 00087 float heading_rms_err; 00088 00089 typedef float _err_ellipsoid_semi_major_type; 00090 float err_ellipsoid_semi_major; 00091 00092 typedef float _err_ellipsoid_semi_minor_type; 00093 float err_ellipsoid_semi_minor; 00094 00095 typedef float _err_ellipsoid_orientation_type; 00096 float err_ellipsoid_orientation; 00097 00098 00099 private: 00100 static const char* __s_getDataType_() { return "applanix_msgs/NavigationPerformance"; } 00101 public: 00102 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00103 00104 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00105 00106 private: 00107 static const char* __s_getMD5Sum_() { return "87142b322e1d6228f4c064ddcf1697bc"; } 00108 public: 00109 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00110 00111 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00112 00113 private: 00114 static const char* __s_getMessageDefinition_() { return "TimeDistance td\n\ 00115 \n\ 00116 float32 north_pos_rms_err\n\ 00117 float32 east_pos_rms_err\n\ 00118 float32 down_pos_rms_err\n\ 00119 \n\ 00120 float32 north_vel_rms_err\n\ 00121 float32 east_vel_rms_err\n\ 00122 float32 down_vel_rms_err\n\ 00123 \n\ 00124 float32 roll_rms_err\n\ 00125 float32 pitch_rms_err\n\ 00126 float32 heading_rms_err\n\ 00127 \n\ 00128 float32 err_ellipsoid_semi_major\n\ 00129 float32 err_ellipsoid_semi_minor\n\ 00130 float32 err_ellipsoid_orientation\n\ 00131 \n\ 00132 ================================================================================\n\ 00133 MSG: applanix_msgs/TimeDistance\n\ 00134 float64 time1\n\ 00135 float64 time2\n\ 00136 float64 distance\n\ 00137 uint8 time_types\n\ 00138 uint8 distance_type\n\ 00139 \n\ 00140 "; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00143 00144 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00145 00146 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00147 { 00148 ros::serialization::OStream stream(write_ptr, 1000000000); 00149 ros::serialization::serialize(stream, td); 00150 ros::serialization::serialize(stream, north_pos_rms_err); 00151 ros::serialization::serialize(stream, east_pos_rms_err); 00152 ros::serialization::serialize(stream, down_pos_rms_err); 00153 ros::serialization::serialize(stream, north_vel_rms_err); 00154 ros::serialization::serialize(stream, east_vel_rms_err); 00155 ros::serialization::serialize(stream, down_vel_rms_err); 00156 ros::serialization::serialize(stream, roll_rms_err); 00157 ros::serialization::serialize(stream, pitch_rms_err); 00158 ros::serialization::serialize(stream, heading_rms_err); 00159 ros::serialization::serialize(stream, err_ellipsoid_semi_major); 00160 ros::serialization::serialize(stream, err_ellipsoid_semi_minor); 00161 ros::serialization::serialize(stream, err_ellipsoid_orientation); 00162 return stream.getData(); 00163 } 00164 00165 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00166 { 00167 ros::serialization::IStream stream(read_ptr, 1000000000); 00168 ros::serialization::deserialize(stream, td); 00169 ros::serialization::deserialize(stream, north_pos_rms_err); 00170 ros::serialization::deserialize(stream, east_pos_rms_err); 00171 ros::serialization::deserialize(stream, down_pos_rms_err); 00172 ros::serialization::deserialize(stream, north_vel_rms_err); 00173 ros::serialization::deserialize(stream, east_vel_rms_err); 00174 ros::serialization::deserialize(stream, down_vel_rms_err); 00175 ros::serialization::deserialize(stream, roll_rms_err); 00176 ros::serialization::deserialize(stream, pitch_rms_err); 00177 ros::serialization::deserialize(stream, heading_rms_err); 00178 ros::serialization::deserialize(stream, err_ellipsoid_semi_major); 00179 ros::serialization::deserialize(stream, err_ellipsoid_semi_minor); 00180 ros::serialization::deserialize(stream, err_ellipsoid_orientation); 00181 return stream.getData(); 00182 } 00183 00184 ROS_DEPRECATED virtual uint32_t serializationLength() const 00185 { 00186 uint32_t size = 0; 00187 size += ros::serialization::serializationLength(td); 00188 size += ros::serialization::serializationLength(north_pos_rms_err); 00189 size += ros::serialization::serializationLength(east_pos_rms_err); 00190 size += ros::serialization::serializationLength(down_pos_rms_err); 00191 size += ros::serialization::serializationLength(north_vel_rms_err); 00192 size += ros::serialization::serializationLength(east_vel_rms_err); 00193 size += ros::serialization::serializationLength(down_vel_rms_err); 00194 size += ros::serialization::serializationLength(roll_rms_err); 00195 size += ros::serialization::serializationLength(pitch_rms_err); 00196 size += ros::serialization::serializationLength(heading_rms_err); 00197 size += ros::serialization::serializationLength(err_ellipsoid_semi_major); 00198 size += ros::serialization::serializationLength(err_ellipsoid_semi_minor); 00199 size += ros::serialization::serializationLength(err_ellipsoid_orientation); 00200 return size; 00201 } 00202 00203 typedef boost::shared_ptr< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > Ptr; 00204 typedef boost::shared_ptr< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> const> ConstPtr; 00205 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00206 }; // struct NavigationPerformance 00207 typedef ::applanix_msgs::NavigationPerformance_<std::allocator<void> > NavigationPerformance; 00208 00209 typedef boost::shared_ptr< ::applanix_msgs::NavigationPerformance> NavigationPerformancePtr; 00210 typedef boost::shared_ptr< ::applanix_msgs::NavigationPerformance const> NavigationPerformanceConstPtr; 00211 00212 00213 template<typename ContainerAllocator> 00214 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::NavigationPerformance_<ContainerAllocator> & v) 00215 { 00216 ros::message_operations::Printer< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> >::stream(s, "", v); 00217 return s;} 00218 00219 } // namespace applanix_msgs 00220 00221 namespace ros 00222 { 00223 namespace message_traits 00224 { 00225 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > : public TrueType {}; 00226 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> const> : public TrueType {}; 00227 template<class ContainerAllocator> 00228 struct MD5Sum< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > { 00229 static const char* value() 00230 { 00231 return "87142b322e1d6228f4c064ddcf1697bc"; 00232 } 00233 00234 static const char* value(const ::applanix_msgs::NavigationPerformance_<ContainerAllocator> &) { return value(); } 00235 static const uint64_t static_value1 = 0x87142b322e1d6228ULL; 00236 static const uint64_t static_value2 = 0xf4c064ddcf1697bcULL; 00237 }; 00238 00239 template<class ContainerAllocator> 00240 struct DataType< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > { 00241 static const char* value() 00242 { 00243 return "applanix_msgs/NavigationPerformance"; 00244 } 00245 00246 static const char* value(const ::applanix_msgs::NavigationPerformance_<ContainerAllocator> &) { return value(); } 00247 }; 00248 00249 template<class ContainerAllocator> 00250 struct Definition< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "TimeDistance td\n\ 00254 \n\ 00255 float32 north_pos_rms_err\n\ 00256 float32 east_pos_rms_err\n\ 00257 float32 down_pos_rms_err\n\ 00258 \n\ 00259 float32 north_vel_rms_err\n\ 00260 float32 east_vel_rms_err\n\ 00261 float32 down_vel_rms_err\n\ 00262 \n\ 00263 float32 roll_rms_err\n\ 00264 float32 pitch_rms_err\n\ 00265 float32 heading_rms_err\n\ 00266 \n\ 00267 float32 err_ellipsoid_semi_major\n\ 00268 float32 err_ellipsoid_semi_minor\n\ 00269 float32 err_ellipsoid_orientation\n\ 00270 \n\ 00271 ================================================================================\n\ 00272 MSG: applanix_msgs/TimeDistance\n\ 00273 float64 time1\n\ 00274 float64 time2\n\ 00275 float64 distance\n\ 00276 uint8 time_types\n\ 00277 uint8 distance_type\n\ 00278 \n\ 00279 "; 00280 } 00281 00282 static const char* value(const ::applanix_msgs::NavigationPerformance_<ContainerAllocator> &) { return value(); } 00283 }; 00284 00285 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > : public TrueType {}; 00286 } // namespace message_traits 00287 } // namespace ros 00288 00289 namespace ros 00290 { 00291 namespace serialization 00292 { 00293 00294 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > 00295 { 00296 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00297 { 00298 stream.next(m.td); 00299 stream.next(m.north_pos_rms_err); 00300 stream.next(m.east_pos_rms_err); 00301 stream.next(m.down_pos_rms_err); 00302 stream.next(m.north_vel_rms_err); 00303 stream.next(m.east_vel_rms_err); 00304 stream.next(m.down_vel_rms_err); 00305 stream.next(m.roll_rms_err); 00306 stream.next(m.pitch_rms_err); 00307 stream.next(m.heading_rms_err); 00308 stream.next(m.err_ellipsoid_semi_major); 00309 stream.next(m.err_ellipsoid_semi_minor); 00310 stream.next(m.err_ellipsoid_orientation); 00311 } 00312 00313 ROS_DECLARE_ALLINONE_SERIALIZER; 00314 }; // struct NavigationPerformance_ 00315 } // namespace serialization 00316 } // namespace ros 00317 00318 namespace ros 00319 { 00320 namespace message_operations 00321 { 00322 00323 template<class ContainerAllocator> 00324 struct Printer< ::applanix_msgs::NavigationPerformance_<ContainerAllocator> > 00325 { 00326 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::NavigationPerformance_<ContainerAllocator> & v) 00327 { 00328 s << indent << "td: "; 00329 s << std::endl; 00330 Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + " ", v.td); 00331 s << indent << "north_pos_rms_err: "; 00332 Printer<float>::stream(s, indent + " ", v.north_pos_rms_err); 00333 s << indent << "east_pos_rms_err: "; 00334 Printer<float>::stream(s, indent + " ", v.east_pos_rms_err); 00335 s << indent << "down_pos_rms_err: "; 00336 Printer<float>::stream(s, indent + " ", v.down_pos_rms_err); 00337 s << indent << "north_vel_rms_err: "; 00338 Printer<float>::stream(s, indent + " ", v.north_vel_rms_err); 00339 s << indent << "east_vel_rms_err: "; 00340 Printer<float>::stream(s, indent + " ", v.east_vel_rms_err); 00341 s << indent << "down_vel_rms_err: "; 00342 Printer<float>::stream(s, indent + " ", v.down_vel_rms_err); 00343 s << indent << "roll_rms_err: "; 00344 Printer<float>::stream(s, indent + " ", v.roll_rms_err); 00345 s << indent << "pitch_rms_err: "; 00346 Printer<float>::stream(s, indent + " ", v.pitch_rms_err); 00347 s << indent << "heading_rms_err: "; 00348 Printer<float>::stream(s, indent + " ", v.heading_rms_err); 00349 s << indent << "err_ellipsoid_semi_major: "; 00350 Printer<float>::stream(s, indent + " ", v.err_ellipsoid_semi_major); 00351 s << indent << "err_ellipsoid_semi_minor: "; 00352 Printer<float>::stream(s, indent + " ", v.err_ellipsoid_semi_minor); 00353 s << indent << "err_ellipsoid_orientation: "; 00354 Printer<float>::stream(s, indent + " ", v.err_ellipsoid_orientation); 00355 } 00356 }; 00357 00358 00359 } // namespace message_operations 00360 } // namespace ros 00361 00362 #endif // APPLANIX_MSGS_MESSAGE_NAVIGATIONPERFORMANCE_H 00363