Camera calibration not working, camera not in rostopic?
I'm trying to follow this tutorial https://cmumrsdproject.wikispaces.com/AprilTags_ROS
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 cameracalibration cameracalibrator.py --size 8x6 --square 0.108 image:=/camera/imageraw camera:=/camera
It'll just say service not found.
Asked by krusion on 2016-11-01 19:35:27 UTC
Comments
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.
Asked by gvdhoorn on 2016-11-02 06:19:27 UTC
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.
Asked by krusion on 2016-11-02 08:58:56 UTC
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.
Asked by gvdhoorn on 2016-11-02 11:44:16 UTC
I guess I didn't then, unless you're talking about the camera node, http://wiki.ros.org/usb_cam. 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!
Asked by krusion on 2016-11-03 02:29:59 UTC
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.
Asked by gvdhoorn on 2016-11-03 02:57:58 UTC
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?
Asked by krusion on 2016-11-03 03:17:52 UTC