Posts: 3,038
Threads: 63
Joined: Mar 2016
Reputation:
289
2024-04-14, 08:22 PM
(This post was last modified: 2024-04-14, 08:25 PM by Sailoog.)
openplotter-pypilot v4.x.x beta is released. You can download OpenPlotter 4 beta here: https://forum.openmarine.net/showthread.php?tid=5060
Tested on Raspberry Pi 5. I ported the code to Debian bookworm and fixed some dependencies. Everything works as expected, but pypilot HAT still will not work. As you know, the new Raspberry 5 does not support the old GPIO libraries and all code must be adapted to new libraries.
@Sean, I have ported all code of openplotter v4 to gpiod. After reviewing the pypilot code, I see that you can also use the gpiod python binding to replace RPi.GPIO. It has edge detection, pull up/down, bouncetime and all you need and it will work on new and old Raspberries. Some examples: https://github.com/brgl/libgpiod/tree/ma...n/examples
Test an report here as usual please, thanks.
Posts: 8
Threads: 0
Joined: Dec 2020
Reputation:
0
Hello,
Updated I2C, GPIO and installed Pypilot to a "Starting" version of OpenPlotter 4 from 12-29-23.
After reboot, I2C, GPIO and Shutdown management are "service not running" when doing "Checking OpenPlotter".
I'll track down more info and post this here.
Posts: 1,241
Threads: 103
Joined: Mar 2016
Reputation:
73
Not a typical installation but IMU wouldn't start. Assuming this is because I have 2 i2c busses & the imu is connect to bus 6, with RTIMULib.ini edited to >
# I2C Bus (between 0 and 7)
I2CBus=6
Is it possible to edit the RTIMULib.ini file openplotter pypilot uses on my installation?
Posts: 3,038
Threads: 63
Joined: Mar 2016
Reputation:
289
(2024-04-15, 08:33 AM)PaddyB Wrote: Not a typical installation but IMU wouldn't start. Assuming this is because I have 2 i2c busses & the imu is connect to bus 6, with RTIMULib.ini edited to >
# I2C Bus (between 0 and 7)
I2CBus=6
Is it possible to edit the RTIMULib.ini file openplotter pypilot uses on my installation?
yes, you will find RTIMULib.ini in /home/pi/.pypilot
Posts: 3,038
Threads: 63
Joined: Mar 2016
Reputation:
289
2024-04-15, 11:28 AM
(This post was last modified: 2024-04-15, 11:28 AM by Sailoog.)
(2024-04-15, 03:29 AM)SailAlpha Wrote: Hello,
Updated I2C, GPIO and installed Pypilot to a "Starting" version of OpenPlotter 4 from 12-29-23.
After reboot, I2C, GPIO and Shutdown management are "service not running" when doing "Checking OpenPlotter".
I'll track down more info and post this here.
Not related to openplotter-pypilot v4 but let's see what is going on.
Are all the apps updated from openplotter-settings?
Did you change the user name while SD creation or after?
Posts: 80
Threads: 4
Joined: Jan 2022
Reputation:
3
(2024-04-15, 03:29 AM)SailAlpha Wrote: Hello,
Updated I2C, GPIO and installed Pypilot to a "Starting" version of OpenPlotter 4 from 12-29-23.
After reboot, I2C, GPIO and Shutdown management are "service not running" when doing "Checking OpenPlotter".
I'll track down more info and post this here.
I saw exactly the same. I opened and refreshed the I2C and GPIO apps, and turned shutdown management off and back on, and everything went back to normal. Perhaps it would have gone back to normal by itself if I'd been a bit more patient?
Posts: 3,038
Threads: 63
Joined: Mar 2016
Reputation:
289
@Sean, I forgot, if you use gpiod do not install from debian packages, install from pip to get the latest version.
Posts: 2,356
Threads: 21
Joined: Jun 2016
Reputation:
75
I am going to try to pull the latest image you posted today. Once I have this for openplotter I will try on the pi5 and get pypilot hat working on that with the gpio.
Posts: 1,241
Threads: 103
Joined: Mar 2016
Reputation:
73
2024-04-15, 09:27 PM
(This post was last modified: 2024-04-15, 09:27 PM by PaddyB.)
(2024-04-15, 11:24 AM)Sailoog Wrote: (2024-04-15, 08:33 AM)PaddyB Wrote: Not a typical installation but IMU wouldn't start. Assuming this is because I have 2 i2c busses & the imu is connect to bus 6, with RTIMULib.ini edited to >
# I2C Bus (between 0 and 7)
I2CBus=6
Is it possible to edit the RTIMULib.ini file openplotter pypilot uses on my installation?
yes, you will find RTIMULib.ini in /home/pi/.pypilot
Great, thanks. Seems o be running OK & managed not to loose the accell calibration but openplotter app says it can't see it.
Works though, which is the main thing
Posts: 3,038
Threads: 63
Joined: Mar 2016
Reputation:
289
Is the IMU detected if you press "Refresh" in openplotter-pypilot?
|