Posts: 180
Threads: 39
Joined: Mar 2016
Reputation:
6
I have two different Pis with 9255 imus and either a BMP180 or a BME280 weather sensor.
If I tell it the "boat is level" and enter an offset so the heading matches my old school compass, it reflects those values for the session but if I shut down or restart signalk these settings are lost.
I have tried running in debug mode and I get a message about humidity sensor not found, but nothing else that seems like an error.
Maybe there is something wrong with my openplotter.conf file or something?
Posts: 2,151
Threads: 20
Joined: Jun 2016
Reputation:
63
sorry for the issue. I think the setting is written only once every 10-20 minutes. So after leveling, do not restart for another 20 minutes or so. Check ~/.pypilot/pypilot.conf
It is supposed to be written also on a clean shutdown, so not sure what is going on.
This is to avoid excessive writes since this format file the entire file is re-written if only one field changes. I think it could be reduced to 1-2 minute delay.
Posts: 180
Threads: 39
Joined: Mar 2016
Reputation:
6
In the manual and your video you only show use of The Boat Is Level button and not the directional offset. I have been trying to orient the thing using the heading from the ship's compass and using offset until it is correct. Is that not necessary?
I suppose the imu might sense which way it is accelerating and report that as heading? If that is the case it might read differently than the ship's compass if drifting sideways...
Sent from my Moto G (5) Plus using Tapatalk
Posts: 2,151
Threads: 20
Joined: Jun 2016
Reputation:
63
The calibration is automatic and continuous unless you "lock" it.
The calibration window, is only a client and just a visual display. There can be any number of these. You can connect to the pypilot server to see the calibration on a remote host by typing "pypilot_calibration host" on the command line.
The calibration only determines the 3 compass bias, the overall magnetic field strength and the inclination. These values need to be continuously updated to ensure correct operation.
It doesn't find the alignment to level (2 angles) or the alignment to the compass (1 angle) which need to be manually set whenever the sensors are remounted in the boat.