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

Revision history [back]

Why are you building camera_calibration from source? It's part of the standard full installation of ROS, or you could install it using apt-get.

You describe the step

5) rosdep install camaer calibration

Then your next step is so check the topics, but you haven't actually launched any nodes yet so we wouldn't expect any topics apart from the standard roscore ones.

To you the camera calibration package you'll first need to start a node to connect to your camera and publish its images on a topic, you have to get this working before even looking at camera calibration. Then you can start on section 3.1 of the tutorial to calibrate your camera.

One last hint, saying things like

bunch of errors with title: error data jpeg or something like that

is not very helpful. Please provide a full copy any paste of any error messages in future.

Why are you building camera_calibration from source? It's part of the standard full installation of ROS, or you could install it using apt-get.

You describe the step

5) rosdep install camaer calibration

Then your next step is so check the topics, but you haven't actually launched any nodes yet so we wouldn't expect any topics apart from the standard roscore ones.

To you use the camera calibration package you'll first need to start a node to connect to your camera and publish its images on a topic, you have to get this working before even looking at camera calibration. Then you can start on section 3.1 of the tutorial to calibrate your camera.

One last hint, saying things like

bunch of errors with title: error data jpeg or something like that

is not very helpful. Please provide a full copy any paste of any error messages in future.

Why are you building camera_calibration from source? It's part of the standard full installation of ROS, or you could install it using apt-get.

You describe the step

5) rosdep install camaer camera calibration

Then your next step is so check the topics, but you haven't actually launched any nodes yet so we wouldn't expect any topics apart from the standard roscore ones.

To use the camera calibration package you'll first need to start a node to connect to your camera and publish its images on a topic, you have to get this working before even looking at camera calibration. Then you can start on section 3.1 of the tutorial to calibrate your camera.

One last hint, saying things like

bunch of errors with title: error data jpeg or something like that

is not very helpful. Please provide a full copy any paste of any error messages in future.

Update

Just to be clear, you're trying to determine the calibration parameters of your camera? The commands in your update are trying to run the image_proc pipeline, this is used to undistort images when you already know the camera calibration, but will not help you find that calibration in the first place.

The page you originally linked to describes the correct process for camera calibration. As stated in section 3.1 you have you start your camera driver node which you already have working then run the command:

rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/my_camera/image camera:=/my_camera

To start the calibrator, updating the command so that the calibration size and shape matches the one you're using. Follow the on screen instructions and after collecting enough images you should be able to calculate and save the calibration parameters for your camera. When this process is completed then you can setup your camera node again so it is using the new calibration data then test it using the image_proc pipeline.

Hope this makes sense.