$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_calibration/doc_stacks/2013-03-01_16-35-11.769043/pr2_calibration/calibration_msgs/msg/LaserMeasurement.msg */ 00002 #ifndef CALIBRATION_MSGS_MESSAGE_LASERMEASUREMENT_H 00003 #define CALIBRATION_MSGS_MESSAGE_LASERMEASUREMENT_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 "std_msgs/Header.h" 00018 #include "sensor_msgs/JointState.h" 00019 #include "calibration_msgs/DenseLaserSnapshot.h" 00020 #include "sensor_msgs/Image.h" 00021 #include "calibration_msgs/CalibrationPattern.h" 00022 #include "calibration_msgs/JointStateCalibrationPattern.h" 00023 00024 namespace calibration_msgs 00025 { 00026 template <class ContainerAllocator> 00027 struct LaserMeasurement_ { 00028 typedef LaserMeasurement_<ContainerAllocator> Type; 00029 00030 LaserMeasurement_() 00031 : header() 00032 , laser_id() 00033 , joint_points() 00034 , verbose(false) 00035 , snapshot() 00036 , laser_image() 00037 , image_features() 00038 , joint_features() 00039 { 00040 } 00041 00042 LaserMeasurement_(const ContainerAllocator& _alloc) 00043 : header(_alloc) 00044 , laser_id(_alloc) 00045 , joint_points(_alloc) 00046 , verbose(false) 00047 , snapshot(_alloc) 00048 , laser_image(_alloc) 00049 , image_features(_alloc) 00050 , joint_features(_alloc) 00051 { 00052 } 00053 00054 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00055 ::std_msgs::Header_<ContainerAllocator> header; 00056 00057 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _laser_id_type; 00058 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > laser_id; 00059 00060 typedef std::vector< ::sensor_msgs::JointState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JointState_<ContainerAllocator> >::other > _joint_points_type; 00061 std::vector< ::sensor_msgs::JointState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JointState_<ContainerAllocator> >::other > joint_points; 00062 00063 typedef uint8_t _verbose_type; 00064 uint8_t verbose; 00065 00066 typedef ::calibration_msgs::DenseLaserSnapshot_<ContainerAllocator> _snapshot_type; 00067 ::calibration_msgs::DenseLaserSnapshot_<ContainerAllocator> snapshot; 00068 00069 typedef ::sensor_msgs::Image_<ContainerAllocator> _laser_image_type; 00070 ::sensor_msgs::Image_<ContainerAllocator> laser_image; 00071 00072 typedef ::calibration_msgs::CalibrationPattern_<ContainerAllocator> _image_features_type; 00073 ::calibration_msgs::CalibrationPattern_<ContainerAllocator> image_features; 00074 00075 typedef ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> _joint_features_type; 00076 ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> joint_features; 00077 00078 00079 ROS_DEPRECATED uint32_t get_joint_points_size() const { return (uint32_t)joint_points.size(); } 00080 ROS_DEPRECATED void set_joint_points_size(uint32_t size) { joint_points.resize((size_t)size); } 00081 ROS_DEPRECATED void get_joint_points_vec(std::vector< ::sensor_msgs::JointState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JointState_<ContainerAllocator> >::other > & vec) const { vec = this->joint_points; } 00082 ROS_DEPRECATED void set_joint_points_vec(const std::vector< ::sensor_msgs::JointState_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::JointState_<ContainerAllocator> >::other > & vec) { this->joint_points = vec; } 00083 private: 00084 static const char* __s_getDataType_() { return "calibration_msgs/LaserMeasurement"; } 00085 public: 00086 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00087 00088 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00089 00090 private: 00091 static const char* __s_getMD5Sum_() { return "03ce2d57df2a0cedc1a91dc4b40d7729"; } 00092 public: 00093 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00094 00095 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00096 00097 private: 00098 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00099 string laser_id\n\ 00100 sensor_msgs/JointState[] joint_points\n\ 00101 \n\ 00102 # True -> The extra debugging fields are populated\n\ 00103 bool verbose\n\ 00104 \n\ 00105 # Extra, partially processed data. Only needed for debugging\n\ 00106 calibration_msgs/DenseLaserSnapshot snapshot\n\ 00107 sensor_msgs/Image laser_image\n\ 00108 calibration_msgs/CalibrationPattern image_features\n\ 00109 calibration_msgs/JointStateCalibrationPattern joint_features\n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: std_msgs/Header\n\ 00113 # Standard metadata for higher-level stamped data types.\n\ 00114 # This is generally used to communicate timestamped data \n\ 00115 # in a particular coordinate frame.\n\ 00116 # \n\ 00117 # sequence ID: consecutively increasing ID \n\ 00118 uint32 seq\n\ 00119 #Two-integer timestamp that is expressed as:\n\ 00120 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00121 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00122 # time-handling sugar is provided by the client library\n\ 00123 time stamp\n\ 00124 #Frame this data is associated with\n\ 00125 # 0: no frame\n\ 00126 # 1: global frame\n\ 00127 string frame_id\n\ 00128 \n\ 00129 ================================================================================\n\ 00130 MSG: sensor_msgs/JointState\n\ 00131 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00132 #\n\ 00133 # The state of each joint (revolute or prismatic) is defined by:\n\ 00134 # * the position of the joint (rad or m),\n\ 00135 # * the velocity of the joint (rad/s or m/s) and \n\ 00136 # * the effort that is applied in the joint (Nm or N).\n\ 00137 #\n\ 00138 # Each joint is uniquely identified by its name\n\ 00139 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00140 # in one message have to be recorded at the same time.\n\ 00141 #\n\ 00142 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00143 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00144 # effort associated with them, you can leave the effort array empty. \n\ 00145 #\n\ 00146 # All arrays in this message should have the same size, or be empty.\n\ 00147 # This is the only way to uniquely associate the joint name with the correct\n\ 00148 # states.\n\ 00149 \n\ 00150 \n\ 00151 Header header\n\ 00152 \n\ 00153 string[] name\n\ 00154 float64[] position\n\ 00155 float64[] velocity\n\ 00156 float64[] effort\n\ 00157 \n\ 00158 ================================================================================\n\ 00159 MSG: calibration_msgs/DenseLaserSnapshot\n\ 00160 # Provides all the state & sensor information for\n\ 00161 # a single sweep of laser attached to some mechanism.\n\ 00162 # Most likely, this will be used with PR2's tilting laser mechanism\n\ 00163 Header header\n\ 00164 \n\ 00165 # Store the laser intrinsics. This is very similar to the\n\ 00166 # intrinsics commonly stored in \n\ 00167 float32 angle_min # start angle of the scan [rad]\n\ 00168 float32 angle_max # end angle of the scan [rad]\n\ 00169 float32 angle_increment # angular distance between measurements [rad]\n\ 00170 float32 time_increment # time between measurements [seconds]\n\ 00171 float32 range_min # minimum range value [m]\n\ 00172 float32 range_max # maximum range value [m]\n\ 00173 \n\ 00174 # Define the size of the binary data\n\ 00175 uint32 readings_per_scan # (Width)\n\ 00176 uint32 num_scans # (Height)\n\ 00177 \n\ 00178 # 2D Arrays storing laser data.\n\ 00179 # We can think of each type data as being a single channel image.\n\ 00180 # Each row of the image has data from a single scan, and scans are\n\ 00181 # concatenated to form the entire 'image'.\n\ 00182 float32[] ranges # (Image data)\n\ 00183 float32[] intensities # (Image data)\n\ 00184 \n\ 00185 # Store the start time of each scan\n\ 00186 time[] scan_start\n\ 00187 \n\ 00188 ================================================================================\n\ 00189 MSG: sensor_msgs/Image\n\ 00190 # This message contains an uncompressed image\n\ 00191 # (0, 0) is at top-left corner of image\n\ 00192 #\n\ 00193 \n\ 00194 Header header # Header timestamp should be acquisition time of image\n\ 00195 # Header frame_id should be optical frame of camera\n\ 00196 # origin of frame should be optical center of cameara\n\ 00197 # +x should point to the right in the image\n\ 00198 # +y should point down in the image\n\ 00199 # +z should point into to plane of the image\n\ 00200 # If the frame_id here and the frame_id of the CameraInfo\n\ 00201 # message associated with the image conflict\n\ 00202 # the behavior is undefined\n\ 00203 \n\ 00204 uint32 height # image height, that is, number of rows\n\ 00205 uint32 width # image width, that is, number of columns\n\ 00206 \n\ 00207 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00208 # If you want to standardize a new string format, join\n\ 00209 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00210 \n\ 00211 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00212 # taken from the list of strings in src/image_encodings.cpp\n\ 00213 \n\ 00214 uint8 is_bigendian # is this data bigendian?\n\ 00215 uint32 step # Full row length in bytes\n\ 00216 uint8[] data # actual matrix data, size is (step * rows)\n\ 00217 \n\ 00218 ================================================================================\n\ 00219 MSG: calibration_msgs/CalibrationPattern\n\ 00220 Header header\n\ 00221 geometry_msgs/Point32[] object_points\n\ 00222 ImagePoint[] image_points\n\ 00223 uint8 success\n\ 00224 \n\ 00225 ================================================================================\n\ 00226 MSG: geometry_msgs/Point32\n\ 00227 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00228 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00229 # \n\ 00230 # This recommendation is to promote interoperability. \n\ 00231 #\n\ 00232 # This message is designed to take up less space when sending\n\ 00233 # lots of points at once, as in the case of a PointCloud. \n\ 00234 \n\ 00235 float32 x\n\ 00236 float32 y\n\ 00237 float32 z\n\ 00238 ================================================================================\n\ 00239 MSG: calibration_msgs/ImagePoint\n\ 00240 float32 x\n\ 00241 float32 y\n\ 00242 \n\ 00243 ================================================================================\n\ 00244 MSG: calibration_msgs/JointStateCalibrationPattern\n\ 00245 Header header\n\ 00246 geometry_msgs/Point32[] object_points\n\ 00247 sensor_msgs/JointState[] joint_points\n\ 00248 \n\ 00249 \n\ 00250 "; } 00251 public: 00252 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00253 00254 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00255 00256 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00257 { 00258 ros::serialization::OStream stream(write_ptr, 1000000000); 00259 ros::serialization::serialize(stream, header); 00260 ros::serialization::serialize(stream, laser_id); 00261 ros::serialization::serialize(stream, joint_points); 00262 ros::serialization::serialize(stream, verbose); 00263 ros::serialization::serialize(stream, snapshot); 00264 ros::serialization::serialize(stream, laser_image); 00265 ros::serialization::serialize(stream, image_features); 00266 ros::serialization::serialize(stream, joint_features); 00267 return stream.getData(); 00268 } 00269 00270 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00271 { 00272 ros::serialization::IStream stream(read_ptr, 1000000000); 00273 ros::serialization::deserialize(stream, header); 00274 ros::serialization::deserialize(stream, laser_id); 00275 ros::serialization::deserialize(stream, joint_points); 00276 ros::serialization::deserialize(stream, verbose); 00277 ros::serialization::deserialize(stream, snapshot); 00278 ros::serialization::deserialize(stream, laser_image); 00279 ros::serialization::deserialize(stream, image_features); 00280 ros::serialization::deserialize(stream, joint_features); 00281 return stream.getData(); 00282 } 00283 00284 ROS_DEPRECATED virtual uint32_t serializationLength() const 00285 { 00286 uint32_t size = 0; 00287 size += ros::serialization::serializationLength(header); 00288 size += ros::serialization::serializationLength(laser_id); 00289 size += ros::serialization::serializationLength(joint_points); 00290 size += ros::serialization::serializationLength(verbose); 00291 size += ros::serialization::serializationLength(snapshot); 00292 size += ros::serialization::serializationLength(laser_image); 00293 size += ros::serialization::serializationLength(image_features); 00294 size += ros::serialization::serializationLength(joint_features); 00295 return size; 00296 } 00297 00298 typedef boost::shared_ptr< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > Ptr; 00299 typedef boost::shared_ptr< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> const> ConstPtr; 00300 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00301 }; // struct LaserMeasurement 00302 typedef ::calibration_msgs::LaserMeasurement_<std::allocator<void> > LaserMeasurement; 00303 00304 typedef boost::shared_ptr< ::calibration_msgs::LaserMeasurement> LaserMeasurementPtr; 00305 typedef boost::shared_ptr< ::calibration_msgs::LaserMeasurement const> LaserMeasurementConstPtr; 00306 00307 00308 template<typename ContainerAllocator> 00309 std::ostream& operator<<(std::ostream& s, const ::calibration_msgs::LaserMeasurement_<ContainerAllocator> & v) 00310 { 00311 ros::message_operations::Printer< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> >::stream(s, "", v); 00312 return s;} 00313 00314 } // namespace calibration_msgs 00315 00316 namespace ros 00317 { 00318 namespace message_traits 00319 { 00320 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > : public TrueType {}; 00321 template<class ContainerAllocator> struct IsMessage< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> const> : public TrueType {}; 00322 template<class ContainerAllocator> 00323 struct MD5Sum< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > { 00324 static const char* value() 00325 { 00326 return "03ce2d57df2a0cedc1a91dc4b40d7729"; 00327 } 00328 00329 static const char* value(const ::calibration_msgs::LaserMeasurement_<ContainerAllocator> &) { return value(); } 00330 static const uint64_t static_value1 = 0x03ce2d57df2a0cedULL; 00331 static const uint64_t static_value2 = 0xc1a91dc4b40d7729ULL; 00332 }; 00333 00334 template<class ContainerAllocator> 00335 struct DataType< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > { 00336 static const char* value() 00337 { 00338 return "calibration_msgs/LaserMeasurement"; 00339 } 00340 00341 static const char* value(const ::calibration_msgs::LaserMeasurement_<ContainerAllocator> &) { return value(); } 00342 }; 00343 00344 template<class ContainerAllocator> 00345 struct Definition< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > { 00346 static const char* value() 00347 { 00348 return "Header header\n\ 00349 string laser_id\n\ 00350 sensor_msgs/JointState[] joint_points\n\ 00351 \n\ 00352 # True -> The extra debugging fields are populated\n\ 00353 bool verbose\n\ 00354 \n\ 00355 # Extra, partially processed data. Only needed for debugging\n\ 00356 calibration_msgs/DenseLaserSnapshot snapshot\n\ 00357 sensor_msgs/Image laser_image\n\ 00358 calibration_msgs/CalibrationPattern image_features\n\ 00359 calibration_msgs/JointStateCalibrationPattern joint_features\n\ 00360 \n\ 00361 ================================================================================\n\ 00362 MSG: std_msgs/Header\n\ 00363 # Standard metadata for higher-level stamped data types.\n\ 00364 # This is generally used to communicate timestamped data \n\ 00365 # in a particular coordinate frame.\n\ 00366 # \n\ 00367 # sequence ID: consecutively increasing ID \n\ 00368 uint32 seq\n\ 00369 #Two-integer timestamp that is expressed as:\n\ 00370 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00371 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00372 # time-handling sugar is provided by the client library\n\ 00373 time stamp\n\ 00374 #Frame this data is associated with\n\ 00375 # 0: no frame\n\ 00376 # 1: global frame\n\ 00377 string frame_id\n\ 00378 \n\ 00379 ================================================================================\n\ 00380 MSG: sensor_msgs/JointState\n\ 00381 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00382 #\n\ 00383 # The state of each joint (revolute or prismatic) is defined by:\n\ 00384 # * the position of the joint (rad or m),\n\ 00385 # * the velocity of the joint (rad/s or m/s) and \n\ 00386 # * the effort that is applied in the joint (Nm or N).\n\ 00387 #\n\ 00388 # Each joint is uniquely identified by its name\n\ 00389 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00390 # in one message have to be recorded at the same time.\n\ 00391 #\n\ 00392 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00393 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00394 # effort associated with them, you can leave the effort array empty. \n\ 00395 #\n\ 00396 # All arrays in this message should have the same size, or be empty.\n\ 00397 # This is the only way to uniquely associate the joint name with the correct\n\ 00398 # states.\n\ 00399 \n\ 00400 \n\ 00401 Header header\n\ 00402 \n\ 00403 string[] name\n\ 00404 float64[] position\n\ 00405 float64[] velocity\n\ 00406 float64[] effort\n\ 00407 \n\ 00408 ================================================================================\n\ 00409 MSG: calibration_msgs/DenseLaserSnapshot\n\ 00410 # Provides all the state & sensor information for\n\ 00411 # a single sweep of laser attached to some mechanism.\n\ 00412 # Most likely, this will be used with PR2's tilting laser mechanism\n\ 00413 Header header\n\ 00414 \n\ 00415 # Store the laser intrinsics. This is very similar to the\n\ 00416 # intrinsics commonly stored in \n\ 00417 float32 angle_min # start angle of the scan [rad]\n\ 00418 float32 angle_max # end angle of the scan [rad]\n\ 00419 float32 angle_increment # angular distance between measurements [rad]\n\ 00420 float32 time_increment # time between measurements [seconds]\n\ 00421 float32 range_min # minimum range value [m]\n\ 00422 float32 range_max # maximum range value [m]\n\ 00423 \n\ 00424 # Define the size of the binary data\n\ 00425 uint32 readings_per_scan # (Width)\n\ 00426 uint32 num_scans # (Height)\n\ 00427 \n\ 00428 # 2D Arrays storing laser data.\n\ 00429 # We can think of each type data as being a single channel image.\n\ 00430 # Each row of the image has data from a single scan, and scans are\n\ 00431 # concatenated to form the entire 'image'.\n\ 00432 float32[] ranges # (Image data)\n\ 00433 float32[] intensities # (Image data)\n\ 00434 \n\ 00435 # Store the start time of each scan\n\ 00436 time[] scan_start\n\ 00437 \n\ 00438 ================================================================================\n\ 00439 MSG: sensor_msgs/Image\n\ 00440 # This message contains an uncompressed image\n\ 00441 # (0, 0) is at top-left corner of image\n\ 00442 #\n\ 00443 \n\ 00444 Header header # Header timestamp should be acquisition time of image\n\ 00445 # Header frame_id should be optical frame of camera\n\ 00446 # origin of frame should be optical center of cameara\n\ 00447 # +x should point to the right in the image\n\ 00448 # +y should point down in the image\n\ 00449 # +z should point into to plane of the image\n\ 00450 # If the frame_id here and the frame_id of the CameraInfo\n\ 00451 # message associated with the image conflict\n\ 00452 # the behavior is undefined\n\ 00453 \n\ 00454 uint32 height # image height, that is, number of rows\n\ 00455 uint32 width # image width, that is, number of columns\n\ 00456 \n\ 00457 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00458 # If you want to standardize a new string format, join\n\ 00459 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00460 \n\ 00461 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00462 # taken from the list of strings in src/image_encodings.cpp\n\ 00463 \n\ 00464 uint8 is_bigendian # is this data bigendian?\n\ 00465 uint32 step # Full row length in bytes\n\ 00466 uint8[] data # actual matrix data, size is (step * rows)\n\ 00467 \n\ 00468 ================================================================================\n\ 00469 MSG: calibration_msgs/CalibrationPattern\n\ 00470 Header header\n\ 00471 geometry_msgs/Point32[] object_points\n\ 00472 ImagePoint[] image_points\n\ 00473 uint8 success\n\ 00474 \n\ 00475 ================================================================================\n\ 00476 MSG: geometry_msgs/Point32\n\ 00477 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00478 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00479 # \n\ 00480 # This recommendation is to promote interoperability. \n\ 00481 #\n\ 00482 # This message is designed to take up less space when sending\n\ 00483 # lots of points at once, as in the case of a PointCloud. \n\ 00484 \n\ 00485 float32 x\n\ 00486 float32 y\n\ 00487 float32 z\n\ 00488 ================================================================================\n\ 00489 MSG: calibration_msgs/ImagePoint\n\ 00490 float32 x\n\ 00491 float32 y\n\ 00492 \n\ 00493 ================================================================================\n\ 00494 MSG: calibration_msgs/JointStateCalibrationPattern\n\ 00495 Header header\n\ 00496 geometry_msgs/Point32[] object_points\n\ 00497 sensor_msgs/JointState[] joint_points\n\ 00498 \n\ 00499 \n\ 00500 "; 00501 } 00502 00503 static const char* value(const ::calibration_msgs::LaserMeasurement_<ContainerAllocator> &) { return value(); } 00504 }; 00505 00506 template<class ContainerAllocator> struct HasHeader< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > : public TrueType {}; 00507 template<class ContainerAllocator> struct HasHeader< const ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > : public TrueType {}; 00508 } // namespace message_traits 00509 } // namespace ros 00510 00511 namespace ros 00512 { 00513 namespace serialization 00514 { 00515 00516 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > 00517 { 00518 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00519 { 00520 stream.next(m.header); 00521 stream.next(m.laser_id); 00522 stream.next(m.joint_points); 00523 stream.next(m.verbose); 00524 stream.next(m.snapshot); 00525 stream.next(m.laser_image); 00526 stream.next(m.image_features); 00527 stream.next(m.joint_features); 00528 } 00529 00530 ROS_DECLARE_ALLINONE_SERIALIZER; 00531 }; // struct LaserMeasurement_ 00532 } // namespace serialization 00533 } // namespace ros 00534 00535 namespace ros 00536 { 00537 namespace message_operations 00538 { 00539 00540 template<class ContainerAllocator> 00541 struct Printer< ::calibration_msgs::LaserMeasurement_<ContainerAllocator> > 00542 { 00543 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::calibration_msgs::LaserMeasurement_<ContainerAllocator> & v) 00544 { 00545 s << indent << "header: "; 00546 s << std::endl; 00547 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00548 s << indent << "laser_id: "; 00549 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.laser_id); 00550 s << indent << "joint_points[]" << std::endl; 00551 for (size_t i = 0; i < v.joint_points.size(); ++i) 00552 { 00553 s << indent << " joint_points[" << i << "]: "; 00554 s << std::endl; 00555 s << indent; 00556 Printer< ::sensor_msgs::JointState_<ContainerAllocator> >::stream(s, indent + " ", v.joint_points[i]); 00557 } 00558 s << indent << "verbose: "; 00559 Printer<uint8_t>::stream(s, indent + " ", v.verbose); 00560 s << indent << "snapshot: "; 00561 s << std::endl; 00562 Printer< ::calibration_msgs::DenseLaserSnapshot_<ContainerAllocator> >::stream(s, indent + " ", v.snapshot); 00563 s << indent << "laser_image: "; 00564 s << std::endl; 00565 Printer< ::sensor_msgs::Image_<ContainerAllocator> >::stream(s, indent + " ", v.laser_image); 00566 s << indent << "image_features: "; 00567 s << std::endl; 00568 Printer< ::calibration_msgs::CalibrationPattern_<ContainerAllocator> >::stream(s, indent + " ", v.image_features); 00569 s << indent << "joint_features: "; 00570 s << std::endl; 00571 Printer< ::calibration_msgs::JointStateCalibrationPattern_<ContainerAllocator> >::stream(s, indent + " ", v.joint_features); 00572 } 00573 }; 00574 00575 00576 } // namespace message_operations 00577 } // namespace ros 00578 00579 #endif // CALIBRATION_MSGS_MESSAGE_LASERMEASUREMENT_H 00580