This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypilot compass calibration getting lost
Hi Sean, I re-installed scipy and it now seems to work ok:

>>> import scipy
>>> from scipy.constants import find
>>> find ('newton')
['Newtonian constant of gravitation', 'Newtonian constant of gravitation over h-bar c']

No errors now when I run pypilot_boatimu:

pi@openplotter:~ $ sudo systemctl stop pypilot
pi@openplotter:~ $ sudo systemctl stop pypilot_web
pi@openplotter:~ $ sudo systemctl stop pypilot_boatimu
pi@openplotter:~ $ pypilot_boatimu
imu process 1280
pypilotServer process 1282
server setup has 3 pipes
made imu process realtime
Using settings file RTIMULib.ini
Settings file RTIMULib.ini loaded
Detected MPU9250/MPU9255 at standard address
Using fusion algorithm Kalman STATE4
IMU Name: MPU-925x
min/max compass calibration not in use
Using ellipsoid compass calibration
Using accel calibration
MPU-925x init complete
imu rate set to rate 20 roll -67.25675935968249 heading 30.09384820126436
calibration loaded, starting 1279.48089847781887 heading 35.03466648572864

But, still loosing compass calibration when I reboot. So I re-installed the pypilot version that comes with OpenCPN (0.16) and this saves the calibration ok. Obviously the OpenCPN pypilot plugin no longer connects but at least I have a working autopilot. I think I will leave things like this for now and get on with some sailing!
Many thanks for all your help.

Forum Jump:

Users browsing this thread: 1 Guest(s)