Minimal Ground Station software--MAVLINK 1.0

I'm putting this here since I'm unclear where this question would belong.

I want to build a ground station around a Raspberry Pi that can display basic telemetry.

Initially at least, I want to read only a minimal set of attributes, essentially what comes in the VFR_HUD, ATTITUDE and GLOBAL_POSITION_INT messages.

I understand that the MAVLINK data looks similar to what I find in a .tlog file. I think I understand MAVLINK message structure. I can parse these files enough to understand the basic structure of the protocol. I have a generator to construct packet types from the XML specifications.

What I'm missing is an understanding on the higher-level (session-level) protocol. Is there a message the ground station needs to send to APM to initiate a session? What does it need to tell APM? I'm entirely unclear on where I can find documentation that describes all this. I appreciate your pointers.

Ari.

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

Join diydrones

Email me when people reply –

Replies

  • So now I'm reading MALINK from APM, and I'm parsing out the telemetry, and the CRCs I calculate match what's coming though the serial (wow the extra CRC nonsense). Thank you for your pointers guys!

    Now I want to drive my UAV from the ground station. I send RC_CHANNELS_OVERRIDE, but see no visible effect from that. I wonder if I need to say a special please (like, "I'm going to start sending you rc override commands now") or if I'm expecting some type of ACK or NACK from APM.

    Ari.

  • Simply connect, listen for heartbeat messages which APM always sends and request your needed info with msg_request_data_stream packet - MAV_DATA_STREAM_ALL 0x00 will give you all.

  • Moderator
    Look at mavproxy and mavelous
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @_JonMyer: 🚨Attention DeepRacer's including #UndergroundDeepRacer🚨 Check our our LIVE stream that including @IAM_dbro Take a few moments…
Aug 5
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
More…