If you want to connect your companion PC to the latest ArduPlane release, get telemetry data or commanding your custom path planning algorithm, I hope this little library of mine comes in handy.

The class Plane() is basically a wrap around dronekit: it simplifies some variable names and functions and make it easy on SITL to "arm and takeoff". Main functions are:

  • connect() for connecting with the autopilot
  • set_ap_mode() / get_ap_mode() for setting, getting the autopilot flight mode
  • arm_and_takeoff() for arming and takeoff like copter
  • mission_add_takeoff() for quickly adding a takeoff item to your mission
  • set_ground_course() for setting the ground course in Guided mode
  • get_rc_channel() / set_rc_channel()

Find my code on Github

Views: 514

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service