Robotics StackExchange | Archived questions

Raspicam with Rviz

I have the raspbery pi camera set up well enough so that when I run rqtimageview I see the image. Oddly the topic is something like /raspicamnode/image/compressedmouseleft . No idea what mouseleft means in this context.

Rostopic List shows:

/raspicam_node
/raspicam_node/camera_info
/raspicam_node/image/compressed
/raspicam_node/parameter_descriptions
/raspicam_node/parameter_updates

When I specify node=/raspicamnode/image I get the closest. (Note that rqtimage shows the image fine and mentions a weird topic: "/raspicamnode/image/compressedmouse_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:

Camera:
Status: Warn
Image: No Image Received
Camera Info: received
Topic: OK

And the image area in RVIz is just black! What am I missing?

Asked by pitosalas on 2019-11-18 15:39:01 UTC

Comments

"/raspicam_node/image/compressed_mouse_left" -- really? Where is that coming from?

Asked by pitosalas on 2019-11-26 21:10:56 UTC

Answers

Did you try the node

https://github.com/UbiquityRobotics/raspicam_node

Asked by duck-development on 2019-11-21 19:28:58 UTC

Comments

Is that different from what I get via the normal install via ros.org?

Asked by pitosalas on 2019-11-23 09:47:08 UTC

Seems to be the same Did you follow the instructions https://github.com/UbiquityRobotics/raspicam_node/blob/kinetic/README.md

Did you run the right launch file for you v1 or v2 camera

Asked by duck-development on 2019-11-25 14:24:25 UTC

Yes I did run the right one. Note that rqt_image shows the image fine and mentions a weird topic: "/raspicam_node/image/compressed_mouse_left".

I've updated the main question with more details.

Asked by pitosalas on 2019-11-25 15:40:20 UTC