Namespaces | Classes | Typedefs | Functions
sensor_msgs Namespace Reference

Tools for manipulating sensor_msgs. More...

Namespaces

 distortion_models
 
 image_encodings
 
 impl
 
 point_cloud2
 

Classes

struct  BatteryState_
 
struct  CameraInfo_
 
struct  ChannelFloat32_
 
struct  CompressedImage_
 
struct  FluidPressure_
 
struct  Illuminance_
 
struct  Image_
 
struct  Imu_
 
struct  JointState_
 
struct  Joy_
 
struct  JoyFeedback_
 
struct  JoyFeedbackArray_
 
struct  LaserEcho_
 
struct  LaserScan_
 
struct  MagneticField_
 
struct  MultiDOFJointState_
 
struct  MultiEchoLaserScan_
 
struct  NavSatFix_
 
struct  NavSatStatus_
 
struct  PointCloud2_
 
class  PointCloud2ConstIterator
 Same as a PointCloud2Iterator but for const data.
 
class  PointCloud2Iterator
 Class that can iterate over a PointCloud2.
 
class  PointCloud2Modifier
 Enables modifying a sensor_msgs::PointCloud2 like a container.
 
struct  PointCloud_
 
struct  PointField_
 
struct  pointFieldTypeAsType
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::FLOAT32 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::FLOAT64 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::INT16 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::INT32 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::INT8 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::UINT16 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::UINT32 >
 
struct  pointFieldTypeAsType< sensor_msgs::PointField::UINT8 >
 
struct  Range_
 
struct  RegionOfInterest_
 
struct  RelativeHumidity_
 
struct  SetCameraInfo
 
struct  SetCameraInfoRequest_
 
struct  SetCameraInfoResponse_
 
struct  Temperature_
 
struct  TimeReference_
 
struct  typeAsPointFieldType
 
struct  typeAsPointFieldType< double >
 
struct  typeAsPointFieldType< float >
 
struct  typeAsPointFieldType< int16_t >
 
struct  typeAsPointFieldType< int32_t >
 
struct  typeAsPointFieldType< int8_t >
 
struct  typeAsPointFieldType< uint16_t >
 
struct  typeAsPointFieldType< uint32_t >
 
struct  typeAsPointFieldType< uint8_t >
 

Typedefs

typedef ::sensor_msgs::BatteryState_< std::allocator< void > > BatteryState
 
typedef std::shared_ptr< ::sensor_msgs::BatteryState constBatteryStateConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::BatteryStateBatteryStatePtr
 
typedef ::sensor_msgs::CameraInfo_< std::allocator< void > > CameraInfo
 
typedef std::shared_ptr< ::sensor_msgs::CameraInfo constCameraInfoConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::CameraInfoCameraInfoPtr
 
typedef ::sensor_msgs::ChannelFloat32_< std::allocator< void > > ChannelFloat32
 
typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32 constChannelFloat32ConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::ChannelFloat32ChannelFloat32Ptr
 
typedef ::sensor_msgs::CompressedImage_< std::allocator< void > > CompressedImage
 
typedef std::shared_ptr< ::sensor_msgs::CompressedImage constCompressedImageConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::CompressedImageCompressedImagePtr
 
typedef ::sensor_msgs::FluidPressure_< std::allocator< void > > FluidPressure
 
typedef std::shared_ptr< ::sensor_msgs::FluidPressure constFluidPressureConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::FluidPressureFluidPressurePtr
 
typedef ::sensor_msgs::Illuminance_< std::allocator< void > > Illuminance
 
typedef std::shared_ptr< ::sensor_msgs::Illuminance constIlluminanceConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::IlluminanceIlluminancePtr
 
typedef ::sensor_msgs::Image_< std::allocator< void > > Image
 
typedef std::shared_ptr< ::sensor_msgs::Image constImageConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::ImageImagePtr
 
typedef ::sensor_msgs::Imu_< std::allocator< void > > Imu
 
typedef std::shared_ptr< ::sensor_msgs::Imu constImuConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::ImuImuPtr
 
typedef ::sensor_msgs::JointState_< std::allocator< void > > JointState
 
typedef std::shared_ptr< ::sensor_msgs::JointState constJointStateConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::JointStateJointStatePtr
 
