ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3 GUI opens but is not drawn

asked 2017-03-10 13:37:43 -0600

Vitor gravatar image

I'm trying to calibrate a single camera using cameracalibrator, as explained in Despite being able to see the camera using rosrun image_view image_view image:=/camera/image_raw, I cannot start cameracalibrator. After issuing rosrun camera_calibration --size 9x6 --square 0.05 images:=/camera/image_raw camera:=/camera, I get the following output:

('Waiting for service', '/camera/set_camera_info', '...')
init done

The window appears, but contents are not draw. There's no video feed nor slider controls when I use that command. How do I solve that? This is using Kinetic on Ubuntu 16.04

If it helps:

$ rostopic list
edit retag flag offensive close merge delete


I'm having the exact same issue after installing 16,04 fresh. Did you ever resolve this issue? Would be very interested to hear if you did.

davelkan gravatar image davelkan  ( 2017-10-12 11:05:54 -0600 )edit

Have you tried running it with the "--no-service-check" option? Meaning running "rosrun camera_calibration --size 9x6 --square 0.05 images:=/camera/image_raw camera:=/camera --no-service-check" gravatar image  ( 2018-08-31 00:36:20 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-12 12:57:42 -0600

davelkan gravatar image

I think i see the problem here. Through my own trials i observed that the symptoms you are describing occur when the image has not yet been received by the calibration gui node. It doesn't draw any images until it's received an image.

It looks like you're remapping the incorrect topic, which would explain why the image has not been received. rosrun camera_calibration --size 9x6 --square 0.05 images:=/camera/image_raw camera:=/camera is remapping "images" and should be remapping "image". You can check this by comparing the subscribed topics under rosnode info /camreacalibrator to the topics viewable by rostopic list

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-03-10 13:37:43 -0600

Seen: 885 times

Last updated: Oct 12 '17