RobotLocomotion / LabelFusion

LabelFusion: A Pipeline for Generating Ground Truth Labels for Real RGBD Data of Cluttered Scenes
http://labelfusion.csail.mit.edu
Other
383 stars 95 forks source link

how to show image in real time when run lcm-logger to collect image? #87

Open tiexuedanxin opened 4 years ago

mufengjun260 commented 4 years ago

Thanks to MobileManipulation/rgbd_ros_to_lcm, I used rviz to show the topic of rgb,and run lcm-logger at the same time.

tiexuedanxin commented 4 years ago

Thanks to MobileManipulation/rgbd_ros_to_lcm, I used rviz to show the topic of rgb,and run lcm-logger at the same time.

when i run openni2-camera-lcm and lcm-logger out docker to collect image i can't show the topic of rgb through rviz

mufengjun260 commented 4 years ago

I did it on realsense and don't know how to do that on a openni2 camera.But I think you can try to launch openni2 with ros,and set rgb_topic and depth_topic in rgbd_ros_to_lcm.

freeliuzc commented 4 years ago

You can use realsense-ros (https://github.com/IntelRealSense/realsense-ros) to publish topics 'A' instead of openni2. Then use rgbd_ros_to_lcm to subscribe 'A' and publish lcm package 'B'. Last, In one Terminal, run lcm-logger to record package 'B'. In other Terminal, run rviz to subscribe 'A' for visualizing RGB or Point-cloud.