typedef ::sensor_msgs::Joy_< std::allocator< void > > Joy
 
typedef std::shared_ptr< ::sensor_msgs::Joy constJoyConstPtr
 
typedef ::sensor_msgs::JoyFeedback_< std::allocator< void > > JoyFeedback
 
typedef ::sensor_msgs::JoyFeedbackArray_< std::allocator< void > > JoyFeedbackArray
 
typedef std::shared_ptr< ::sensor_msgs::JoyFeedbackArray constJoyFeedbackArrayConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::JoyFeedbackArrayJoyFeedbackArrayPtr
 
typedef std::shared_ptr< ::sensor_msgs::JoyFeedback constJoyFeedbackConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::JoyFeedbackJoyFeedbackPtr
 
typedef std::shared_ptr< ::sensor_msgs::JoyJoyPtr
 
typedef ::sensor_msgs::LaserEcho_< std::allocator< void > > LaserEcho
 
typedef std::shared_ptr< ::sensor_msgs::LaserEcho constLaserEchoConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::LaserEchoLaserEchoPtr
 
typedef ::sensor_msgs::LaserScan_< std::allocator< void > > LaserScan
 
typedef std::shared_ptr< ::sensor_msgs::LaserScan constLaserScanConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::LaserScanLaserScanPtr
 
typedef ::sensor_msgs::MagneticField_< std::allocator< void > > MagneticField
 
typedef std::shared_ptr< ::sensor_msgs::MagneticField constMagneticFieldConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::MagneticFieldMagneticFieldPtr
 
typedef ::sensor_msgs::MultiDOFJointState_< std::allocator< void > > MultiDOFJointState
 
typedef std::shared_ptr< ::sensor_msgs::MultiDOFJointState constMultiDOFJointStateConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::MultiDOFJointStateMultiDOFJointStatePtr
 
typedef ::sensor_msgs::MultiEchoLaserScan_< std::allocator< void > > MultiEchoLaserScan
 
typedef std::shared_ptr< ::sensor_msgs::MultiEchoLaserScan constMultiEchoLaserScanConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::MultiEchoLaserScanMultiEchoLaserScanPtr
 
typedef ::sensor_msgs::NavSatFix_< std::allocator< void > > NavSatFix
 
typedef std::shared_ptr< ::sensor_msgs::NavSatFix constNavSatFixConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::NavSatFixNavSatFixPtr
 
typedef ::sensor_msgs::NavSatStatus_< std::allocator< void > > NavSatStatus
 
typedef std::shared_ptr< ::sensor_msgs::NavSatStatus constNavSatStatusConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::NavSatStatusNavSatStatusPtr
 
typedef ::sensor_msgs::PointCloud_< std::allocator< void > > PointCloud
 
typedef ::sensor_msgs::PointCloud2_< std::allocator< void > > PointCloud2
 
typedef std::shared_ptr< ::sensor_msgs::PointCloud2 constPointCloud2ConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::PointCloud2PointCloud2Ptr
 
typedef std::shared_ptr< ::sensor_msgs::PointCloud constPointCloudConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::PointCloudPointCloudPtr
 
typedef ::sensor_msgs::PointField_< std::allocator< void > > PointField
 
typedef std::shared_ptr< ::sensor_msgs::PointField constPointFieldConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::PointFieldPointFieldPtr
 
typedef ::sensor_msgs::Range_< std::allocator< void > > Range
 
typedef std::shared_ptr< ::sensor_msgs::Range constRangeConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::RangeRangePtr
 
typedef ::sensor_msgs::RegionOfInterest_< std::allocator< void > > RegionOfInterest
 
typedef std::shared_ptr< ::sensor_msgs::RegionOfInterest constRegionOfInterestConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::RegionOfInterestRegionOfInterestPtr
 
typedef ::sensor_msgs::RelativeHumidity_< std::allocator< void > > RelativeHumidity
 
typedef std::shared_ptr< ::sensor_msgs::RelativeHumidity constRelativeHumidityConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::RelativeHumidityRelativeHumidityPtr
 
typedef ::sensor_msgs::SetCameraInfoRequest_< std::allocator< void > > SetCameraInfoRequest
 
typedef std::shared_ptr< ::sensor_msgs::SetCameraInfoRequest constSetCameraInfoRequestConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::SetCameraInfoRequestSetCameraInfoRequestPtr
 
