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

DIY Robocars via Twitter
21 hours ago
DIY Robocars via Twitter
21 hours ago
DIY Drones via Twitter
yesterday
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
yesterday
DIY Robocars via Twitter
yesterday
David Hori liked Isabella Domi's profile
Wednesday
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Monday
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Monday
DIY Robocars via Twitter
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
Monday
DIY Robocars via Twitter
Jan 6
DIY Robocars via Twitter
Dec 28, 2020
DIY Robocars via Twitter
An interesting line-following simulator to use with with your robocars: https://github.com/ron-grant/LFS
Dec 23, 2020
DIY Robocars via Twitter
Dec 23, 2020
DIY Robocars via Twitter
An improved version of the @IntelAIResearch OpenBot: https://diyrobocars.com/2020/12/14/an-improved-version-of-the-intel-openbot/
Dec 14, 2020
DIY Drones via Twitter
An improved version of the Intel OpenBot https://ift.tt/2KkHT8Q
Dec 14, 2020
DIY Robocars via Twitter
Dec 10, 2020
More…