pal-robotics / realsense_gazebo_plugin

167 stars 140 forks source link

Unable to diplay pointcloud data in rviz #3

Closed PranavDhulipala closed 4 years ago

PranavDhulipala commented 4 years ago

I tried changing the pointcloud tag to true expecting some data to be published on depth/points but i don't see the topic at all. Digging into the code I couldn't find where pointcloud was being published. Did I miss something? Any help would be appreciated :)

Screenshot from 2020-01-28 17-05-00

saikishor commented 4 years ago

@PranavDhulipala Thanks for reporting the issue, we are working to fix it. We will update you once it is done.

saikishor commented 4 years ago

@PranavDhulipala We have fixed the plugin, Please try to pull the changes and check it out. You should be able to visualize the pointcloud.

MoTahoun commented 4 years ago

@saikishor I am facing the same problem also for kinetic-devel branch. image

There is no topic for depth/points

Thanks in advance

saikishor commented 4 years ago

@MoTahoun Did you enable the pointCloud field in the gazebo plugin info as shown by @PranavDhulipala ?

MoTahoun commented 4 years ago

@saikishor Yes, I missed to enable it. It's fine now. Thanks

anubhav1772 commented 4 years ago

@PranavDhulipala, could you please share your file where you are adding these settings? Actually I am having some problems while running simulated realsense camera in gazebo.

saikishor commented 4 years ago

@anubhav1772 You can find the information on the URDF and the respective gazebo xacro files here : https://github.com/pal-robotics-forks/realsense/tree/upstream

PranavDhulipala commented 4 years ago

@saikishor this fixes the issue of the pointcloud however the point cloud produced doesn't have rgb data.

roboticlemon commented 3 years ago

@PranavDhulipala Did you have the issue of RGB data solved? If not I will file a new issue because I am not getting rgb data either, just mono for pointcloud.