2017-10-08, 01:54 PM
I have updated pypilot with the last changes and I get this error:
len 1
len 3
len 6
FitPoints 6
sphere bias fit [16.176115652427125, 14.703098599203727, 21.914143840304767, 30]
sphere fit [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507]
new bias fit [17.532448334093086, 16.097354801142529, 36.548086128862295, 21.67690169225048, 0.27773974845984306] 16.1253520432
fit [[17.532448334093086, 16.097354801142529, 36.548086128862295, 21.67690169225048, 0.27773974845984306], [16.176115652427125, 14.703098599203727, 21.914143840304767, 30], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507, 1, 1]]
bias update only
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 314, in CalibrationProcess
print 'coverage', coverage, 'new fit:', fit, 'sphere bias difference', sbd
UnboundLocalError: local variable 'sbd' referenced before assignment
coverage 136.135713834 new fit: [[16.176115652427125, 14.703098599203727, 21.914143840304767, 30], [16.176115652427125, 14.703098599203727, 21.914143840304767, 30], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507, 1, 1]] sphere bias differencepipe full (1) points pipe[1] cannot send
pipe full (10) points pipe[1] cannot send
pipe full (100) points pipe[1] cannot send
len 1
len 3
len 6
FitPoints 6
sphere bias fit [16.176115652427125, 14.703098599203727, 21.914143840304767, 30]
sphere fit [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507]
new bias fit [17.532448334093086, 16.097354801142529, 36.548086128862295, 21.67690169225048, 0.27773974845984306] 16.1253520432
fit [[17.532448334093086, 16.097354801142529, 36.548086128862295, 21.67690169225048, 0.27773974845984306], [16.176115652427125, 14.703098599203727, 21.914143840304767, 30], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507, 1, 1]]
bias update only
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/pypilot/calibration_fit.py", line 314, in CalibrationProcess
print 'coverage', coverage, 'new fit:', fit, 'sphere bias difference', sbd
UnboundLocalError: local variable 'sbd' referenced before assignment
coverage 136.135713834 new fit: [[16.176115652427125, 14.703098599203727, 21.914143840304767, 30], [16.176115652427125, 14.703098599203727, 21.914143840304767, 30], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507], [16.558484954852567, 15.105658731214106, 26.101731752957782, 27.063679299464507, 1, 1]] sphere bias differencepipe full (1) points pipe[1] cannot send
pipe full (10) points pipe[1] cannot send
pipe full (100) points pipe[1] cannot send