typedef ::sensor_msgs::SetCameraInfoResponse_< std::allocator< void > > SetCameraInfoResponse
 
typedef std::shared_ptr< ::sensor_msgs::SetCameraInfoResponse constSetCameraInfoResponseConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::SetCameraInfoResponseSetCameraInfoResponsePtr
 
typedef ::sensor_msgs::Temperature_< std::allocator< void > > Temperature
 
typedef std::shared_ptr< ::sensor_msgs::Temperature constTemperatureConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::TemperatureTemperaturePtr
 
typedef ::sensor_msgs::TimeReference_< std::allocator< void > > TimeReference
 
typedef std::shared_ptr< ::sensor_msgs::TimeReference constTimeReferenceConstPtr
 
typedef std::shared_ptr< ::sensor_msgs::TimeReferenceTimeReferencePtr
 

Functions

static void clearImage (Image &image)
 
static void clearImage (Image &image)
 
static bool convertPointCloud2ToPointCloud (const sensor_msgs::PointCloud2 &input, sensor_msgs::PointCloud &output)
 
static bool convertPointCloud2ToPointCloud (const sensor_msgs::PointCloud2 &input, sensor_msgs::PointCloud &output)
 Convert a sensor_msgs::PointCloud2 message to a sensor_msgs::PointCloud message. More...
 
static bool convertPointCloudToPointCloud2 (const sensor_msgs::PointCloud &input, sensor_msgs::PointCloud2 &output)
 
static bool convertPointCloudToPointCloud2 (const sensor_msgs::PointCloud &input, sensor_msgs::PointCloud2 &output)
 Convert a sensor_msgs::PointCloud message to a sensor_msgs::PointCloud2 message. More...
 
static bool fillImage (Image &image, const std::string &encoding_arg, uint32_t rows_arg, uint32_t cols_arg, uint32_t step_arg, const void *data_arg)
 
static bool fillImage (Image &image, const std::string &encoding_arg, uint32_t rows_arg, uint32_t cols_arg, uint32_t step_arg, const void *data_arg)
 
static int getPointCloud2FieldIndex (const sensor_msgs::PointCloud2 &cloud, const std::string &field_name)
 
static int getPointCloud2FieldIndex (const sensor_msgs::PointCloud2 &cloud, const std::string &field_name)
 Get the index of a specified field (i.e., dimension/channel) More...
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::CameraInfo_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::CompressedImage_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::FluidPressure_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::Illuminance_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::Image_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::Imu_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::JointState_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::Joy_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::LaserEcho_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::LaserScan_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::MagneticField_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::NavSatFix_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::NavSatStatus_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::PointCloud2_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::PointCloud_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::PointField_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::Range_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::RegionOfInterest_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::RelativeHumidity_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::SetCameraInfoRequest_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::Temperature_< ContainerAllocator > &v)
 
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::sensor_msgs::TimeReference_< ContainerAllocator > &v)
 
readPointCloud2BufferValue (const unsigned char *data_ptr)
 
readPointCloud2BufferValue (const unsigned char *data_ptr, const unsigned char datatype)
 
 ROS_DECLARE_MESSAGE (PointCloud2)
 
void writePointCloud2BufferValue (unsigned char *data_ptr, const unsigned char datatype, T value)
 
void writePointCloud2BufferValue (unsigned char *data_ptr, T value)
 

Detailed Description

Tools for manipulating sensor_msgs.

This file provides a type to enum mapping for the different PointField types and methods to read and write in a PointCloud2 buffer for the different PointField types.

Convert between the old (sensor_msgs::PointCloud) and the new (sensor_msgs::PointCloud2) format.

