ubuntu@magni02:~$ rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.050 image:=/raspicam_node/image camera:=/raspicam_node
('Waiting for service', '/raspicam_node/set_camera_info', '...')
OK
libEGL warning: DRI2: failed to authenticate
*** Added sample 1, p_x = 0.498, p_y = 0.181, p_size = 0.215, skew = 0.049
*** Added sample 2, p_x = 0.498, p_y = 0.408, p_size = 0.185, skew = 0.068
*** Added sample 3, p_x = 0.545, p_y = 0.565, p_size = 0.184, skew = 0.065
*** Added sample 4, p_x = 0.422, p_y = 0.630, p_size = 0.181, skew = 0.052
*** Added sample 5, p_x = 0.428, p_y = 0.488, p_size = 0.174, skew = 0.129
*** Added sample 6, p_x = 0.416, p_y = 0.456, p_size = 0.167, skew = 0.278
*** Added sample 7, p_x = 0.407, p_y = 0.606, p_size = 0.165, skew = 0.211
*** Added sample 8, p_x = 0.371, p_y = 0.737, p_size = 0.180, skew = 0.008
*** Added sample 9, p_x = 0.424, p_y = 0.896, p_size = 0.184, skew = 0.058
*** Added sample 10, p_x = 0.404, p_y = 0.786, p_size = 0.191, skew = 0.136
*** Added sample 11, p_x = 0.489, p_y = 0.863, p_size = 0.307, skew = 0.064
*** Added sample 12, p_x = 0.389, p_y = 0.256, p_size = 0.180, skew = 1.000
*** Added sample 13, p_x = 0.502, p_y = 0.710, p_size = 0.250, skew = 0.084
*** Added sample 14, p_x = 0.576, p_y = 0.476, p_size = 0.151, skew = 0.019
*** Added sample 15, p_x = 0.769, p_y = 0.474, p_size = 0.144, skew = 0.040
*** Added sample 16, p_x = 0.814, p_y = 0.495, p_size = 0.152, skew = 0.196
*** Added sample 17, p_x = 0.713, p_y = 0.569, p_size = 0.145, skew = 0.093
*** Added sample 18, p_x = 0.658, p_y = 0.718, p_size = 0.134, skew = 0.129
*** Added sample 19, p_x = 0.699, p_y = 0.844, p_size = 0.161, skew = 0.196
*** Added sample 20, p_x = 0.567, p_y = 0.801, p_size = 0.158, skew = 0.079
*** Added sample 21, p_x = 0.710, p_y = 0.798, p_size = 0.156, skew = 0.008
*** Added sample 22, p_x = 0.835, p_y = 0.784, p_size = 0.146, skew = 0.097
*** Added sample 23, p_x = 0.897, p_y = 0.903, p_size = 0.151, skew = 0.070
*** Added sample 24, p_x = 0.756, p_y = 0.941, p_size = 0.175, skew = 0.127
*** Added sample 25, p_x = 0.351, p_y = 0.567, p_size = 0.134, skew = 0.088
*** Added sample 26, p_x = 0.256, p_y = 0.702, p_size = 0.143, skew = 0.141
*** Added sample 27, p_x = 0.127, p_y = 0.566, p_size = 0.171, skew = 0.114
*** Added sample 28, p_x = 0.123, p_y = 0.433, p_size = 0.173, skew = 0.040
*** Added sample 29, p_x = 0.051, p_y = 0.206, p_size = 0.200, skew = 0.107
*** Added sample 30, p_x = 0.048, p_y = 0.329, p_size = 0.227, skew = 0.002
*** Added sample 31, p_x = 0.106, p_y = 0.379, p_size = 0.212, skew = 0.166
*** Added sample 32, p_x = 0.019, p_y = 0.079, p_size = 0.231, skew = 0.162
*** Added sample 33, p_x = 0.045, p_y = 0.433, p_size = 0.302, skew = 0.022
*** Added sample 34, p_x = 0.133, p_y = 0.545, p_size = 0.321, skew = 0.029
*** Added sample 35, p_x = 0.145, p_y = 0.452, p_size = 0.353, skew = 0.142
*** Added sample 36, p_x = 0.173, p_y = 0.499, p_size = 0.394, skew = 0.227
*** Added sample 37, p_x = 0.176, p_y = 0.633, p_size = 0.423, skew = 0.269
*** Added sample 38, p_x = 0.333, p_y = 0.870, p_size = 0.326, skew = 0.029
*** Added sample 39, p_x = 0.176, p_y = 0.804, p_size = 0.336, skew = 0.016
*** Added sample 40, p_x = 0.173, p_y = 0.361, p_size = 0.338, skew = 0.073
*** Added sample 41, p_x = 0.348, p_y = 0.360, p_size = 0.339, skew = 0.028
*** Added sample 42, p_x = 0.517, p_y = 0.343, p_size = 0.329, skew = 0.002
*** Added sample 43, p_x = 0.647, p_y = 0.377, p_size = 0.331, skew = 0.074
*** Added sample 44, p_x = 0.788, p_y = 0.484, p_size = 0.335, skew = 0.210
*** Added sample 45, p_x = 0.633, p_y = 0.589, p_size = 0.346, skew = 0.068
*** Added sample 46, p_x = 0.475, p_y = 0.710, p_size = 0.355, skew = 0.309
*** Added sample 47, p_x = 0.438, p_y = 0.688, p_size = 0.342, skew = 0.459
*** Added sample 48, p_x = 0.383, p_y = 0.687, p_size = 0.356, skew = 0.641
*** Added sample 49, p_x = 0.321, p_y = 0.680, p_size = 0.375, skew = 0.781
*** Added sample 50, p_x = 0.328, p_y = 0.728, p_size = 0.404, skew = 0.482
*** Added sample 51, p_x = 0.353, p_y = 0.336, p_size = 0.292, skew = 0.627
*** Added sample 52, p_x = 0.387, p_y = 0.328, p_size = 0.249, skew = 0.462
*** Added sample 53, p_x = 0.406, p_y = 0.228, p_size = 0.245, skew = 0.542
*** Added sample 54, p_x = 0.351, p_y = 0.723, p_size = 0.277, skew = 0.121
*** Added sample 55, p_x = 0.382, p_y = 0.654, p_size = 0.268, skew = 0.510
('D = ', [0.13218282142579285, -0.1864506729599675, 0.0012672682642213108, 0.0006182537721607994, 0.0])
('K = ', [1017.8116476801164, 0.0, 646.6491487958014, 0.0, 1017.9241464782855, 476.6221135729139, 0.0, 0.0, 1.0])
('R = ', [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0])
('P = ', [1041.657958984375, 0.0, 647.446254202936, 0.0, 0.0, 1041.740966796875, 477.61519468633196, 0.0, 0.0, 0.0, 1.0, 0.0])
None
# oST version 5.0 parameters
[image]
width
1280
height
960
[narrow_stereo]
camera matrix
1017.811648 0.000000 646.649149
0.000000 1017.924146 476.622114
0.000000 0.000000 1.000000
distortion
0.132183 -0.186451 0.001267 0.000618 0.000000
rectification
1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
projection
1041.657959 0.000000 647.446254 0.000000
0.000000 1041.740967 477.615195 0.000000
0.000000 0.000000 1.000000 0.000000
('D = ', [0.13218282142579285, -0.1864506729599675, 0.0012672682642213108, 0.0006182537721607994, 0.0])
('K = ', [1017.8116476801164, 0.0, 646.6491487958014, 0.0, 1017.9241464782855, 476.6221135729139, 0.0, 0.0, 1.0])
('R = ', [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0])
('P = ', [1041.657958984375, 0.0, 647.446254202936, 0.0, 0.0, 1041.740966796875, 477.61519468633196, 0.0, 0.0, 0.0, 1.0, 0.0])
# oST version 5.0 parameters
[image]
width
1280
height
960
[narrow_stereo]
camera matrix
1017.811648 0.000000 646.649149
0.000000 1017.924146 476.622114
0.000000 0.000000 1.000000
distortion
0.132183 -0.186451 0.001267 0.000618 0.000000
rectification
1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
projection
1041.657959 0.000000 647.446254 0.000000
0.000000 1041.740967 477.615195 0.000000
0.000000 0.000000 1.000000 0.000000
Traceback (most recent call last):
Exception in thread Thread-2 (most likely raised during interpreter shutdown):Exception in thread Thread-5 (most likely raised during interpreter shutdown): File "/opt/ros/kinetic/lib/python2.7/dist-packages/camera_calibration/camera_calibrator.py", line 248, in on_mouse
rospy.signal_shutdown('Quit')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/core.py", line 493, in signal_shutdown
Exception in thread Thread-6 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 754, in run
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/opt/ros/kinetic/lib/python2.7/dist-packages/camera_calibration/camera_calibrator.py", line 90, in run
File "/opt/ros/kinetic/lib/python2.7/dist-packages/camera_calibration/camera_calibrator.py", line 164, in handle_monocular
File "/opt/ros/kinetic/lib/python2.7/dist-packages/camera_calibration/calibrator.py", line 744, in handle_msg
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/registration.py", line 275, in startt.join(_TIMEOUT_SHUTDOWN_JOIN)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/camera_calibration/calibrator.py", line 651, in remap
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/registration.py", line 307, in run
File "/usr/lib/python2.7/threading.py", line 203, in release
File "/usr/lib/python2.7/threading.py", line 951, in join
self.__block.wait(delay)
File "/usr/lib/python2.7/threading.py", line 355, in wait
remaining = endtime - _time()
TypeError: 'NoneType' object is not callable
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'remap'
<type 'exceptions.TypeError'>: 'NoneType' object is not callableTraceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/opt/ros/kinetic/lib/python2.7/dist-packages/camera_calibration/camera_calibrator.py", line 88, in run
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault
ubuntu@magni02:~$