ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Raspicam with Rviz

asked 2019-11-18 14:39:01 -0600

pitosalas gravatar image

updated 2019-11-26 20:10:41 -0600

  • Turtlebot3 from Robotis
  • Ubuntu 18.04
  • ROS Melodic
  • Raspi Camera installed

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:

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

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:

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?

edit retag flag offensive close merge delete

Comments

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

pitosalas gravatar image pitosalas  ( 2019-11-26 20:10:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-21 18:28:58 -0600

duck-development gravatar image

Did you try the node

https://github.com/UbiquityRobotics/raspicam_node
edit flag offensive delete link more

Comments

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

pitosalas gravatar image pitosalas  ( 2019-11-23 08:47:08 -0600 )edit

Seems to be the same Did you follow the instructions https://github.com/UbiquityRobotics/r...

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

duck-development gravatar image duck-development  ( 2019-11-25 13:24:25 -0600 )edit

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.

pitosalas gravatar image pitosalas  ( 2019-11-25 14:40:20 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-11-18 14:39:01 -0600

Seen: 1,115 times

Last updated: Nov 26 '19