Scripting on Mission Planner via Python


I'm using Mission Planner (MP) for a copter simulation.
Specifically, I'm creating a QGC formated (.waypoints) file including the home position, the take-off command, the waypoints to follow, some other actions and closing with an RTL command . The MP after making all necassary pre-arming checks, it must read and then to upload this file to the drone in order to execute it (to follow the trajectory described in QGC format in the "trajectory.waypoints" file).
Can someone please indicate to me what is the sequence of commands in python scripting to make the above operations? (pre-arming checks, mode, e.t.c.) or where to look for the MP commands for the above actions or alternatively any related examples?

Thank you!

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

Join diydrones

Email me when people reply –


This reply was deleted.


Liam left a comment on Agricultural UAVs
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29