$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/CalibratedInstallationParameters.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_CALIBRATEDINSTALLATIONPARAMETERS_H 00003 #define APPLANIX_MSGS_MESSAGE_CALIBRATEDINSTALLATIONPARAMETERS_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 #include "geometry_msgs/Point32.h" 00019 #include "geometry_msgs/Point32.h" 00020 #include "geometry_msgs/Point32.h" 00021 #include "geometry_msgs/Point32.h" 00022 00023 namespace applanix_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct CalibratedInstallationParameters_ { 00027 typedef CalibratedInstallationParameters_<ContainerAllocator> Type; 00028 00029 CalibratedInstallationParameters_() 00030 : td() 00031 , status(0) 00032 , primary_gnss_lever_arm() 00033 , primary_gnss_lever_fom(0) 00034 , aux_1_gnss_lever_arm() 00035 , aux_1_gnss_lever_fom(0) 00036 , aux_2_gnss_lever_arm() 00037 , aux_2_gnss_lever_fom(0) 00038 , dmi_lever_arm() 00039 , dmi_lever_fom(0) 00040 , dmi_scale_factor(0.0) 00041 , dmi_scale_factor_fom(0) 00042 { 00043 } 00044 00045 CalibratedInstallationParameters_(const ContainerAllocator& _alloc) 00046 : td(_alloc) 00047 , status(0) 00048 , primary_gnss_lever_arm(_alloc) 00049 , primary_gnss_lever_fom(0) 00050 , aux_1_gnss_lever_arm(_alloc) 00051 , aux_1_gnss_lever_fom(0) 00052 , aux_2_gnss_lever_arm(_alloc) 00053 , aux_2_gnss_lever_fom(0) 00054 , dmi_lever_arm(_alloc) 00055 , dmi_lever_fom(0) 00056 , dmi_scale_factor(0.0) 00057 , dmi_scale_factor_fom(0) 00058 { 00059 } 00060 00061 typedef ::applanix_msgs::TimeDistance_<ContainerAllocator> _td_type; 00062 ::applanix_msgs::TimeDistance_<ContainerAllocator> td; 00063 00064 typedef uint16_t _status_type; 00065 uint16_t status; 00066 00067 typedef ::geometry_msgs::Point32_<ContainerAllocator> _primary_gnss_lever_arm_type; 00068 ::geometry_msgs::Point32_<ContainerAllocator> primary_gnss_lever_arm; 00069 00070 typedef uint16_t _primary_gnss_lever_fom_type; 00071 uint16_t primary_gnss_lever_fom; 00072 00073 typedef ::geometry_msgs::Point32_<ContainerAllocator> _aux_1_gnss_lever_arm_type; 00074 ::geometry_msgs::Point32_<ContainerAllocator> aux_1_gnss_lever_arm; 00075 00076 typedef uint16_t _aux_1_gnss_lever_fom_type; 00077 uint16_t aux_1_gnss_lever_fom; 00078 00079 typedef ::geometry_msgs::Point32_<ContainerAllocator> _aux_2_gnss_lever_arm_type; 00080 ::geometry_msgs::Point32_<ContainerAllocator> aux_2_gnss_lever_arm; 00081 00082 typedef uint16_t _aux_2_gnss_lever_fom_type; 00083 uint16_t aux_2_gnss_lever_fom; 00084 00085 typedef ::geometry_msgs::Point32_<ContainerAllocator> _dmi_lever_arm_type; 00086 ::geometry_msgs::Point32_<ContainerAllocator> dmi_lever_arm; 00087 00088 typedef uint16_t _dmi_lever_fom_type; 00089 uint16_t dmi_lever_fom; 00090 00091 typedef float _dmi_scale_factor_type; 00092 float dmi_scale_factor; 00093 00094 typedef uint16_t _dmi_scale_factor_fom_type; 00095 uint16_t dmi_scale_factor_fom; 00096 00097 enum { STATUS_PRIMARY_GNSS_LEVER_ARM_CALIBRATING = 1 }; 00098 enum { STATUS_AUX_1_GNSS_LEVER_ARM_CALIBRATING = 2 }; 00099 enum { STATUS_AUX_2_GNSS_LEVER_ARM_CALIBRATING = 4 }; 00100 enum { STATUS_DMI_LEVER_ARM_CALIBRATING = 8 }; 00101 enum { STATUS_DMI_SCALE_FACTOR_CALIBRATING = 16 }; 00102 enum { STATUS_POSITION_FIX_LEVER_ARM_CALIBRATING = 64 }; 00103 enum { STATUS_PRIMARY_GNSS_LEVER_ARM_CALIBRATED = 256 }; 00104 enum { STATUS_AUX_1_GNSS_LEVER_ARM_CALIBRATED = 512 }; 00105 enum { STATUS_AUX_2_GNSS_LEVER_ARM_CALIBRATED = 1024 }; 00106 enum { STATUS_DMI_LEVER_ARM_CALIBRATED = 2048 }; 00107 enum { STATUS_DMI_SCALE_FACTOR_CALIBRATED = 4096 }; 00108 enum { STATUS_POSITION_FIX_LEVER_ARM_CALIBRATED = 16384 }; 00109 00110 private: 00111 static const char* __s_getDataType_() { return "applanix_msgs/CalibratedInstallationParameters"; } 00112 public: 00113 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00114 00115 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00116 00117 private: 00118 static const char* __s_getMD5Sum_() { return "1477542d348ed571610f2395143ec8d8"; } 00119 public: 00120 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00121 00122 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00123 00124 private: 00125 static const char* __s_getMessageDefinition_() { return "# Group 14\n\ 00126 TimeDistance td\n\ 00127 \n\ 00128 # Bitfield\n\ 00129 uint16 STATUS_PRIMARY_GNSS_LEVER_ARM_CALIBRATING=1\n\ 00130 uint16 STATUS_AUX_1_GNSS_LEVER_ARM_CALIBRATING=2\n\ 00131 uint16 STATUS_AUX_2_GNSS_LEVER_ARM_CALIBRATING=4\n\ 00132 uint16 STATUS_DMI_LEVER_ARM_CALIBRATING=8\n\ 00133 uint16 STATUS_DMI_SCALE_FACTOR_CALIBRATING=16\n\ 00134 uint16 STATUS_POSITION_FIX_LEVER_ARM_CALIBRATING=64\n\ 00135 uint16 STATUS_PRIMARY_GNSS_LEVER_ARM_CALIBRATED=256\n\ 00136 uint16 STATUS_AUX_1_GNSS_LEVER_ARM_CALIBRATED=512\n\ 00137 uint16 STATUS_AUX_2_GNSS_LEVER_ARM_CALIBRATED=1024\n\ 00138 uint16 STATUS_DMI_LEVER_ARM_CALIBRATED=2048\n\ 00139 uint16 STATUS_DMI_SCALE_FACTOR_CALIBRATED=4096\n\ 00140 uint16 STATUS_POSITION_FIX_LEVER_ARM_CALIBRATED=16384\n\ 00141 uint16 status\n\ 00142 \n\ 00143 geometry_msgs/Point32 primary_gnss_lever_arm\n\ 00144 uint16 primary_gnss_lever_fom\n\ 00145 \n\ 00146 geometry_msgs/Point32 aux_1_gnss_lever_arm\n\ 00147 uint16 aux_1_gnss_lever_fom\n\ 00148 \n\ 00149 geometry_msgs/Point32 aux_2_gnss_lever_arm\n\ 00150 uint16 aux_2_gnss_lever_fom\n\ 00151 \n\ 00152 geometry_msgs/Point32 dmi_lever_arm\n\ 00153 uint16 dmi_lever_fom\n\ 00154 \n\ 00155 float32 dmi_scale_factor\n\ 00156 uint16 dmi_scale_factor_fom\n\ 00157 \n\ 00158 ================================================================================\n\ 00159 MSG: applanix_msgs/TimeDistance\n\ 00160 float64 time1\n\ 00161 float64 time2\n\ 00162 float64 distance\n\ 00163 uint8 time_types\n\ 00164 uint8 distance_type\n\ 00165 \n\ 00166 ================================================================================\n\ 00167 MSG: geometry_msgs/Point32\n\ 00168 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00169 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00170 # \n\ 00171 # This recommendation is to promote interoperability. \n\ 00172 #\n\ 00173 # This message is designed to take up less space when sending\n\ 00174 # lots of points at once, as in the case of a PointCloud. \n\ 00175 \n\ 00176 float32 x\n\ 00177 float32 y\n\ 00178 float32 z\n\ 00179 "; } 00180 public: 00181 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00182 00183 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00184 00185 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00186 { 00187 ros::serialization::OStream stream(write_ptr, 1000000000); 00188 ros::serialization::serialize(stream, td); 00189 ros::serialization::serialize(stream, status); 00190 ros::serialization::serialize(stream, primary_gnss_lever_arm); 00191 ros::serialization::serialize(stream, primary_gnss_lever_fom); 00192 ros::serialization::serialize(stream, aux_1_gnss_lever_arm); 00193 ros::serialization::serialize(stream, aux_1_gnss_lever_fom); 00194 ros::serialization::serialize(stream, aux_2_gnss_lever_arm); 00195 ros::serialization::serialize(stream, aux_2_gnss_lever_fom); 00196 ros::serialization::serialize(stream, dmi_lever_arm); 00197 ros::serialization::serialize(stream, dmi_lever_fom); 00198 ros::serialization::serialize(stream, dmi_scale_factor); 00199 ros::serialization::serialize(stream, dmi_scale_factor_fom); 00200 return stream.getData(); 00201 } 00202 00203 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00204 { 00205 ros::serialization::IStream stream(read_ptr, 1000000000); 00206 ros::serialization::deserialize(stream, td); 00207 ros::serialization::deserialize(stream, status); 00208 ros::serialization::deserialize(stream, primary_gnss_lever_arm); 00209 ros::serialization::deserialize(stream, primary_gnss_lever_fom); 00210 ros::serialization::deserialize(stream, aux_1_gnss_lever_arm); 00211 ros::serialization::deserialize(stream, aux_1_gnss_lever_fom); 00212 ros::serialization::deserialize(stream, aux_2_gnss_lever_arm); 00213 ros::serialization::deserialize(stream, aux_2_gnss_lever_fom); 00214 ros::serialization::deserialize(stream, dmi_lever_arm); 00215 ros::serialization::deserialize(stream, dmi_lever_fom); 00216 ros::serialization::deserialize(stream, dmi_scale_factor); 00217 ros::serialization::deserialize(stream, dmi_scale_factor_fom); 00218 return stream.getData(); 00219 } 00220 00221 ROS_DEPRECATED virtual uint32_t serializationLength() const 00222 { 00223 uint32_t size = 0; 00224 size += ros::serialization::serializationLength(td); 00225 size += ros::serialization::serializationLength(status); 00226 size += ros::serialization::serializationLength(primary_gnss_lever_arm); 00227 size += ros::serialization::serializationLength(primary_gnss_lever_fom); 00228 size += ros::serialization::serializationLength(aux_1_gnss_lever_arm); 00229 size += ros::serialization::serializationLength(aux_1_gnss_lever_fom); 00230 size += ros::serialization::serializationLength(aux_2_gnss_lever_arm); 00231 size += ros::serialization::serializationLength(aux_2_gnss_lever_fom); 00232 size += ros::serialization::serializationLength(dmi_lever_arm); 00233 size += ros::serialization::serializationLength(dmi_lever_fom); 00234 size += ros::serialization::serializationLength(dmi_scale_factor); 00235 size += ros::serialization::serializationLength(dmi_scale_factor_fom); 00236 return size; 00237 } 00238 00239 typedef boost::shared_ptr< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > Ptr; 00240 typedef boost::shared_ptr< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> const> ConstPtr; 00241 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00242 }; // struct CalibratedInstallationParameters 00243 typedef ::applanix_msgs::CalibratedInstallationParameters_<std::allocator<void> > CalibratedInstallationParameters; 00244 00245 typedef boost::shared_ptr< ::applanix_msgs::CalibratedInstallationParameters> CalibratedInstallationParametersPtr; 00246 typedef boost::shared_ptr< ::applanix_msgs::CalibratedInstallationParameters const> CalibratedInstallationParametersConstPtr; 00247 00248 00249 template<typename ContainerAllocator> 00250 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> & v) 00251 { 00252 ros::message_operations::Printer< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> >::stream(s, "", v); 00253 return s;} 00254 00255 } // namespace applanix_msgs 00256 00257 namespace ros 00258 { 00259 namespace message_traits 00260 { 00261 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > : public TrueType {}; 00262 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> const> : public TrueType {}; 00263 template<class ContainerAllocator> 00264 struct MD5Sum< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "1477542d348ed571610f2395143ec8d8"; 00268 } 00269 00270 static const char* value(const ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> &) { return value(); } 00271 static const uint64_t static_value1 = 0x1477542d348ed571ULL; 00272 static const uint64_t static_value2 = 0x610f2395143ec8d8ULL; 00273 }; 00274 00275 template<class ContainerAllocator> 00276 struct DataType< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > { 00277 static const char* value() 00278 { 00279 return "applanix_msgs/CalibratedInstallationParameters"; 00280 } 00281 00282 static const char* value(const ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> &) { return value(); } 00283 }; 00284 00285 template<class ContainerAllocator> 00286 struct Definition< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > { 00287 static const char* value() 00288 { 00289 return "# Group 14\n\ 00290 TimeDistance td\n\ 00291 \n\ 00292 # Bitfield\n\ 00293 uint16 STATUS_PRIMARY_GNSS_LEVER_ARM_CALIBRATING=1\n\ 00294 uint16 STATUS_AUX_1_GNSS_LEVER_ARM_CALIBRATING=2\n\ 00295 uint16 STATUS_AUX_2_GNSS_LEVER_ARM_CALIBRATING=4\n\ 00296 uint16 STATUS_DMI_LEVER_ARM_CALIBRATING=8\n\ 00297 uint16 STATUS_DMI_SCALE_FACTOR_CALIBRATING=16\n\ 00298 uint16 STATUS_POSITION_FIX_LEVER_ARM_CALIBRATING=64\n\ 00299 uint16 STATUS_PRIMARY_GNSS_LEVER_ARM_CALIBRATED=256\n\ 00300 uint16 STATUS_AUX_1_GNSS_LEVER_ARM_CALIBRATED=512\n\ 00301 uint16 STATUS_AUX_2_GNSS_LEVER_ARM_CALIBRATED=1024\n\ 00302 uint16 STATUS_DMI_LEVER_ARM_CALIBRATED=2048\n\ 00303 uint16 STATUS_DMI_SCALE_FACTOR_CALIBRATED=4096\n\ 00304 uint16 STATUS_POSITION_FIX_LEVER_ARM_CALIBRATED=16384\n\ 00305 uint16 status\n\ 00306 \n\ 00307 geometry_msgs/Point32 primary_gnss_lever_arm\n\ 00308 uint16 primary_gnss_lever_fom\n\ 00309 \n\ 00310 geometry_msgs/Point32 aux_1_gnss_lever_arm\n\ 00311 uint16 aux_1_gnss_lever_fom\n\ 00312 \n\ 00313 geometry_msgs/Point32 aux_2_gnss_lever_arm\n\ 00314 uint16 aux_2_gnss_lever_fom\n\ 00315 \n\ 00316 geometry_msgs/Point32 dmi_lever_arm\n\ 00317 uint16 dmi_lever_fom\n\ 00318 \n\ 00319 float32 dmi_scale_factor\n\ 00320 uint16 dmi_scale_factor_fom\n\ 00321 \n\ 00322 ================================================================================\n\ 00323 MSG: applanix_msgs/TimeDistance\n\ 00324 float64 time1\n\ 00325 float64 time2\n\ 00326 float64 distance\n\ 00327 uint8 time_types\n\ 00328 uint8 distance_type\n\ 00329 \n\ 00330 ================================================================================\n\ 00331 MSG: geometry_msgs/Point32\n\ 00332 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00333 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00334 # \n\ 00335 # This recommendation is to promote interoperability. \n\ 00336 #\n\ 00337 # This message is designed to take up less space when sending\n\ 00338 # lots of points at once, as in the case of a PointCloud. \n\ 00339 \n\ 00340 float32 x\n\ 00341 float32 y\n\ 00342 float32 z\n\ 00343 "; 00344 } 00345 00346 static const char* value(const ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> &) { return value(); } 00347 }; 00348 00349 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > : public TrueType {}; 00350 } // namespace message_traits 00351 } // namespace ros 00352 00353 namespace ros 00354 { 00355 namespace serialization 00356 { 00357 00358 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > 00359 { 00360 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00361 { 00362 stream.next(m.td); 00363 stream.next(m.status); 00364 stream.next(m.primary_gnss_lever_arm); 00365 stream.next(m.primary_gnss_lever_fom); 00366 stream.next(m.aux_1_gnss_lever_arm); 00367 stream.next(m.aux_1_gnss_lever_fom); 00368 stream.next(m.aux_2_gnss_lever_arm); 00369 stream.next(m.aux_2_gnss_lever_fom); 00370 stream.next(m.dmi_lever_arm); 00371 stream.next(m.dmi_lever_fom); 00372 stream.next(m.dmi_scale_factor); 00373 stream.next(m.dmi_scale_factor_fom); 00374 } 00375 00376 ROS_DECLARE_ALLINONE_SERIALIZER; 00377 }; // struct CalibratedInstallationParameters_ 00378 } // namespace serialization 00379 } // namespace ros 00380 00381 namespace ros 00382 { 00383 namespace message_operations 00384 { 00385 00386 template<class ContainerAllocator> 00387 struct Printer< ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> > 00388 { 00389 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::CalibratedInstallationParameters_<ContainerAllocator> & v) 00390 { 00391 s << indent << "td: "; 00392 s << std::endl; 00393 Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + " ", v.td); 00394 s << indent << "status: "; 00395 Printer<uint16_t>::stream(s, indent + " ", v.status); 00396 s << indent << "primary_gnss_lever_arm: "; 00397 s << std::endl; 00398 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.primary_gnss_lever_arm); 00399 s << indent << "primary_gnss_lever_fom: "; 00400 Printer<uint16_t>::stream(s, indent + " ", v.primary_gnss_lever_fom); 00401 s << indent << "aux_1_gnss_lever_arm: "; 00402 s << std::endl; 00403 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.aux_1_gnss_lever_arm); 00404 s << indent << "aux_1_gnss_lever_fom: "; 00405 Printer<uint16_t>::stream(s, indent + " ", v.aux_1_gnss_lever_fom); 00406 s << indent << "aux_2_gnss_lever_arm: "; 00407 s << std::endl; 00408 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.aux_2_gnss_lever_arm); 00409 s << indent << "aux_2_gnss_lever_fom: "; 00410 Printer<uint16_t>::stream(s, indent + " ", v.aux_2_gnss_lever_fom); 00411 s << indent << "dmi_lever_arm: "; 00412 s << std::endl; 00413 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.dmi_lever_arm); 00414 s << indent << "dmi_lever_fom: "; 00415 Printer<uint16_t>::stream(s, indent + " ", v.dmi_lever_fom); 00416 s << indent << "dmi_scale_factor: "; 00417 Printer<float>::stream(s, indent + " ", v.dmi_scale_factor); 00418 s << indent << "dmi_scale_factor_fom: "; 00419 Printer<uint16_t>::stream(s, indent + " ", v.dmi_scale_factor_fom); 00420 } 00421 }; 00422 00423 00424 } // namespace message_operations 00425 } // namespace ros 00426 00427 #endif // APPLANIX_MSGS_MESSAGE_CALIBRATEDINSTALLATIONPARAMETERS_H 00428