jsk-ros-pkg / jsk_visualization

jsk visualization ros packages
https://github.com/jsk-ros-pkg/jsk_visualization
324 stars 173 forks source link

About 'OverlayCamera' display #872

Open nuyhead-hwang opened 1 year ago

nuyhead-hwang commented 1 year ago

When I try to use the 'overlay camera' display in rviz, it only shows a black rectangle in the render panel.

On the other hand, in rviz's original 'camera' display, it works fine on the same topic data.

So I analyzed your code and it seems to work if I uncomment the below code it works.

https://github.com/jsk-ros-pkg/jsk_visualization/blob/aa401204c985af679ffe02e4af121a05240cd675/jsk_rviz_plugins/src/overlay_camera_display.cpp#L244

But at the same time, there is a problem that another identical display is created in a new window.

mqcmd196 commented 1 year ago

I haven't encountered

When I try to use the 'overlay camera' display in rviz, it only shows a black rectangle in the render panel.

Could you share the rosbag file and rviz settings that reproduce this problem? Or if rviz outputs something error, please share it

mqcmd196 commented 1 year ago

Screenshot from 2023-05-16 17-32-06

It works well in my environment ( Ubuntu 20.04, ros noetic, using the master branch ) without configuration editing. Did you build any other related packages from the source?

nuyhead-hwang commented 1 year ago

It works well in my environment ( Ubuntu 20.04, ros noetic, using the master branch ) without configuration editing. Did you build any other related packages from the source?

No I just installed the library

using below command

'sudo apt install ros-noetic-jsk-rviz-plugins'