personalrobotics / or_rviz

OpenRAVE viewer plugin that publishes the environment to RViz as InteractiveMarkers.
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Cannot get RGB image data by setting viewer as RViz? #42

Open xiaoyuch24 opened 6 years ago

xiaoyuch24 commented 6 years ago

Hello everyone,

I am using ubuntu 14.04, openrave 0.9.0 and navida-384 driver.

After I loaded my environment and set the viewer as 'qctoin', I could access the attached camera on the robot and get the RGB image data. However, if I set the viewer as 'RViz', the RGB image data is always zero.

The reason I would like to use 'RViz' as the viewer is that I want to add one YCB object into the environment with the texture and get RGB image for it. However, in the 'qctoin' viewer, the object is always grey without its texture.

Dose anyone know how to show the object's texture in openrave or how to access the camera data by setting viewer as 'RViz'? Thank you very much!

Best, Yuchen