Open pitosalas opened 4 years ago
I have exactly same issue regarding "Oddly the topic is something like /raspicam_node/image/compressed_mouse_left . No idea what mouse_left means in this context." however, I am not able to see the image published in rqt_image_viewer. I also have the same configuration but using my robot instead of turtlebot.
Ubuntu 18.04 ROS Melodic Raspi Camera installed
Same situation here...
From what I know RViz isn't capable of displaying CompressedImage topics. You should be able to view them using rqt_image_view, or change the boolean in the raspicam_node launch file to enable publishing raw images. Those should be viewable in RViz.
RViz should be able to show the compressed topic, it just doesn't like when there is no raw topic. You need to add "Image" display, fill the "Image Topic" parameter with "/raspicam_node/image" and after that change transport hint to "compressed". I believe that should work.
(this was also posted in answerrs.ros.org)
I have the raspbery pi camera set up well enough so that when I run rqt_image_view I see the image. Oddly the topic is something like /raspicam_node/image/compressed_mouse_left . No idea what mouse_left means in this context.
Rostopic List shows:
When I specify node=/raspicam_node/image I get the closest. (Note that rqt_image shows the image fine and mentions a weird topic: "/raspicam_node/image/compressed_mouse_left" which doesn't work in Riz.)
The closest I get Rviz to work with the camera is when i specify topic raspicam_node/image.
Then in the RVIz box I see:
And the image area in RVIz is just black! What am I missing?