2026-10-18, 11:35 PM
I was looking into pypilot and I am not sure I understand why the code is not more module such that the IMU functionality is separated from the core autopilot functionality. There are many off-the-shelf IMU-like
sensors that could be made to function as a viable IMU (I am using one currently and I love it), but since pypilot is not currently written with an open spec for the IMU, which doesn't seem like a huge work-effort (defining open NMEA0183 or json schema and data model/API, that is), and it seems to me that doing so would drive a lot more adoption and lower the cost of entry to use. I can see that there is probably some degree of calibration specific to pypilot that might be optimally part of the platform, but maybe none is really required, outside of that necessary for the IMU to function in a boating environment. In other words, calibration only becomes a pypilot problem to solve if use of the platform is tied to a specific IMU that cannot be optimally calibrated independently. This is more a riff that a technical feature request but I think there is some merit to separating those services architecturally, it might also simplify the way other IMU related functions in Openplotter are implemented and supported. Please correct me if I am wrong on this, but it may be worth looking at forking pypilot and then publishing the IMU spec so that developers can write NMEA or json IMU interfaces to other IMUs (that is, without I2C, which doesn't really have much of a place anymore in a Signalk environment, IMHO). Sorry again if I am missing something, but I for one would work very hard on developing an open IMU (I have the bones of it already written) if I knew pypilot was ready for it. Just a thought, I hope it's constructive.
sensors that could be made to function as a viable IMU (I am using one currently and I love it), but since pypilot is not currently written with an open spec for the IMU, which doesn't seem like a huge work-effort (defining open NMEA0183 or json schema and data model/API, that is), and it seems to me that doing so would drive a lot more adoption and lower the cost of entry to use. I can see that there is probably some degree of calibration specific to pypilot that might be optimally part of the platform, but maybe none is really required, outside of that necessary for the IMU to function in a boating environment. In other words, calibration only becomes a pypilot problem to solve if use of the platform is tied to a specific IMU that cannot be optimally calibrated independently. This is more a riff that a technical feature request but I think there is some merit to separating those services architecturally, it might also simplify the way other IMU related functions in Openplotter are implemented and supported. Please correct me if I am wrong on this, but it may be worth looking at forking pypilot and then publishing the IMU spec so that developers can write NMEA or json IMU interfaces to other IMUs (that is, without I2C, which doesn't really have much of a place anymore in a Signalk environment, IMHO). Sorry again if I am missing something, but I for one would work very hard on developing an open IMU (I have the bones of it already written) if I knew pypilot was ready for it. Just a thought, I hope it's constructive.

