ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
sorry to ask one more question, I am also using the cameracalibrator.py to calibrate my stereo camera, but I always got the problem below:
Waiting for service /left/set_camera_info ... OK Waiting for service /right/set_camera_info ... OK Exception in thread Thread-5: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/opt/ros/groovy/lib/camera_calibration/cameracalibrator.py", line 68, in run self.function(m) File "/opt/ros/groovy/lib/camera_calibration/cameracalibrator.py", line 145, in handle_stereo self.c = StereoCalibrator(self._boards, self._calib_flags, self._pattern, name=self._camera_name) TypeError: __init__() got an unexpected keyword argument 'name'
And all topics are:
/image /rosout /rosout_agg /stereo/left/camera_info /stereo/left/image_raw /stereo/left/image_raw/compressed /stereo/left/image_raw/compressed/parameter_descriptions /stereo/left/image_raw/compressed/parameter_updates /stereo/left/image_raw/compressedDepth /stereo/left/image_raw/compressedDepth/parameter_descriptions /stereo/left/image_raw/compressedDepth/parameter_updates /stereo/left/image_raw/theora /stereo/left/image_raw/theora/parameter_descriptions /stereo/left/image_raw/theora/parameter_updates /stereo/parameter_descriptions /stereo/parameter_updates /stereo/right/camera_info /stereo/right/image_raw /stereo/right/image_raw/compressed /stereo/right/image_raw/compressed/parameter_descriptions /stereo/right/image_raw/compressed/parameter_updates /stereo/right/image_raw/compressedDepth /stereo/right/image_raw/compressedDepth/parameter_descriptions /stereo/right/image_raw/compressedDepth/parameter_updates /stereo/right/image_raw/theora /stereo/right/image_raw/theora/parameter_descriptions /stereo/right/image_raw/theora/parameter_updates
my command line is:
rosrun camera_calibration cameracalibrator.py --size 11x7 --square 0.02 right:=/stereo/right/image_raw left:=/stereo/left/image_raw right_camera:=/stereo/right left_camera:=/stereo/left
please tell me how to solve this problem, thx!