[Documentation] [TitleIndex] [WordIndex

Only released in EOL distros:  

point_cloud_perception: point_cloud_converter

Package Summary

Convert between sensor_msgs::PointCloud and the sensor_msgs::PointCloud2 formats.

point_cloud_perception: point_cloud_converter

Package Summary

Convert between sensor_msgs::PointCloud and the sensor_msgs::PointCloud2 formats.

Contents

  1. Usage

DEPRECATED (Diamondback)

Usage

The point_cloud_converter package contains a single node (with the same name) that can be used to convert data between the old sensor_msgs/PointCloud and the new sensor_msgs/PointCloud2 data formats, and viceversa. To achieve this, the node accepts inputs on two ROS topics:

The outputs will be generated as follows:

Examples:

$  rosrun point_cloud_converter point_cloud_converter points2_in:=/my_input_pointcloud2_topic points_out:=/my_output_pointcloud_topic
[ INFO] [1272222413.891331026]: PointCloudConverter initialized to transform from PointCloud (/points_in) to PointCloud2 (/points2_out).
[ INFO] [1272222413.891524710]: PointCloudConverter initialized to transform from PointCloud2 (/points2_in) to PointCloud (/points_out).

$  rosrun point_cloud_converter point_cloud_converter /points2_in:=my_input_pointcloud2_topic /points_out:=my_output_pointcloud_topic
[ INFO] [1272222329.786616389]: PointCloudConverter initialized to transform from PointCloud (/points_in) to PointCloud2 (/points2_out).
[ INFO] [1272222329.786817983]: PointCloudConverter initialized to transform from PointCloud2 (/my_input_pointcloud2_topic) to PointCloud (/my_output_pointcloud_topic).


2024-11-16 14:50