# Introduction

[![](https://4155462212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LArEa7z2SPawfl3HpCD%2Fuploads%2Fgit-blob-8a8618764c7631de9e96a3030eaea042e79e3f23%2Flogo_pro_small.png?alt=media)](https://px4.io/)

## PX4 Autopilot User Guide ({{ $themeConfig.px4\_version }})

[![Releases](https://img.shields.io/badge/release-main-blue.svg)](https://github.com/PX4/PX4-Autopilot/releases) [![Discuss](https://img.shields.io/badge/discuss-px4-ff69b4.svg)](https://discuss.px4.io/) [![Discord](https://discordapp.com/api/guilds/1022170275984457759/widget.png?style=shield)](https://discord.gg/dronecode)

PX4 is the *Professional Autopilot*. Developed by world-class developers from industry and academia, and supported by an active world wide community, it powers all kinds of vehicles from racing and cargo drones through to ground vehicles and submersibles.

:::tip This guide contains everything you need to assemble, configure, and safely fly a PX4-based vehicle. Interested in contributing? Check out the [Development](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/development/development.md) section. :::

### How Do I Get Started?

[Getting Started](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/getting_started/README.md) should be read by all users! It provides an overview of PX4, including features provided by the flight stack (flight modes and safety features) and the supported hardware (flight controller, vehicles, airframes, telemetry systems, RC control systems).

Depending on what you want to achieve, the following tips will help you navigate through this guide:

**I already have a drone and I just want to fly:**

If you have a Ready To Fly (RTF) vehicle that supports PX4:

* [Basic Configuration](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/config/README.md) explains how to update your firmware to the latest version, calibrate the main sensors (compass, gyro/IMU, airspeed etc.), and setup your remote control and safety features.
* [Flying](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/flying/README.md) teaches flight essentials, including where and how to fly safely, and how to debug arming and flight issues. It also provides detailed information about flight modes.

**I want to build a drone with PX4 from scratch:**

:::tip

The "supported" vehicles are listed in the [Airframes Reference](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/airframes/airframe_reference.md). These are vehicles that have tested and tuned configurations that you can download using *QGroundControl*.

:::

If you want to build a vehicle from scratch:

* Choose a frame - [Airframe Builds](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/airframes/README.md) lists the supported frames and provides detailed instructions for how to construct a subset of vehicles.
* Choose a flight controller - see [Getting Started > Flight Controllers](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/getting_started/flight_controller_selection.md) and [Autopilot Hardware](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/flight_controller/README.md).
* [Assembly](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/assembly/README.md) explains how to wire up the important peripherals to your autopilot.
* [Basic Configuration](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/config/README.md) shows how to update your firmware and configure it with settings appropriate for your airframe. This section also explains how to calibrate the main sensors (compass, gyro/IMU, airspeed etc.), and setup your remote control and safety features.

Once you are ready to fly your vehicle, visit the [Flying](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/flying/README.md) section.

**I want to add payload or a camera:**

The payloads section describes how to add a camera or how to configure PX4 to enable you to deliver packages.

* [Payloads](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/payloads/README.md) describes how to integrate payloads

**I am modifying a supported vehicle:**

Modifications of the flight controller and basic sensors are covered above. In order to use new sensors, or if you have made changes that significantly affect flight characteristics:

* [Peripheral Hardware](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/peripherals/README.md) provides additional information about using external sensors.
* [Basic Configuration](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/config/README.md) explains how to calibrate the main sensors.
* [Advanced Configuration](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/advanced_config/README.md) should be used to re/fine-tune the airframe.

**I want to run PX4 on new hardware and extend the platform:**

* [Development](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/development/development.md) explains how to support new airframes and types of vehicles, modify flight algorithms, add new modes, integrate new hardware, communicate with PX4 from outside the flight controller, and contribute to PX4.

### Getting Help

The [Support](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/support.md) page explains how to get help from the core dev team and the wider community.

Among other things it covers:

* [Forums where you can get help](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/support.md#forums-and-chat)
* [Diagnosing issues](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/support.md#diagnosing-problems)
* [How to report bugs](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/support.md#issue-bug-reporting)
* [Weekly dev call](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/support.md#weekly-dev-call)

### Reporting Bugs & Issues

If you have any problems using PX4 first post them on the [support forums](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/support.md#forums-and-chat) (as they may be caused by vehicle configuration).

If directed by the development team, code issues may be raised on [Github here](https://github.com/PX4/PX4-Autopilot/issues). Where possible provide [flight logs](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/getting_started/flight_reporting.md) and other information requested in the issue template.

### Contributing

Information on how to contribute to code and documentation can be found in the [Contributing](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/README.md) section:

* [Code](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/README.md)
* [Documentation](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/docs.md)
* [Translation](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/translation.md)

### Translations

There are several [translations](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/translation.md) of this guide. You can access these from the Languages menu (top right):

![Language Selector](https://4155462212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LArEa7z2SPawfl3HpCD%2Fuploads%2Fgit-blob-f870995b91f012e4bc0f259092b4d630798efbca%2Flanguage_selector.png?alt=media)

### License

PX4 code is free to use and modify under the terms of the permissive [BSD 3-clause license](https://opensource.org/licenses/BSD-3-Clause). This documentation is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). For more information see: [Licences](https://github.com/hamishwillee/PX4-user_guide/blob/gitbook_sync/contribute/licenses.md).

### Calendar & Events

The *Dronecode Calendar* shows important community events for platform users and developers. Select the links below to display the calendar in your timezone (and to add it to your own calendar):

* [Switzerland – Zurich](https://calendar.google.com/calendar/embed?src=linuxfoundation.org_g21tvam24m7pm7jhev01bvlqh8%40group.calendar.google.com\&ctz=Europe%2FZurich)
* [Pacific Time – Tijuana](https://calendar.google.com/calendar/embed?src=linuxfoundation.org_g21tvam24m7pm7jhev01bvlqh8%40group.calendar.google.com\&ctz=America%2FTijuana)
* [Australia – Melbourne/Sydney/Hobart](https://calendar.google.com/calendar/embed?src=linuxfoundation.org_g21tvam24m7pm7jhev01bvlqh8%40group.calendar.google.com\&ctz=Australia%2FSydney)

:::tip The calendar default timezone is Central European Time (CET).

:::

#### Icons

The following icons used in this library are licensed separately (as shown below):

![](https://4155462212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LArEa7z2SPawfl3HpCD%2Fuploads%2Fgit-blob-7d66e5ec4f3449b7cdcc41eb7884f5467c3cbd19%2Fposition_fixed.svg?alt=media) *placeholder* icon made by [Smashicons](https://www.flaticon.com/authors/smashicons) from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](https://creativecommons.org/licenses/by/3.0/).

![](https://4155462212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LArEa7z2SPawfl3HpCD%2Fuploads%2Fgit-blob-ad74ca028635edc57339029f0958366b8aa27d69%2Fautomatic_mode.svg?alt=media) *camera-automatic-mode* icon made by [Freepik](https://www.freepik.com) from [www.flaticon.com](https://www.flaticon.com/) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0/).

### Governance

The PX4 flight stack is hosted under the governance of the [Dronecode Project](https://www.dronecode.org/).

[![Dronecode Logo](https://mavlink.io/assets/site/logo_dronecode.png)](https://www.dronecode.org/) [![Linux Foundation Logo](https://mavlink.io/assets/site/logo_linux_foundation.png)](https://www.linuxfoundation.org/projects)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://px4.gitbook.io/px4-user-guide/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
