• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypilot
#31
(08-14-2017, 02:14 PM)seandepagnier Wrote: openplotter should either run the complete autopilot,
or have an option to select either boatimu, or autopilot.

Yes, that is the idea when the complete autopilot is implemented.

Thanks for the fix. I will update OP asap.
  Reply
#32
The full autopilot is implemented as pypilot/basic_autopilot.py

I also have debian scripts to run it as a service in scripts/debian.
  Reply
#33
(08-06-2017, 03:41 PM)Sailoog Wrote: The first implementation of pypilot is in the wild on OP 0.14.3!!!! I have just implemented the compass part and it is working right, waiting for users feedback. Thanks a lot.

When Compass is enabled, processing is 26% on Raspberry 3, do you think that could be optimized?

Hi Sailoog, 
can I try to install it on stable version 0.80? Is it compatible?
  Reply
#34
https://github.com/pypilot/pypilot
  Reply
#35
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
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)