This file provides two sets of utilities to modify and parse PointCloud2 The first set allows you to conveniently set the fields by hand:

  #include <sensor_msgs/point_cloud_iterator.h>
  // Create a PointCloud2
  sensor_msgs::PointCloud2 cloud_msg;
  // Fill some internals of the PoinCloud2 like the header/width/height ...
  cloud_msgs.height = 1;  cloud_msgs.width = 4;
  // Set the point fields to xyzrgb and resize the vector with the following command
  // 4 is for the number of added fields. Each come in triplet: the name of the PointField,
  // the number of occurrences of the type in the PointField, the type of the PointField
  sensor_msgs::PointCloud2Modifier modifier(cloud_msg);
  modifier.setPointCloud2Fields(4, "x", 1, sensor_msgs::PointField::FLOAT32,
                                           "y", 1, sensor_msgs::PointField::FLOAT32,
                                           "z", 1, sensor_msgs::PointField::FLOAT32,
                                           "rgb", 1, sensor_msgs::PointField::FLOAT32);
  // For convenience and the xyz, rgb, rgba fields, you can also use the following overloaded function.
  // You have to be aware that the following function does add extra padding for backward compatibility though
  // so it is definitely the solution of choice for PointXYZ and PointXYZRGB
  // 2 is for the number of fields to add
  modifier.setPointCloud2FieldsByString(2, "xyz", "rgb");
  // You can then reserve / resize as usual
  modifier.resize(100);

The second set allow you to traverse your PointCloud using an iterator:

  // Define some raw data we'll put in the PointCloud2
  float point_data[] = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0};
  uint8_t color_data[] = {40, 80, 120, 160, 200, 240, 20, 40, 60, 80, 100, 120};
  // Define the iterators. When doing so, you define the Field you would like to iterate upon and
  // the type of you would like returned: it is not necessary the type of the PointField as sometimes
  // you pack data in another type (e.g. 3 uchar + 1 uchar for RGB are packed in a float)
  sensor_msgs::PointCloud2Iterator<float> iter_x(cloud_msg, "x");
  sensor_msgs::PointCloud2Iterator<float> iter_y(cloud_msg, "y");
  sensor_msgs::PointCloud2Iterator<float> iter_z(cloud_msg, "z");
  // Even though the r,g,b,a fields do not exist (it's usually rgb, rgba), you can create iterators for
  // those: they will handle data packing for you (in little endian RGB is packed as *,R,G,B in a float
  // and RGBA as A,R,G,B)
  sensor_msgs::PointCloud2Iterator<uint8_t> iter_r(cloud_msg, "r");
  sensor_msgs::PointCloud2Iterator<uint8_t> iter_g(cloud_msg, "g");
  sensor_msgs::PointCloud2Iterator<uint8_t> iter_b(cloud_msg, "b");
  // Fill the PointCloud2
  for(size_t i=0; i<n_points; ++i, ++iter_x, ++iter_y, ++iter_z, ++iter_r, ++iter_g, ++iter_b) {
    *iter_x = point_data[3*i+0];
    *iter_y = point_data[3*i+1];
    *iter_z = point_data[3*i+2];
    *iter_r = color_data[3*i+0];
    *iter_g = color_data[3*i+1];
    *iter_b = color_data[3*i+2];
  }
Author
Radu Bogdan Rusu
Sebastian Pütz

Typedef Documentation

◆ BatteryState

Definition at line 135 of file BatteryState.h.

◆ BatteryStateConstPtr

Definition at line 138 of file BatteryState.h.

◆ BatteryStatePtr

Definition at line 137 of file BatteryState.h.

◆ CameraInfo

Definition at line 110 of file CameraInfo.h.

◆ CameraInfoConstPtr

Definition at line 113 of file CameraInfo.h.

◆ CameraInfoPtr

Definition at line 112 of file CameraInfo.h.

◆ ChannelFloat32

Definition at line 53 of file ChannelFloat32.h.

◆ ChannelFloat32ConstPtr

Definition at line 56 of file ChannelFloat32.h.

◆ ChannelFloat32Ptr

Definition at line 55 of file ChannelFloat32.h.

◆ CompressedImage

Definition at line 59 of file CompressedImage.h.

◆ CompressedImageConstPtr

Definition at line 62 of file CompressedImage.h.

◆ CompressedImagePtr

Definition at line 61 of file CompressedImage.h.

◆ FluidPressure

Definition at line 59 of file FluidPressure.h.

◆ FluidPressureConstPtr

Definition at line 62 of file FluidPressure.h.

◆ FluidPressurePtr

Definition at line 61 of file FluidPressure.h.

◆ Illuminance

Definition at line 59 of file Illuminance.h.

◆ IlluminanceConstPtr

Definition at line 62 of file Illuminance.h.

◆ IlluminancePtr

Definition at line 61 of file Illuminance.h.

◆ Image

Definition at line 79 of file Image.h.

