Skip to content

Auto Modes

In auto modes the autopilot takes over control of the vehicle to run missions, return to launch, or perform other autonomous navigation tasks.

To use auto modes all the configuration/tuning steps in Rover Configuration/Tuning must be followed (from Basic Setup to Position tuning).

Mission Mode

Mission mode is an automatic mode that causes the vehicle to execute a predefined autonomous mission plan that has been uploaded to the flight controller. The mission is typically created and uploaded with a Ground Control Station (GCS) application, such as QGroundControl.

Mission commands

The following commands can be used in missions at time of writing (PX4 v1.16):

QGC mission item通信描述
Mission startMAV_CMD_MISSION_STARTStarts the mission.
WaypointMAV_CMD_NAV_WAYPOINTNavigate to waypoint.
Return to launchMAV_CMD_NAV_RETURN_TO_LAUNCHReturn to the launch location.
Change speedMAV_CMD_DO_CHANGE_SPEEDChange the speed setpoint
Set launch locationMAV_CMD_DO_SET_HOMEChanges launch location to specified coordinates.
Jump to item (all)MAV_CMD_DO_JUMP (and other jump commands)Jump to specified mission item.

Return Mode

The vehicle will return to the launch position. Return mode can be activated through the respective mission command or through the ground station UI.