|
From: | Jake Tarren |
Subject: | Re: [Paparazzi-devel] interfacing with Lisa/M v2 in flight |
Date: | Mon, 26 Aug 2013 09:24:41 -0400 |
Yes...
> Is there a way to connect a Raspberry Pie to the Lisa/M v2 board so I can dynamically change the flightplan based on a program I write on the Raspberry Pie?
...but using MavLink is not the easy way. I might not be up to date on MavLink support, but last time I checked it was basically still at "proof of concept" stage.
> Could I just plug into the onbord USB port and send it MAVLINK commands?
Suggest you look at connecting the lisa's modem UART to an FTDI adapter (or similar) on the Rpi's USB, then write a python ivy agent to direct the flight plan. You could use the UART on the Rpi's breakout header too (I usually keep that spare for serial connection on the bench)
http://paparazzi.enac.fr/wiki/Installation/RaspberryPi
Example code:
https://github.com/paparazzi/paparazzi/tree/master/sw/ground_segment/python
Basically, as far as the autopilot is concerned, the Rpi is the ground station. You might like to snoop on interaction between the usual GCS program and autopilot (in sim), then replicate simple interactions with scripts and build up from there.
Of course you don't have to use python, other languages are supported too.
Chris Gough
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |