MobileManipulation / rgbd_ros_to_lcm

ROS node to republish RGBD sensor data in LCM
BSD 3-Clause "New" or "Revised" License
26 stars 11 forks source link

Get errors when run catkin_make #2

Closed hoangcuongbk80 closed 6 years ago

hoangcuongbk80 commented 6 years ago

Hi, Thanks for your work! I am trying to build the code and getting the flowing issue:

rgbtolcm

Any suggestion would be appreciated!

My system: ubuntu 16.04, ROS kinetic.

5yler commented 6 years ago

It looks like you are missing the VTK library. I would recommend you try sudo apt-get install vtk6 and then run catkin_make again.

hoangcuongbk80 commented 6 years ago

Thank you for your suggestion. It worked! However when execute: play a rosbag or run asus xtion camera roslaunch rgbd_ros_to_lcm lcm_republisher.launch run lcm-logger (Labelfusion to generate lcm file) Finally, run run_trim in Labelfusion, however I cannot see anything: (openni2_launch) 11

(rosbag) 12

Could you give me a suggestion? I am a bit urgent to collecting data, so if possible please help me ASAP. Thank you very much!!!!

5yler commented 6 years ago

I'm not sure this pipeline will work to generate an lcmlog from playing back a rosbag, as the rate of messages published is likely lower than when streaming live images from the camera so the message synchronizer may fail.

A couple ideas:

hoangcuongbk80 commented 6 years ago

Thanks for your prompt reply.

14

5yler commented 6 years ago

That's strange. I just cloned and installed the package on a new computer (Ubuntu 16.04, ROS Kinetic) and got the following output for lcm-logger: image lcm-spy: image

Perhaps something is off with your LCM network setup. Is the computer you're running this on connected to the internet? If not, this page may be of help. Or is it perhaps connected to multiple network interfaces?

hoangcuongbk80 commented 6 years ago

Oh, It worked if run lcm-logger without starting the LabelFusion Docker container So, the problem is from LabelFusion. Thank you for your great help. You just saved my day!

5yler commented 6 years ago

Good to hear!