Raspberry Pi inspired autopilot
emlid.com
Raspberry Pi inspired autopilot
1–10 of 61 posts
Re: Raspberry Pi inspired autopilot
#2Re: Raspberry Pi inspired autopilot
#3Looks very nice. Is Linux actually real-time enough to run autopilot code?
Re: Raspberry Pi inspired autopilot
#4Looks very nice. Is Linux actually real-time enough to run autopilot code?
This works by patching the Linux kernel to make almost all of it preemptable, (replacing spinlocks with mutexes) so interrupts can be acted on more quickly.
Re: Raspberry Pi inspired autopilot
#5Looks very nice. Is Linux actually real-time enough to run autopilot code?
Typically, APM/MavLink runs on a Arduino (my Quanum CX-20 quad runs an Mega 2650). This looks like this is a Raspberry Pi shield that I suspect contains an ATmega - so it's not Linux that is doing the flight controlling.
Re: Raspberry Pi inspired autopilot
#6Looks very nice. Is Linux actually real-time enough to run autopilot code?
Re: Raspberry Pi inspired autopilot
#7Re: Raspberry Pi inspired autopilot
#8Earlier quoted context omitted.
Typically, APM/MavLink runs on a Arduino (my Quanum CX-20 quad runs an Mega 2650). This looks like this is a Raspberry Pi shield that I suspect contains an ATmega - so it's not Linux that is doing the flight controlling.
Actually we run APM code ported to Linux, there is no Atmega on the board. There was a lot done to make this possible including special real-time Raspbian. It flies very stable and with great timing performance.
Re: Raspberry Pi inspired autopilot
#9Looks very nice. Is Linux actually real-time enough to run autopilot code?
Possibly not. It seems that this runs APM, which is an open source autopilot system. On their install pages, the Raspberry Pi is listed as a companion computer (presumably to be hooked to some other device that runs the code) (which this system might not do) but the Beaglebone Black (which I guess is similar to the Raspberry Pi, so might be what they do here) requires installation of realtime patches for Linux. This…
Re: Raspberry Pi inspired autopilot
#10Looks very nice. Is Linux actually real-time enough to run autopilot code?
They also say "autopilot’s code works directly on Raspberry Pi using the APM’s Linux HAL". [2]
[1]: http://www.emlid.com/raspberry-pi-real-time-kernel/ [2]: http://www.emlid.com/navio-apm/