◆ ImageConstPtr

Definition at line 82 of file Image.h.

◆ ImagePtr

typedef std::shared_ptr< ::sensor_msgs::Image > sensor_msgs::ImagePtr

Definition at line 81 of file Image.h.

◆ Imu

Definition at line 93 of file Imu.h.

◆ ImuConstPtr

typedef std::shared_ptr< ::sensor_msgs::Imu const> sensor_msgs::ImuConstPtr

Definition at line 96 of file Imu.h.

◆ ImuPtr

typedef std::shared_ptr< ::sensor_msgs::Imu > sensor_msgs::ImuPtr

Definition at line 95 of file Imu.h.

◆ JointState

Definition at line 69 of file JointState.h.

◆ JointStateConstPtr

Definition at line 72 of file JointState.h.

◆ JointStatePtr

Definition at line 71 of file JointState.h.

◆ Joy

Definition at line 59 of file Joy.h.

◆ JoyConstPtr

typedef std::shared_ptr< ::sensor_msgs::Joy const> sensor_msgs::JoyConstPtr

Definition at line 62 of file Joy.h.

◆ JoyFeedback

Definition at line 61 of file JoyFeedback.h.

◆ JoyFeedbackArray

Definition at line 49 of file JoyFeedbackArray.h.

◆ JoyFeedbackArrayConstPtr

Definition at line 52 of file JoyFeedbackArray.h.

◆ JoyFeedbackArrayPtr

Definition at line 51 of file JoyFeedbackArray.h.

◆ JoyFeedbackConstPtr

Definition at line 64 of file JoyFeedback.h.

◆ JoyFeedbackPtr

Definition at line 63 of file JoyFeedback.h.

◆ JoyPtr

typedef std::shared_ptr< ::sensor_msgs::Joy > sensor_msgs::JoyPtr

Definition at line 61 of file Joy.h.

◆ LaserEcho

Definition at line 48 of file LaserEcho.h.

◆ LaserEchoConstPtr

Definition at line 51 of file LaserEcho.h.

◆ LaserEchoPtr

typedef std::shared_ptr< ::sensor_msgs::LaserEcho > sensor_msgs::LaserEchoPtr

Definition at line 50 of file LaserEcho.h.

◆ LaserScan

Definition at line 94 of file LaserScan.h.

◆ LaserScanConstPtr

Definition at line 97 of file LaserScan.h.

◆ LaserScanPtr

typedef std::shared_ptr< ::sensor_msgs::LaserScan > sensor_msgs::LaserScanPtr

Definition at line 96 of file LaserScan.h.

◆ MagneticField

Definition at line 62 of file MagneticField.h.

◆ MagneticFieldConstPtr

Definition at line 65 of file MagneticField.h.

◆ MagneticFieldPtr

Definition at line 64 of file MagneticField.h.

◆ MultiDOFJointState

Definition at line 72 of file MultiDOFJointState.h.

◆ MultiDOFJointStateConstPtr

Definition at line 75 of file MultiDOFJointState.h.

◆ MultiDOFJointStatePtr

Definition at line 74 of file MultiDOFJointState.h.

◆ MultiEchoLaserScan

Definition at line 96 of file MultiEchoLaserScan.h.

◆ MultiEchoLaserScanConstPtr

Definition at line 99 of file MultiEchoLaserScan.h.

◆ MultiEchoLaserScanPtr

Definition at line 98 of file MultiEchoLaserScan.h.

◆ NavSatFix

Definition at line 86 of file NavSatFix.h.

◆ NavSatFixConstPtr

Definition at line 89 of file NavSatFix.h.

◆ NavSatFixPtr

typedef std::shared_ptr< ::sensor_msgs::NavSatFix > sensor_msgs::NavSatFixPtr

Definition at line 88 of file NavSatFix.h.

◆ NavSatStatus

Definition at line 61 of file NavSatStatus.h.

◆ NavSatStatusConstPtr

Definition at line 64 of file NavSatStatus.h.

◆ NavSatStatusPtr

Definition at line 63 of file NavSatStatus.h.

◆ PointCloud

Definition at line 61 of file PointCloud.h.

◆ PointCloud2

Definition at line 90 of file PointCloud2.h.

◆ PointCloud2ConstPtr

Definition at line 93 of file PointCloud2.h.

◆ PointCloud2Ptr

