Error while running ros image_pipeline camera calibration
I am following the following link to get image_pipeline running:
http://wiki.ros.org/camera_calibration/Tutorials/StereoCalibration
I have a stereo camera setup
I am running usbcam to generate the following topics and services as required by imagepipeline:
Topics:
/stereo/image_view/output
/stereo/imageview/parameterdescriptions
/stereo/imageview/parameterupdates
/stereo/left/camera_info
/stereo/left/image_raw
/stereo/left/image_raw/compressed
/stereo/left/imageraw/compressed/parameterdescriptions
/stereo/left/imageraw/compressed/parameterupdates
/stereo/left/image_raw/compressedDepth
/stereo/left/imageraw/compressedDepth/parameterdescriptions
/stereo/left/imageraw/compressedDepth/parameterupdates
/stereo/left/image_raw/theora
/stereo/left/imageraw/theora/parameterdescriptions
/stereo/left/imageraw/theora/parameterupdates
/stereo/right/camera_info
/stereo/right/image_raw
/stereo/right/image_raw/compressed
/stereo/right/imageraw/compressed/parameterdescriptions
/stereo/right/imageraw/compressed/parameterupdates
/stereo/right/image_raw/compressedDepth
/stereo/right/imageraw/compressedDepth/parameterdescriptions
/stereo/right/imageraw/compressedDepth/parameterupdates
/stereo/right/image_raw/theora
/stereo/right/imageraw/theora/parameterdescriptions
/stereo/right/imageraw/theora/parameterupdates
/usbcam/imageraw
Services:
/rosout/get_loggers
/rosout/setloggerlevel
/stereo/imageview/getloggers
/stereo/imageview/setlogger_level
/stereo/imageview/setparameters
/stereo/left/get_loggers
/stereo/left/imageraw/compressed/setparameters
/stereo/left/imageraw/compressedDepth/setparameters
/stereo/left/imageraw/theora/setparameters
/stereo/left/setcamerainfo
/stereo/left/setloggerlevel
/stereo/left/start_capture
/stereo/left/stop_capture
/stereo/right/get_loggers
/stereo/right/imageraw/compressed/setparameters
/stereo/right/imageraw/compressedDepth/setparameters
/stereo/right/imageraw/theora/setparameters
/stereo/right/setcamerainfo
/stereo/right/setloggerlevel
/stereo/right/start_capture
I am running the following command to calibrate: rosrun cameracalibration cameracalibrator.py --approximate=0.01 --size 8x6 --square 0.108 right:=stereo/right/imageraw left:=/stereo/left/imageraw rightcamera:=/stereo/right left_camera:=/stereo/left
And I am getting the following error:
camera:=/stereo/right left_camera:=/stereo/left
Waiting for service /stereo/left/setcamerainfo ...
OK
Waiting for service /stereo/right/setcamerainfo ...
OK
[ERROR] [1567570644.409056]: bad callback:
Traceback (most recent call last): File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in invokecallback cb(msg)
File "/opt/ros/melodic/lib/python2.7/dist-packages/messagefilters/init_.py", line 75, in callback self.signalMessage(msg)
File "/opt/ros/melodic/lib/python2.7/dist-packages/messagefilters/init_.py", line 57, in signalMessage cb(*(msg + args))
File "/opt/ros/melodic/lib/python2.7/dist-packages/messagefilters/init_.py", line 282, in add for vv in itertools.product([zip(s)[0] for s in stamps]):
File "/opt/ros/melodic/lib/python2.7/dist-packages/messagefilters/init_.py", line 282, in
TypeError: 'zip' object is not subscriptable
Any help would be appreciated.
Asked by heisenburg007 on 2019-09-03 23:38:26 UTC
Comments