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?