Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cameracheck.py failed #205

Closed
aclodic opened this issue Jun 28, 2016 · 1 comment
Closed

cameracheck.py failed #205

aclodic opened this issue Jun 28, 2016 · 1 comment

Comments

@aclodic
Copy link

aclodic commented Jun 28, 2016

On our PR2 (running indigo),
trying to test the narrow_stereo calibration leads to this error:

@c1:~/catkin_indigo_calib_ws$ rosrun camera_calibration cameracheck.py stereo:=narrow_stereo --size=7x6 --square=0.108
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/home/aclodic/catkin_indigo_calib_ws/src/image_pipeline/camera_calibration/nodes/cameracheck.py", line 83, in run
self.function(m)
File "/home/aclodic/catkin_indigo_calib_ws/src/image_pipeline/camera_calibration/nodes/cameracheck.py", line 190, in handle_stereo
if L and R:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

@aclodic
Copy link
Author

aclodic commented Jun 28, 2016

and it does the same with a freshly installed package:

@c1:~/catkin_indigo_calib$ rosrun camera_calibration cameracheck.py stereo:=wide_stereo --size=7x6 --square=0.108
no chessboard
no chessboard
no chessboard
no chessboard
Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/opt/ros/indigo/lib/camera_calibration/cameracheck.py", line 83, in run
self.function(m)
File "/opt/ros/indigo/lib/camera_calibration/cameracheck.py", line 190, in handle_stereo
if L and R:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant