Camera calibration not working, camera not in rostopic?

asked 2016-11-01 19:35:27 -0500

krusion gravatar image

I'm trying to follow this tutorial

I get to the point where I should calibrate my build in webcam, but it won't launch the camera gui so I can start the calibration. I already ran roscore in a separate terminal. However, when I run rostopic list, I don't get camera/xxxx under list. Just rosout and rosout_agg. Why is this happening? If I ignore it and run

rosrun camera_calibration --size 8x6 --square 0.108 image:=/camera/image_raw camera:=/camera

It'll just say service not found.

edit retag flag offensive close merge delete


Just making sure: you are also running your camera driver, right? To calibrate a camera, you need to run the driver, and then the calibration scripts.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-02 06:19:27 -0500 )edit

It's the laptop's built in cam. I couldn't find linux drivers for it. The camera works fine in the application "cheese" so i thought I didn't need drivers then.

krusion gravatar image krusion  ( 2016-11-02 08:58:56 -0500 )edit

I'm talking about the ROS node that interfaces with your camera, not a Linux driver. Nodes that interface with hardware devices (via the regular OS driver) are called 'drivers' in ROS as well.

Calibration cannot run without a running ROS camera driver.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-02 11:44:16 -0500 )edit

I guess I didn't then, unless you're talking about the camera node, . I only installed this and the apriltag wrapper. The only things I installed were indigo and then I followed the tutorial that I linked. Can you point me in the right direction, please. Thank you!

krusion gravatar image krusion  ( 2016-11-03 02:29:59 -0500 )edit

Start the camera node in one terminal, then start the calibration script in another. That's it. Then follow the calibration tutorial linked in the tutorial that you're following.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-03 02:57:58 -0500 )edit

Then I'll need three terminals open. One runs roscore, one runs the camera node, and one runs the calibration . What's the command to run the camera core though?

krusion gravatar image krusion  ( 2016-11-03 03:17:52 -0500 )edit