Definition at line 92 of file PointCloud2.h.

◆ PointCloudConstPtr

Definition at line 64 of file PointCloud.h.

◆ PointCloudPtr

Definition at line 63 of file PointCloud.h.

◆ PointField

Definition at line 71 of file PointField.h.

◆ PointFieldConstPtr

Definition at line 74 of file PointField.h.

◆ PointFieldPtr

Definition at line 73 of file PointField.h.

◆ Range

Definition at line 76 of file Range.h.

◆ RangeConstPtr

Definition at line 79 of file Range.h.

◆ RangePtr

typedef std::shared_ptr< ::sensor_msgs::Range > sensor_msgs::RangePtr

Definition at line 78 of file Range.h.

◆ RegionOfInterest

Definition at line 68 of file RegionOfInterest.h.

◆ RegionOfInterestConstPtr

Definition at line 71 of file RegionOfInterest.h.

◆ RegionOfInterestPtr

Definition at line 70 of file RegionOfInterest.h.

◆ RelativeHumidity

Definition at line 59 of file RelativeHumidity.h.

◆ RelativeHumidityConstPtr

Definition at line 62 of file RelativeHumidity.h.

◆ RelativeHumidityPtr

Definition at line 61 of file RelativeHumidity.h.

◆ SetCameraInfoRequest

Definition at line 49 of file SetCameraInfoRequest.h.

◆ SetCameraInfoRequestConstPtr

Definition at line 52 of file SetCameraInfoRequest.h.

◆ SetCameraInfoRequestPtr

Definition at line 51 of file SetCameraInfoRequest.h.

◆ SetCameraInfoResponse

Definition at line 53 of file SetCameraInfoResponse.h.

◆ SetCameraInfoResponseConstPtr

Definition at line 56 of file SetCameraInfoResponse.h.

◆ SetCameraInfoResponsePtr

Definition at line 55 of file SetCameraInfoResponse.h.

◆ Temperature

Definition at line 59 of file Temperature.h.

◆ TemperatureConstPtr

Definition at line 62 of file Temperature.h.

◆ TemperaturePtr

Definition at line 61 of file Temperature.h.

◆ TimeReference

Definition at line 59 of file TimeReference.h.

◆ TimeReferenceConstPtr

Definition at line 62 of file TimeReference.h.

◆ TimeReferencePtr

Definition at line 61 of file TimeReference.h.

Function Documentation

◆ clearImage()

static void sensor_msgs::clearImage ( Image image)
inlinestatic

Definition at line 64 of file fill_image.h.

◆ convertPointCloud2ToPointCloud()

static bool sensor_msgs::convertPointCloud2ToPointCloud ( const sensor_msgs::PointCloud2 input,
sensor_msgs::PointCloud output 
)
inlinestatic

Convert a sensor_msgs::PointCloud2 message to a sensor_msgs::PointCloud message.

Parameters
inputthe message in the sensor_msgs::PointCloud2 format
outputthe resultant message in the sensor_msgs::PointCloud format

Definition at line 118 of file point_cloud_conversion.h.

◆ convertPointCloudToPointCloud2()

static bool sensor_msgs::convertPointCloudToPointCloud2 ( const sensor_msgs::PointCloud input,
sensor_msgs::PointCloud2 output 
)
inlinestatic

Convert a sensor_msgs::PointCloud message to a sensor_msgs::PointCloud2 message.

Parameters
inputthe message in the sensor_msgs::PointCloud format
outputthe resultant message in the sensor_msgs::PointCloud2 format

Definition at line 71 of file point_cloud_conversion.h.

◆ fillImage()

static bool sensor_msgs::fillImage ( Image image,
const std::string &  encoding_arg,
uint32_t  rows_arg,
uint32_t  cols_arg,
uint32_t  step_arg,
const void *  data_arg 
)
inlinestatic

Definition at line 45 of file fill_image.h.

◆ getPointCloud2FieldIndex()

static int sensor_msgs::getPointCloud2FieldIndex ( const sensor_msgs::PointCloud2 cloud,
const std::string &  field_name 
)
inlinestatic

Get the index of a specified field (i.e., dimension/channel)

Parameters
pointsthe the point cloud message
field_namethe string defining the field name

Definition at line 57 of file point_cloud_conversion.h.

