# Modules & Commands

The following pages document the PX4 modules, drivers and commands. They describe the provided functionality, high-level implementation overview and how to use the command-line interface.

:::note **This is auto-generated from the source code** and contains the most recent modules documentation. :::

It is not a complete list and NuttX provides some additional commands as well (such as `free`). Use `help` on the console to get a list of all available commands, and in most cases `command help` will print the usage.

Since this is generated from source, errors must be reported/fixed in the [PX4-Autopilot](https://github.com/PX4/PX4-Autopilot) repository. The documentation pages can be generated by running the following command from the root of the PX4-Autopilot directory:

```
make module_documentation
```

The generated files will be written to the `modules` directory.

## Categories

* [Autotune](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_autotune)
* [Command](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_command)
* [Communication](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_communication)
* [Controller](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_controller)
* [Driver](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_driver)
* [Estimator](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_estimator)
* [Simulation](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_simulation)
* [System](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_system)
* [Template](https://px4.gitbook.io/px4-user-guide/development/modules_main/modules_template)


---

# 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/development/modules_main.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.
