Need example code for Mavlink commands

We are starting an FPV racing series and need a way to see our lap times in our OSD with goggles on.

We want to:

  • push a button on our tx that will send a pwm trigger to the rx
  • have the output of the tx channel signal wire go into an Arduino digital in
  • where we do a pulsein, then do some timer functions
  • output the lap time via a mavlink instruction into an existing text field like call sign.

Can anybody provide a link to a sample Arduino snippit that communicates a mavlink command?

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

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics

    Lots of Arduino/MAVLink examples here. We also have lots of examples with Python and the Mission Planner, which is often easier if you can run a PC on the ground.

  • bump to squash the deafening sounds of crickets.

    • Thanks Thomas and Chris! Time to roll up the shirt sleeves.

This reply was deleted.

Activity