OpenMarine
Upgrade tinypilot from Git - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: Upgrade tinypilot from Git (/showthread.php?tid=2271)

Pages: 1 2


RE: Upgrade tinypilot from Git - ironman - 2020-05-09

This would be the answer for h#@schuur's problem, but it's quite advanced fix. Reading what you say, I'd reckon this might also be possible by adjusting /opt/bootlocal.sh and then running filetool.sh -b.

@Sean having built upgrade procedures extensively in the past, I'd recommend some post-migration script built into pypilot.build that would replace or modify the bootlocal script automatically, or do whatever needs to be done to fix this service rename problem, if required.


RE: Upgrade tinypilot from Git - h@#schuur - 2020-05-13

thank you for the response

i think i have to wait for a new script or tinypilot version.
i cannot find which services i have to rename.
and of course you have to trust the coding.
Confused


RE: Upgrade tinypilot from Git - seandepagnier - 2020-05-14

sorry the new version is taking a while.

I agree that having some sort of upgrade would be nice.

I didn't originally intend users to upgrade tinypilot this way, only by sd image, but it can definitely be added.


RE: Upgrade tinypilot from Git - latilz - 2021-04-23

Hello,

I am writing here for a question regarding tinypilot upgrade. I have a raspberry pi zero W with the tinypilot image available from pypilot.org installed on it.

The issue is that I cannot manage to get my IMU ICM20948 detected by the pi. I thought that upgrading tinypilot from git could solve the problem since there was recently an update for this IMU, so I followed the instructions from this thread but the IMU still isn't detected.

I know the IMU is working since I installed instead Raspbian and the latest Pypilot version on my pi and got everything working.

Is there a way to fix/upgrade tinypilot to get the IMU detected ?

Thanks for your help


RE: Upgrade tinypilot from Git - seandepagnier - 2021-04-24

the latest image does not support icm20948

You would have to compile RTIMULib2:
https://github.com/seandepagnier/RTIMULib2/

This is a library used by pypilot, the build scripts are in tinypilot which need to make a package for it so it works after reboot. I intend to make the next tinypilot image support them.


RE: Upgrade tinypilot from Git - latilz - 2021-04-25

(2021-04-24, 12:22 AM)seandepagnier Wrote: the latest image does not support icm20948

You would have to compile RTIMULib2:
https://github.com/seandepagnier/RTIMULib2/

This is a library used by pypilot, the build scripts are in tinypilot which need to make a package for it so it works after reboot.  I intend to make the next tinypilot image support them.

Ok, thanks for your answer. I managed to update the IMU library by downloading it from git and compiling it with the build script from tinypilot.
The icm20948 is now detected by the Rpi and I could finalize the assembly of my autopilot, using an old AH800 and a DRV8874 based motor controller. It is working fine on a 7m long sail boat, thanks a lot for sharing your great work!