$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/GeneralParams.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_GENERALPARAMS_H 00003 #define APPLANIX_MSGS_MESSAGE_GENERALPARAMS_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 #include "geometry_msgs/Point32.h" 00019 #include "geometry_msgs/Point32.h" 00020 #include "geometry_msgs/Point32.h" 00021 #include "geometry_msgs/Point32.h" 00022 #include "geometry_msgs/Point32.h" 00023 00024 namespace applanix_msgs 00025 { 00026 template <class ContainerAllocator> 00027 struct GeneralParams_ { 00028 typedef GeneralParams_<ContainerAllocator> Type; 00029 00030 GeneralParams_() 00031 : transaction(0) 00032 , time_types(0) 00033 , distance_type(0) 00034 , autostart(0) 00035 , imu_lever_arm() 00036 , primary_gnss_lever_arm() 00037 , aux_1_gnss_lever_arm() 00038 , aux_2_gnss_lever_arm() 00039 , imu_mounting_angle() 00040 , ref_mounting_angle() 00041 , multipath(0) 00042 { 00043 } 00044 00045 GeneralParams_(const ContainerAllocator& _alloc) 00046 : transaction(0) 00047 , time_types(0) 00048 , distance_type(0) 00049 , autostart(0) 00050 , imu_lever_arm(_alloc) 00051 , primary_gnss_lever_arm(_alloc) 00052 , aux_1_gnss_lever_arm(_alloc) 00053 , aux_2_gnss_lever_arm(_alloc) 00054 , imu_mounting_angle(_alloc) 00055 , ref_mounting_angle(_alloc) 00056 , multipath(0) 00057 { 00058 } 00059 00060 typedef uint16_t _transaction_type; 00061 uint16_t transaction; 00062 00063 typedef uint8_t _time_types_type; 00064 uint8_t time_types; 00065 00066 typedef uint8_t _distance_type_type; 00067 uint8_t distance_type; 00068 00069 typedef uint8_t _autostart_type; 00070 uint8_t autostart; 00071 00072 typedef ::geometry_msgs::Point32_<ContainerAllocator> _imu_lever_arm_type; 00073 ::geometry_msgs::Point32_<ContainerAllocator> imu_lever_arm; 00074 00075 typedef ::geometry_msgs::Point32_<ContainerAllocator> _primary_gnss_lever_arm_type; 00076 ::geometry_msgs::Point32_<ContainerAllocator> primary_gnss_lever_arm; 00077 00078 typedef ::geometry_msgs::Point32_<ContainerAllocator> _aux_1_gnss_lever_arm_type; 00079 ::geometry_msgs::Point32_<ContainerAllocator> aux_1_gnss_lever_arm; 00080 00081 typedef ::geometry_msgs::Point32_<ContainerAllocator> _aux_2_gnss_lever_arm_type; 00082 ::geometry_msgs::Point32_<ContainerAllocator> aux_2_gnss_lever_arm; 00083 00084 typedef ::geometry_msgs::Point32_<ContainerAllocator> _imu_mounting_angle_type; 00085 ::geometry_msgs::Point32_<ContainerAllocator> imu_mounting_angle; 00086 00087 typedef ::geometry_msgs::Point32_<ContainerAllocator> _ref_mounting_angle_type; 00088 ::geometry_msgs::Point32_<ContainerAllocator> ref_mounting_angle; 00089 00090 typedef uint8_t _multipath_type; 00091 uint8_t multipath; 00092 00093 enum { MULTIPATH_LOW = 0 }; 00094 enum { MULTIPATH_MEDIUM = 1 }; 00095 enum { MULTIPATH_HIGH = 2 }; 00096 00097 private: 00098 static const char* __s_getDataType_() { return "applanix_msgs/GeneralParams"; } 00099 public: 00100 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00101 00102 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00103 00104 private: 00105 static const char* __s_getMD5Sum_() { return "dd32351725c9c39d1131c0be17b24a7b"; } 00106 public: 00107 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00108 00109 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00110 00111 private: 00112 static const char* __s_getMessageDefinition_() { return "# Msg 20\n\ 00113 uint16 transaction\n\ 00114 \n\ 00115 uint8 time_types\n\ 00116 uint8 distance_type\n\ 00117 uint8 autostart\n\ 00118 \n\ 00119 geometry_msgs/Point32 imu_lever_arm\n\ 00120 geometry_msgs/Point32 primary_gnss_lever_arm\n\ 00121 geometry_msgs/Point32 aux_1_gnss_lever_arm\n\ 00122 geometry_msgs/Point32 aux_2_gnss_lever_arm\n\ 00123 geometry_msgs/Point32 imu_mounting_angle\n\ 00124 geometry_msgs/Point32 ref_mounting_angle\n\ 00125 \n\ 00126 uint8 MULTIPATH_LOW=0\n\ 00127 uint8 MULTIPATH_MEDIUM=1\n\ 00128 uint8 MULTIPATH_HIGH=2\n\ 00129 uint8 multipath\n\ 00130 \n\ 00131 ================================================================================\n\ 00132 MSG: geometry_msgs/Point32\n\ 00133 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00134 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00135 # \n\ 00136 # This recommendation is to promote interoperability. \n\ 00137 #\n\ 00138 # This message is designed to take up less space when sending\n\ 00139 # lots of points at once, as in the case of a PointCloud. \n\ 00140 \n\ 00141 float32 x\n\ 00142 float32 y\n\ 00143 float32 z\n\ 00144 "; } 00145 public: 00146 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00147 00148 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00149 00150 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00151 { 00152 ros::serialization::OStream stream(write_ptr, 1000000000); 00153 ros::serialization::serialize(stream, transaction); 00154 ros::serialization::serialize(stream, time_types); 00155 ros::serialization::serialize(stream, distance_type); 00156 ros::serialization::serialize(stream, autostart); 00157 ros::serialization::serialize(stream, imu_lever_arm); 00158 ros::serialization::serialize(stream, primary_gnss_lever_arm); 00159 ros::serialization::serialize(stream, aux_1_gnss_lever_arm); 00160 ros::serialization::serialize(stream, aux_2_gnss_lever_arm); 00161 ros::serialization::serialize(stream, imu_mounting_angle); 00162 ros::serialization::serialize(stream, ref_mounting_angle); 00163 ros::serialization::serialize(stream, multipath); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00168 { 00169 ros::serialization::IStream stream(read_ptr, 1000000000); 00170 ros::serialization::deserialize(stream, transaction); 00171 ros::serialization::deserialize(stream, time_types); 00172 ros::serialization::deserialize(stream, distance_type); 00173 ros::serialization::deserialize(stream, autostart); 00174 ros::serialization::deserialize(stream, imu_lever_arm); 00175 ros::serialization::deserialize(stream, primary_gnss_lever_arm); 00176 ros::serialization::deserialize(stream, aux_1_gnss_lever_arm); 00177 ros::serialization::deserialize(stream, aux_2_gnss_lever_arm); 00178 ros::serialization::deserialize(stream, imu_mounting_angle); 00179 ros::serialization::deserialize(stream, ref_mounting_angle); 00180 ros::serialization::deserialize(stream, multipath); 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(transaction); 00188 size += ros::serialization::serializationLength(time_types); 00189 size += ros::serialization::serializationLength(distance_type); 00190 size += ros::serialization::serializationLength(autostart); 00191 size += ros::serialization::serializationLength(imu_lever_arm); 00192 size += ros::serialization::serializationLength(primary_gnss_lever_arm); 00193 size += ros::serialization::serializationLength(aux_1_gnss_lever_arm); 00194 size += ros::serialization::serializationLength(aux_2_gnss_lever_arm); 00195 size += ros::serialization::serializationLength(imu_mounting_angle); 00196 size += ros::serialization::serializationLength(ref_mounting_angle); 00197 size += ros::serialization::serializationLength(multipath); 00198 return size; 00199 } 00200 00201 typedef boost::shared_ptr< ::applanix_msgs::GeneralParams_<ContainerAllocator> > Ptr; 00202 typedef boost::shared_ptr< ::applanix_msgs::GeneralParams_<ContainerAllocator> const> ConstPtr; 00203 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00204 }; // struct GeneralParams 00205 typedef ::applanix_msgs::GeneralParams_<std::allocator<void> > GeneralParams; 00206 00207 typedef boost::shared_ptr< ::applanix_msgs::GeneralParams> GeneralParamsPtr; 00208 typedef boost::shared_ptr< ::applanix_msgs::GeneralParams const> GeneralParamsConstPtr; 00209 00210 00211 template<typename ContainerAllocator> 00212 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::GeneralParams_<ContainerAllocator> & v) 00213 { 00214 ros::message_operations::Printer< ::applanix_msgs::GeneralParams_<ContainerAllocator> >::stream(s, "", v); 00215 return s;} 00216 00217 } // namespace applanix_msgs 00218 00219 namespace ros 00220 { 00221 namespace message_traits 00222 { 00223 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GeneralParams_<ContainerAllocator> > : public TrueType {}; 00224 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GeneralParams_<ContainerAllocator> const> : public TrueType {}; 00225 template<class ContainerAllocator> 00226 struct MD5Sum< ::applanix_msgs::GeneralParams_<ContainerAllocator> > { 00227 static const char* value() 00228 { 00229 return "dd32351725c9c39d1131c0be17b24a7b"; 00230 } 00231 00232 static const char* value(const ::applanix_msgs::GeneralParams_<ContainerAllocator> &) { return value(); } 00233 static const uint64_t static_value1 = 0xdd32351725c9c39dULL; 00234 static const uint64_t static_value2 = 0x1131c0be17b24a7bULL; 00235 }; 00236 00237 template<class ContainerAllocator> 00238 struct DataType< ::applanix_msgs::GeneralParams_<ContainerAllocator> > { 00239 static const char* value() 00240 { 00241 return "applanix_msgs/GeneralParams"; 00242 } 00243 00244 static const char* value(const ::applanix_msgs::GeneralParams_<ContainerAllocator> &) { return value(); } 00245 }; 00246 00247 template<class ContainerAllocator> 00248 struct Definition< ::applanix_msgs::GeneralParams_<ContainerAllocator> > { 00249 static const char* value() 00250 { 00251 return "# Msg 20\n\ 00252 uint16 transaction\n\ 00253 \n\ 00254 uint8 time_types\n\ 00255 uint8 distance_type\n\ 00256 uint8 autostart\n\ 00257 \n\ 00258 geometry_msgs/Point32 imu_lever_arm\n\ 00259 geometry_msgs/Point32 primary_gnss_lever_arm\n\ 00260 geometry_msgs/Point32 aux_1_gnss_lever_arm\n\ 00261 geometry_msgs/Point32 aux_2_gnss_lever_arm\n\ 00262 geometry_msgs/Point32 imu_mounting_angle\n\ 00263 geometry_msgs/Point32 ref_mounting_angle\n\ 00264 \n\ 00265 uint8 MULTIPATH_LOW=0\n\ 00266 uint8 MULTIPATH_MEDIUM=1\n\ 00267 uint8 MULTIPATH_HIGH=2\n\ 00268 uint8 multipath\n\ 00269 \n\ 00270 ================================================================================\n\ 00271 MSG: geometry_msgs/Point32\n\ 00272 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00273 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00274 # \n\ 00275 # This recommendation is to promote interoperability. \n\ 00276 #\n\ 00277 # This message is designed to take up less space when sending\n\ 00278 # lots of points at once, as in the case of a PointCloud. \n\ 00279 \n\ 00280 float32 x\n\ 00281 float32 y\n\ 00282 float32 z\n\ 00283 "; 00284 } 00285 00286 static const char* value(const ::applanix_msgs::GeneralParams_<ContainerAllocator> &) { return value(); } 00287 }; 00288 00289 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GeneralParams_<ContainerAllocator> > : public TrueType {}; 00290 } // namespace message_traits 00291 } // namespace ros 00292 00293 namespace ros 00294 { 00295 namespace serialization 00296 { 00297 00298 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GeneralParams_<ContainerAllocator> > 00299 { 00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00301 { 00302 stream.next(m.transaction); 00303 stream.next(m.time_types); 00304 stream.next(m.distance_type); 00305 stream.next(m.autostart); 00306 stream.next(m.imu_lever_arm); 00307 stream.next(m.primary_gnss_lever_arm); 00308 stream.next(m.aux_1_gnss_lever_arm); 00309 stream.next(m.aux_2_gnss_lever_arm); 00310 stream.next(m.imu_mounting_angle); 00311 stream.next(m.ref_mounting_angle); 00312 stream.next(m.multipath); 00313 } 00314 00315 ROS_DECLARE_ALLINONE_SERIALIZER; 00316 }; // struct GeneralParams_ 00317 } // namespace serialization 00318 } // namespace ros 00319 00320 namespace ros 00321 { 00322 namespace message_operations 00323 { 00324 00325 template<class ContainerAllocator> 00326 struct Printer< ::applanix_msgs::GeneralParams_<ContainerAllocator> > 00327 { 00328 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::GeneralParams_<ContainerAllocator> & v) 00329 { 00330 s << indent << "transaction: "; 00331 Printer<uint16_t>::stream(s, indent + " ", v.transaction); 00332 s << indent << "time_types: "; 00333 Printer<uint8_t>::stream(s, indent + " ", v.time_types); 00334 s << indent << "distance_type: "; 00335 Printer<uint8_t>::stream(s, indent + " ", v.distance_type); 00336 s << indent << "autostart: "; 00337 Printer<uint8_t>::stream(s, indent + " ", v.autostart); 00338 s << indent << "imu_lever_arm: "; 00339 s << std::endl; 00340 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.imu_lever_arm); 00341 s << indent << "primary_gnss_lever_arm: "; 00342 s << std::endl; 00343 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.primary_gnss_lever_arm); 00344 s << indent << "aux_1_gnss_lever_arm: "; 00345 s << std::endl; 00346 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.aux_1_gnss_lever_arm); 00347 s << indent << "aux_2_gnss_lever_arm: "; 00348 s << std::endl; 00349 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.aux_2_gnss_lever_arm); 00350 s << indent << "imu_mounting_angle: "; 00351 s << std::endl; 00352 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.imu_mounting_angle); 00353 s << indent << "ref_mounting_angle: "; 00354 s << std::endl; 00355 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.ref_mounting_angle); 00356 s << indent << "multipath: "; 00357 Printer<uint8_t>::stream(s, indent + " ", v.multipath); 00358 } 00359 }; 00360 00361 00362 } // namespace message_operations 00363 } // namespace ros 00364 00365 #endif // APPLANIX_MSGS_MESSAGE_GENERALPARAMS_H 00366