Function sensor_msgs::convertPointCloud2ToPointCloud

Function Documentation

static inline bool sensor_msgs::convertPointCloud2ToPointCloud(const sensor_msgs::msg::PointCloud2 &input, sensor_msgs::msg::PointCloud &output)

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

Parameters:
  • input – the message in the sensor_msgs::msg::PointCloud2 format

  • output – the resultant message in the sensor_msgs::msg::PointCloud format