camera_calibration "ImportError" for stereo setup
Hi all;
I am using camera_calibration node ( http://wiki.ros.org/camera_calibration ) to calibrate a stereo system based on a VRMagic D3 camera. To access the images of the smartcam I am using vrmagic_ros_bridge_server node. I am running ROS INDIGO in an Ubuntu 64 bit machine. After remapping images to a common workspace, I have the following topics:
/img_pub1
/img_pub1_camera_info
/img_pub2
/img_pub2_camera_info
/object_image/left/camera_info
/object_image/left/image_raw
/object_image/left/image_raw/compressed
/object_image/left/image_raw/compressed/parameter_descriptions
/object_image/left/image_raw/compressed/parameter_updates
/object_image/left/image_raw/compressedDepth
/object_image/left/image_raw/compressedDepth/parameter_descriptions
/object_image/left/image_raw/compressedDepth/parameter_updates
/object_image/left/image_raw/theora
/object_image/left/image_raw/theora/parameter_descriptions
/object_image/left/image_raw/theora/parameter_updates
/object_image/right/camera_info
/object_image/right/image_raw
/object_image/right/image_raw/compressed
/object_image/right/image_raw/compressed/parameter_descriptions
/object_image/right/image_raw/compressed/parameter_updates
/object_image/right/image_raw/compressedDepth
/object_image/right/image_raw/compressedDepth/parameter_descriptions
/object_image/right/image_raw/compressedDepth/parameter_updates
/object_image/right/image_raw/theora
/object_image/right/image_raw/theora/parameter_descriptions
/object_image/right/image_raw/theora/parameter_updates
/rosout
/rosout_agg
Following the StereoCalibration tutorial step by step, I call the stereo calibration procedure:
rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.024 right:=/object_image/right/image_raw left:=/object_image/left/image_raw right_camera:=/object_image/right left_camera:=/object_image/left
And I obtain the following error, seems some kind of dependency, but I have installed everything (I think) correctly:
Traceback (most recent call last):
File "/opt/ros/indigo/lib/camera_calibration/cameracalibrator.py", line 50, in <module>
from camera_calibration.calibrator import MonoCalibrator, StereoCalibrator, ChessboardInfo, Patterns
ImportError: No module named calibrator
I would appreciate any clue to solve this, I need to obtain the camera_info information of both cameras asap !!
Thnak you all in advance,
Alberto