Multicopters are the most common vehicle type running PX4. The platform has accumulated years of production use across quadcopters, hexarotors, octocopters, and more exotic geometries such as tricopters and coaxial frames. This guide walks you through selecting the right airframe, understanding motor numbering and spin direction conventions, calibrating your ESCs, and tuning the rate and attitude controllers for stable flight.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/PX4/PX4-Autopilot/llms.txt
Use this file to discover all available pages before exploring further.
Supported frame types
PX4 supports a broad range of multirotor geometries, from simple quad X frames to large coaxial dodecarotors. The table below lists the most commonly used generic airframe types:| Airframe ID | Name | Motors | Geometry |
|---|---|---|---|
4001 | Generic Quadrotor X | 4 | X |
5001 | Generic Quadrotor + | 4 | Plus |
6001 | Generic Hexarotor X | 6 | X |
7001 | Generic Hexarotor + | 6 | Plus |
8001 | Generic Octocopter X | 8 | X |
9001 | Generic Octocopter + | 8 | Plus |
11001 | Generic Hexarotor CoaXial | 6 arms, 12 motors | Coaxial |
12001 | Generic Octocopter CoaXial | 8 arms, 16 motors | Coaxial |
24001 | Generic Dodecarotor CoaXial | 12 arms, 24 motors | Coaxial |
Frame types explained
- Quadrotor X
- Hexarotor X
- Octocopter X
- Coaxial
The quadrotor X is the most widely used multicopter configuration. Four motors are arranged in an X pattern, providing a good balance of stability, agility, and mechanical simplicity. It is the standard choice for general photography, development platforms, and racing (with aggressive tuning).Generic airframe:
4001_quad_x. Select Quadrotor X > Generic Quadcopter in QGroundControl.Motor numbering and spin direction
PX4 uses a consistent motor numbering and spin direction scheme. For a quadrotor X, motors are numbered starting from the front-right and proceeding counter-clockwise when viewed from above:| Motor | Position | Default spin direction |
|---|---|---|
| 1 | Front-right | CCW (counter-clockwise) |
| 2 | Back-left | CCW |
| 3 | Front-left | CW (clockwise) |
| 4 | Back-right | CW |
CA_ROTORx_KM value spin clockwise; positive values are counter-clockwise. You can verify and override spin directions in QGroundControl > Vehicle Setup > Actuators.
Setup workflow
Install firmware
Flash the latest stable PX4 release to your flight controller via QGroundControl (Q icon > Vehicle Setup > Firmware). Connect the flight controller over USB and confirm the firmware version shown after flashing.
Select your airframe
Go to Vehicle Setup > Airframe. Find your vehicle group (for example, Quadrotor X) and select the matching entry. Click Apply and Restart to load the ROMFS defaults and reboot.
Configure actuator geometry
After reboot, go to Vehicle Setup > Actuators. Verify that motor positions and spin directions match your physical frame. Drag rotors to the correct positions if needed and flip the spin direction sign for any motor wired in reverse.
Calibrate sensors
Complete the calibration wizard under Vehicle Setup > Sensors: accelerometer, gyroscope, compass, and level horizon. Do this with the vehicle stationary on a flat surface.
Calibrate ESCs
If you are using PWM or OneShot ESCs, run Vehicle Setup > Power > ESC Calibration to synchronize the throttle range across all ESCs. DShot ESCs communicate digitally and do not require this step.
Set up radio control
Go to Vehicle Setup > Radio and complete transmitter calibration. Assign a flight mode switch with at minimum Stabilized and Position modes on a three-position switch.
Perform an initial hover test
Arm the vehicle outdoors in a clear area with propellers installed. Hover briefly in Stabilized mode a few centimeters off the ground and check for excessive oscillations or unexpected yaw before switching to Position mode.
ESC calibration
ESC calibration teaches your ESCs the throttle range from the flight controller so all motors respond consistently to the same command:Remove all propellers
Always remove propellers before starting ESC calibration. ESCs may spin motors to full throttle during the calibration sequence.
Open the ESC calibration wizard
In QGroundControl, go to Vehicle Setup > Power and click Calibrate in the ESC section.
Follow the on-screen prompts
QGroundControl guides you through setting maximum and minimum throttle positions. Keep the vehicle powered and stationary throughout.
DShot ESCs (DShot150, DShot300, DShot600) use a digital protocol and do not require throttle-range calibration. Use DShot when your ESCs support it — it also enables bidirectional RPM telemetry, which powers advanced features like motor failure detection and dynamic notch filtering.
PID tuning
PX4’s multicopter controller has two main layers: the rate controller and the attitude controller. Rate controller — controls roll rate, pitch rate, and yaw rate directly. This is the inner loop and has the most impact on handling feel:| Parameter | Description |
|---|---|
MC_ROLLRATE_P | Roll rate proportional gain |
MC_ROLLRATE_I | Roll rate integral gain |
MC_ROLLRATE_D | Roll rate derivative gain |
MC_PITCHRATE_P | Pitch rate proportional gain |
MC_YAWRATE_P | Yaw rate proportional gain |
| Parameter | Description |
|---|---|
MC_ROLL_P | Roll angle proportional gain |
MC_PITCH_P | Pitch angle proportional gain |
MC_YAW_P | Yaw angle proportional gain |
- Arm the vehicle and switch to Altitude Hold or Position mode.
- Enable Autotune from the QGroundControl Tuning tab or by setting
MC_AT_ENto1. - PX4 performs small automated maneuvers and fits rate gains automatically.
- Disable Autotune and save parameters when the result feels stable.