◆ operator<<() [1/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::BatteryState_< ContainerAllocator > &  v 
)

Definition at line 187 of file BatteryState.h.

◆ operator<<() [2/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::CameraInfo_< ContainerAllocator > &  v 
)

Definition at line 120 of file CameraInfo.h.

◆ operator<<() [3/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::ChannelFloat32_< ContainerAllocator > &  v 
)

Definition at line 63 of file ChannelFloat32.h.

◆ operator<<() [4/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::CompressedImage_< ContainerAllocator > &  v 
)

Definition at line 69 of file CompressedImage.h.

◆ operator<<() [5/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::FluidPressure_< ContainerAllocator > &  v 
)

Definition at line 69 of file FluidPressure.h.

◆ operator<<() [6/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::Illuminance_< ContainerAllocator > &  v 
)

Definition at line 69 of file Illuminance.h.

◆ operator<<() [7/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::Image_< ContainerAllocator > &  v 
)

Definition at line 89 of file Image.h.

◆ operator<<() [8/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::Imu_< ContainerAllocator > &  v 
)

Definition at line 103 of file Imu.h.

◆ operator<<() [9/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::JointState_< ContainerAllocator > &  v 
)

Definition at line 79 of file JointState.h.

◆ operator<<() [10/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::Joy_< ContainerAllocator > &  v 
)

Definition at line 69 of file Joy.h.

◆ operator<<() [11/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::JoyFeedback_< ContainerAllocator > &  v 
)

Definition at line 77 of file JoyFeedback.h.

◆ operator<<() [12/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::JoyFeedbackArray_< ContainerAllocator > &  v 
)

Definition at line 59 of file JoyFeedbackArray.h.

◆ operator<<() [13/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::LaserEcho_< ContainerAllocator > &  v 
)

Definition at line 58 of file LaserEcho.h.

◆ operator<<() [14/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::LaserScan_< ContainerAllocator > &  v 
)

Definition at line 104 of file LaserScan.h.

◆ operator<<() [15/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::MagneticField_< ContainerAllocator > &  v 
)

Definition at line 72 of file MagneticField.h.

◆ operator<<() [16/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::MultiDOFJointState_< ContainerAllocator > &  v 
)

Definition at line 82 of file MultiDOFJointState.h.

◆ operator<<() [17/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::MultiEchoLaserScan_< ContainerAllocator > &  v 
)

Definition at line 106 of file MultiEchoLaserScan.h.

◆ operator<<() [18/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::NavSatFix_< ContainerAllocator > &  v 
)

Definition at line 104 of file NavSatFix.h.

◆ operator<<() [19/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::NavSatStatus_< ContainerAllocator > &  v 
)

Definition at line 87 of file NavSatStatus.h.

◆ operator<<() [20/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::PointCloud2_< ContainerAllocator > &  v 
)

Definition at line 100 of file PointCloud2.h.

◆ operator<<() [21/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::PointCloud_< ContainerAllocator > &  v 
)

Definition at line 71 of file PointCloud.h.

◆ operator<<() [22/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::PointField_< ContainerAllocator > &  v 
)

Definition at line 97 of file PointField.h.

◆ operator<<() [23/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::Range_< ContainerAllocator > &  v 
)

Definition at line 90 of file Range.h.

◆ operator<<() [24/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::RegionOfInterest_< ContainerAllocator > &  v 
)

Definition at line 78 of file RegionOfInterest.h.

◆ operator<<() [25/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::RelativeHumidity_< ContainerAllocator > &  v 
)

Definition at line 69 of file RelativeHumidity.h.

◆ operator<<() [26/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::SetCameraInfoRequest_< ContainerAllocator > &  v 
)

Definition at line 59 of file SetCameraInfoRequest.h.

◆ operator<<() [27/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::SetCameraInfoResponse_< ContainerAllocator > &  v 
)

Definition at line 63 of file SetCameraInfoResponse.h.

◆ operator<<() [28/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::Temperature_< ContainerAllocator > &  v 
)

Definition at line 69 of file Temperature.h.

◆ operator<<() [29/29]

template<typename ContainerAllocator >
std::ostream& sensor_msgs::operator<< ( std::ostream &  s,
const ::sensor_msgs::TimeReference_< ContainerAllocator > &  v 
)

Definition at line 69 of file TimeReference.h.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:20