How to visualize the point cloud published by a realsense device in YARP? #684
-
I want to visualize the point cloud publised by a realsense device via https://github.com/robotology/yarp-device-realsense2 . For the RGB feed I can use Thanks a lot in advance! fyi @Nicogene |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
cc @Gio-DS |
Beta Was this translation helpful? Give feedback.
-
Realsense gives you rgb and depth images. Before visualizing something on rviz, you have to compute a pointcloud. You can use: https://github.com/robotology/yarp-devices-ros2/tree/master/src%2Fdevices%2FrgbdToPointCloudSensor_nws_ros2. |
Beta Was this translation helpful? Give feedback.
Realsense gives you rgb and depth images. Before visualizing something on rviz, you have to compute a pointcloud. You can use: https://github.com/robotology/yarp-devices-ros2/tree/master/src%2Fdevices%2FrgbdToPointCloudSensor_nws_ros2.
Since poincloud is an expensive datatype in terms of used memory and bandwidth, it is highly recommended to transmit over the network compressed rgb and depth images, and create the pointcloud locally, as the final step of the pipeline.