PX4 Flight Modes Overview
This topic is under construction. It is not complete and has not been fully reviewed.
Flight modes define how the autopilot responds to remote control input, and how it manages vehicle movement during fully autonomous flight.
The modes provide different types/levels of autopilot assistance to the user (pilot), ranging from automation of common tasks like takeoff and landing, through to mechanisms that make it easier to regain level flight, hold the vehicle to a fixed path or position, etc.
This topic provides an overview of the available the flight modes, and the (mostly minor) differences in their default behaviour in multicopter (MC), fixed-wing (FW) and VTOL frames.
More detailed information about specific flight modes can be found in Flying > Flight Modes.
Switching Between Modes
Pilots can transition between flight modes using switches on the remote control or with a ground control station (see Flight Mode Configuration).
Not all flight modes are available on all vehicle types, and some modes behave differently on different vehicle types.
Some flight modes make sense only under specific pre-flight and in-flight conditions (e.g. GPS lock, airspeed sensor, vehicle attitude sensing along an axis). PX4 will not allow transitions to those modes until the right conditions are met.
Autonomous and Manual Modes
Flight Modes are either manual or autonomous. Manual modes are those where the user has control over vehicle movement via the RC control sticks (or joystick), while autonomous modes are fully controlled by the autopilot, and require no pilot/remote control input.
Some manual modes may have autopilot-assisted mechanisms to make it easier to gain or restore controlled flight. For example, most modes will level out the vehicle when the RC sticks are centered.
Manual modes may further be divided into "easy" and "acrobatic" modes. In the easy modes, roll and pitch sticks set the vehicle angle, resulting in left-right and forward-back movement in the horizontal plane (respectively). Not only does this make movement predictable, but because angles are controlled, the vehicle is impossible to flip. In acrobatic modes RC sticks control the rate of angular rotation (around the respective axis). Vehicles can flip, and while more maneuverable, are harder to fly.
Fixed Wing:
- Manual-Easy: Position, Altitude, Stabilized, Manual
- Manual-Acrobatic: Acro
- Autonomous: Hold, Return, Mission, Takeoff, Land
Multicopter:
- Manual-Easy: Position, Altitude, Manual/Stabilized
- Manual-Acrobatic: Rattitude, Acro
- Autonomous: Hold, Return, Mission, Takeoff, Land, Follow Me, Offboard
Key
The icons below are used within the document:
Multicopter
Position Mode
Position mode is an easy-to-fly RC mode in which roll and pitch sticks control speed over ground in the left-right and forward-back directions (relative to the "front" of the vehicle), and throttle controls speed of ascent-descent. When the sticks are released/centered the vehicle will actively brake, level, and be locked to a position in 3D space — compensating for wind and other forces.
Position mode is the safest manual mode for new fliers. Unlike Altitude and Manual/Stabilized modes the vehicle will stop when the sticks are centered rather than continuing until slowed by wind resistance.
Altitude Mode
Altitude mode is a relatively easy-to-fly RC mode in which roll and pitch sticks control vehicle movement in the left-right and forward-back directions (relative to the "front" of the vehicle), yaw stick controls rate of rotation over the horizontal plane, and throttle controls speed of ascent-descent.
When the sticks are released/centered the vehicle will level and maintain the current altitude. If moving in the horizontal plane the vehicle will continue until any momentum is dissipated by wind resistance. If the wind blows the aircraft will drift in the direction of the wind.
Attitude mode is the safest non-GPS manual mode for new fliers. It is just like Manual/Stabilized mode but additionally stabilizes the vehicle altitude when the sticks are released.
Manual/Stabilized Mode
The Manual/Stabilized mode stabilizes the multicopter when the RC control sticks are centred. To manually move/fly the vehicle you move the sticks outside of the centre.
This multicopter mode is enabled if you set either Manual or Stabilized modes for an MC vehicle.
When under manual control the roll and pitch sticks control the angle of the vehicle (attitude), the yaw stick controls the rate of rotation above the horizontal plane, and the throttle controls altitude/speed.
As soon as you release the control sticks they will return to the centre deadzone. The multicopter will level out and stop once the roll and pitch sticks are centered. The vehicle will then hover in place/maintain altitude - provided it is properly balanced, throttle is set appropriately, and no external forces are applied (e.g. wind). The craft will drift in the direction of any wind and you have to control the throttle to hold altitude.
Rattitude
Rattitude mode allows pilots to fly using Manual/Stabilized flight most of the time, but still perform Acro mode-style flips and tricks when desired.
The vehicle behaves as in Manual/Stabilized mode when the Roll/Pitch stick is moved within the central area and like Acro mode when the stick is moved in the outer circumference (by default Manual/Stabilized mode occupies about 80% of the range). When the sticks are centered the multicopter will level out (but will still drift in the direction of any wind and with any pre-existing momentum).
Acro Mode
Acro mode is the RC mode for performing acrobatic maneuvers e.g. rolls and loops.
The roll, pitch and yaw sticks control the rate of angular rotation around the respective axes and throttle is passed directly to the output mixer. When sticks are centered the vehicle will stop rotating, but remain in its current orientation (on its side, inverted, or whatever) and moving according to its current momentum.
Hold Mode
Hold mode causes the multicopter to stop and hover at its current position and altitude (maintaining position against wind and other forces). The mode can be used to pause a mission or to help regain control of a vehicle in an emergency. It can be activated with a pre-programmed RC switch or the QGroundControl Pause button.
Return Mode
Return mode causes the vehicle to return (at a safe height) to its home position and land. The mode may be activated manually (via a pre-programmed RC switch) or automatically (i.e. in the event of a failsafe being triggered).
Mission Mode
Mission mode causes the vehicle to execute a predefined autonomous mission (flight plan) that has been uploaded to the flight controller. The mission is typically created and uploaded with a Ground Control Station (GCS) application.
The PX4 GCS is called QGroundControl. QGroundControl is the same application we use for configuring PX4.
Takeoff Mode
Takeoff mode causes the multicopter to climb vertically to takeoff altitude and hover in position.
Land Mode
Land mode causes the multicopter to land at the location at which the mode was engaged.
Follow Me Mode
Follow Me mode causes a multicopter to autonomously follow and track a user providing their current position setpoint. Position setpoints might come from an Android phone/tablet running QGroundControl or from a Dronecode SDK app.
Offboard Mode
Offboard mode causes the multicopter to obey a position, velocity or attitude setpoint provided over MAVLink.
This mode is intended for companion computers and ground stations!
Fixed-Wing
Position Mode
Position mode is an easy-to-fly RC mode in which, when the sticks are released/centered, the vehicle will level and fly a straight line ground track in the current direction — compensating for wind and other forces.
The throttle determines airspeed (at 50% throttle the aircraft will hold its current altitude with a preset cruise speed). Pitch is used to ascend/descend. Roll, pitch and yaw are all angle-controlled (so it is impossible to roll over or loop the vehicle).
Position mode is the safest fixed-wing manual mode for new fliers.
Altitude Mode
Altitude mode makes it easier for users to control vehicle altitude, and in particular to reach and maintain a fixed altitude. The mode will not attempt to hold the vehicle course against wind.
The climb/descent rate is controlled via the pitch/elevator stick. Once centered the autopilot latches onto the current altitude and will maintain it during yaw/roll, and at any airspeed. The throttle input controls airspeed. Roll and pitch are angle-controlled (so it is impossible to roll over or loop the vehicle).
When all remote control inputs are centered (no roll, pitch, yaw, and ~50% throttle) the aircraft will return to straight, level flight (subject to wind) and keep its current altitude.
Altitude mode is the safest non GPS guided mode appropriate for beginners learning how to fly. It is just like Manual mode but additionally stabilizes the vehicle altitude when the pitch stick is released.
Stabilized Mode
Stabilized mode mode puts the vehicle into straight and level flight when the RC sticks are centered, maintaining the horizontal posture against wind (but not vehicle heading and altitude).
The vehicle climb/descends based on pitch input and performs a coordinated turn if the roll/pitch sticks are non-zero. Roll and pitch are angle controlled (you can't roll upside down or loop).
Stabilized mode is much easier to fly than Manual mode because you can't roll or flip it, and it is easy to level the vehicle by centering the control sticks.
The vehicle will glide if the throttle is lowered to 0% (motor stops). In order to perform a turn the command must beheld throughout the maneuver because if the roll is released the plane will stop turning and level itself (the same is true for pitch and yaw commands).
Acro Mode
Acro mode is the RC mode for performing acrobatic maneuvers e.g. rolls, flips, stalls and acrobatic figures.
The roll, pitch and yaw sticks control the rate of angular rotation around the respective axes and throttle is passed directly to the output mixer. When sticks are centered the vehicle will stop rotating, but remain in its current orientation (on its side, inverted, or whatever) and moving according to its current momentum.
Manual Mode
Manual mode sends RC stick input directly to the output mixer for "fully" manual control.
This is the hardest mode to fly, because nothing is stabilised. Unlike Acro Mode if the RP stick is centered the vehicle will not automatically stop rotating around the axis - the pilot actually has to move the stick to apply force in the other direction.
This is the only mode that overrides the FMU (commands are sent via the safety coprocessor). It provides a safety mechanism that allows full control of throttle, elevator, ailerons and rudder via RC in the event of an FMU firmware malfunction.
Hold Mode
Hold causes a fixed-wing vehicle to start circling around the current position at its current altitude. The mode can be used to pause a mission or to help regain control of a vehicle in an emergency. It can be activated with a pre-programmed RC switch or the QGroundControl Pause button.
Return Mode
Return mode causes the vehicle to fly back to its home position (at a safe height) and circle over it. The mode may be activated manually (via a pre-programmed RC switch) or automatically (i.e. in the event of a failsafe being triggered).
Mission Mode
Mission mode causes the vehicle to execute a predefined autonomous mission (flight plan) that has been uploaded to the flight controller. The mission is typically created and uploaded with a Ground Control Station (GCS) application.
The PX4 GCS is called QGroundControl. QGroundControl is the same application we use for configuring PX4.
Takeoff Mode
Takeoff mode initiates the vehicle takeoff sequence. The specific launch behaviour depends on the configured takeoff mode (catapult/hand-launch mode or runway takeoff mode).
Land Mode
Land mode causes the vehicle to turn and land at the location at which the mode was engaged. Fixed wing landing logic and parameters are explained in the topic: Landing (Fixed Wing).
Vertical Take Off and Landing (VTOL)
A VTOL aircraft can fly as either a multicopter or as fixed-wing vehicle. The multicopter mode is mainly used for take off and landing while the fixed wing mode is used for efficient travel and/or mission execution.
Generally the flight modes for VTOL vehicles are the same as for multicopter when flying in MC mode and fixed-wing when flying in FW mode.
The switch between modes is initiated either by the pilot using an RC switch or automatically by PX4 when needed in the Auto modes.
Further Information
- Flying > Flight Modes - Detailed technical explanation of all modes
- Basic Configuration > Flight Modes - How to map RC control switches to specific flight modes