2023-07-23, 11:48 PM
Okey what a battle. IT WORKS!
Long story short: I had the wrong IMU plugged in. PyPilot doesn not like a fake GY-91 for whatever reason but the MPU92.65 works and fires right up when connected to my laptop's mainboard's VGA port through a simple breakout board!
That is, it does that as long as there is no RTL-SDR plugged in during boot. For reasons I fail to understand, Ubuntu messes around with the i2c assignments when the RTL dongle is connected during boot. This is highly annoying and I need to understand why. Any ideas anyone?
To make this work, I pulled the latest pypilot (which is only supposed to work on Raspberry Pi), compiled and installed it. Then I start it as a service after renaming the username in the service file that's installed. I also added "ExecStartPre=/bin/sleep 30" to the [Service] section to let all the serial ports come up before PyPilot makes an attempt to probe them.
Then I just plug everything in. GPS gets an assignment in Serial and then added to SignalK. PyPilot gets no assignment. I added one single connection to OpenCPN which is port 3000 to SignalK.
Long story short: I had the wrong IMU plugged in. PyPilot doesn not like a fake GY-91 for whatever reason but the MPU92.65 works and fires right up when connected to my laptop's mainboard's VGA port through a simple breakout board!
That is, it does that as long as there is no RTL-SDR plugged in during boot. For reasons I fail to understand, Ubuntu messes around with the i2c assignments when the RTL dongle is connected during boot. This is highly annoying and I need to understand why. Any ideas anyone?
To make this work, I pulled the latest pypilot (which is only supposed to work on Raspberry Pi), compiled and installed it. Then I start it as a service after renaming the username in the service file that's installed. I also added "ExecStartPre=/bin/sleep 30" to the [Service] section to let all the serial ports come up before PyPilot makes an attempt to probe them.
Then I just plug everything in. GPS gets an assignment in Serial and then added to SignalK. PyPilot gets no assignment. I added one single connection to OpenCPN which is port 3000 to SignalK.