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 @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
yesterday
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
yesterday
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
yesterday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Friday
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Thursday
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
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…
Jan 14
DIY Robocars via Twitter
Jan 14
David Hori liked Isabella Domi's profile
Jan 12
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⁩…
Jan 11
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…
Jan 11
More…