ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your best bet is to populate a sensor_msgs/PointCloud2 and publish it. A topic with this message type can natively be visualized in Rviz. If you're looking for an example of populating this type of message, check out any of the lidar drivers such as the Velodyne driver for melodic.