Rover Configuration/Tuning
This topic provides a step-by-step guide for setting up your rover.
Successive steps enable drive modes with more autopilot support and features:
Step | Налаштування | Unlocked PX4 Drive Mode |
---|---|---|
1 | Basic Setup | Full manual mode |
2 | Rate Tuning | Manual acro mode |
3 | Attitude Tuning | Manual stabilized mode |
4 | Velocity Tuning | Manual position mode |
5 | Position Tuning | Auto modes |
WARNING
A drive mode will only work properly if all the configuration for the preceding modes has been completed.
Flashing the Rover Build
Rovers use a custom build that must be flashed onto your flight controller instead of the default PX4 build:
First build the rover firmware for your flight controller from the
main
branch (there is no release build, so you can't just select this build from QGroundControl).To build for rover with the
make
command, replace the_default
suffix with_rover
. For example, to build rover for px4_fmu-v6x boards, you would use the command:shmake px4_fmu-v6x_rover
INFO
You can also enable the modules in default builds by adding these lines to your board configuration (e.g. for fmu-v6x you might add them to
main/boards/px4/fmu-v6x/default.px4board
):shCONFIG_MODULES_ROVER_ACKERMANN=y CONFIG_MODULES_ROVER_DIFFERENTIAL=y CONFIG_MODULES_ROVER_MECANUM=y
Note that adding the rover modules may lead to flash overflow, in which case you will need to disable modules that you do not plan to use (such as those related to multicopter or fixed wing).
:::
- Load the custom firmware that you just built onto your flight controller (see Loading Firmware > Installing PX4 Main, Beta or Custom Firmware).