Camera calibration => ImportError: No module named cv_bridge_boost on Mac OS X
Running the camera calibration on Mac OS 10.8.4
rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/stereo/left/image_raw camera:=/stereo/left
causes this error
Waiting for service /stereo/left/set_camera_info ...
OK
Exception in thread Thread-5:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, 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 134, in handle_monocular
drawable = self.c.handle_msg(msg)
File "/opt/ros/groovy/lib/python2.7/site-packages/camera_calibration/calibrator.py", line 736, in handle_msg
gray = self.mkgray(msg)
File "/opt/ros/groovy/lib/python2.7/site-packages/camera_calibration/calibrator.py", line 271, in mkgray
return self.br.imgmsg_to_cv(msg, "mono8")
File "/opt/ros/groovy/lib/python2.7/site-packages/cv_bridge/core.py", line 101, in imgmsg_to_cv
source_type = self.encoding_as_cvtype(img_msg.encoding)
File "/opt/ros/groovy/lib/python2.7/site-packages/cv_bridge/core.py", line 73, in encoding_as_cvtype
from cv_bridge.boost.cv_bridge_boost import getCvType
ImportError: No module named cv_bridge_boost
Could you try it on your system? I wonder if it's my system fails or the cv_brige/cameracalibration has got compatibility issues with Mac.
I'm running Groovy, cv_bridge is 1.10.6.
I should also mention that broken display windows appears. By broken I mean it so small that only one slide bar is visible, and the window freezes.
- UPDATE
It is weird, when I run calibration for a stereo pair, I don't get any error messages.
rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 right:=/stereo/right/image_raw left:=/stereo/left/image_raw left_camera:=/stereo/left right_camera:=/stereo/right
Waiting for service /stereo/left/set_camera_info ...
OK
Waiting for service /stereo/right/set_camera_info ...
OK
However the window is still frozen.