How to get GPS and sensor data via mavlink/mavproxy

Hi all,

Im flying a raspberry Pi thats connected to a pixhawk. The raspberry is mostly used as camera , it has one (and soon several CSI) camera module('s) attached to it. Right now triggering is done by reading a GPIO port thats connected to a pixhawk relay.

Now I would like to add GPS and sensor data (angles) to the exif tags. On the raspberry I installed mavproxy and dronekit, and while they work, but there seems to be no simple way to get an external program to obtain any data from them. I thought this would be about the most basic use of a mavlink proxy or API, but I guess not.

Im at the point where Im considering branching the GPS wires to the Pi and possibly even add IMU sensors to the rapsberry because I just cant seem to interface with mavlink through anything other than a CLI or modules running inside maxproxy.

Any help would be greatly appreciated.  

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Dealing with a similar issue - wondering if could share however you eventually got at the sensor data?

    Much thanks!

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…