mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Add note on INS page about adding the driver modules (#25464)
This commit is contained in:
parent
18d76b18b9
commit
e81c62cc36
@ -2,13 +2,32 @@
|
||||
|
||||
PX4 typically runs on flight controllers that include an IMU, such as the Pixhawk series, and fuse the sensor data along with GNSS information in the EKF2 estimator to determine vehicle attitude, heading, position, and velocity.
|
||||
|
||||
However PX4 can also use some INS devices as either sources of raw data, or as an external estimator, replacing the EKF.
|
||||
However PX4 can also use some INS devices as either sources of raw data, or as an external estimator, replacing EKF2.
|
||||
|
||||
Systems that can be used in this way include:
|
||||
## Supported INS Systems
|
||||
|
||||
INS systems that can be used as a replacement for EKF2 in PX4:
|
||||
|
||||
- [InertialLabs](../sensor/inertiallabs.md)
|
||||
- [VectorNav](../sensor/vectornav.md): IMU/AHRS, GNSS/INS, Dual GNSS/INS systems that can be used as an external INS or as a source of raw sensor data.
|
||||
|
||||
## PX4 Firmware
|
||||
|
||||
The driver module for your INS system may not be included in the PX4 firmware for your flight controller by default.
|
||||
|
||||
You can check by searching the [default.px4board](https://github.com/PX4/PX4-Autopilot/blob/main/boards/px4/fmu-v6c/default.px4board#L25) configuration file for your target board for either:
|
||||
|
||||
- `CONFIG_COMMON_INS`, which includes drivers for [all INS systems](https://github.com/PX4/PX4-Autopilot/blob/main/src/drivers/ins/Kconfig).
|
||||
- The key for the particular INS system you are using, such as:
|
||||
- `CONFIG_DRIVERS_INS_ILABS`
|
||||
- `CONFIG_DRIVERS_INS_MICROSTRAIN`
|
||||
- `CONFIG_DRIVERS_INS_VECTORNAV`
|
||||
|
||||
If the required key is not present you can include the module in firmware by adding the key to the `default.px4board` file, or using the [kconfig board configuration tool](../hardware/porting_guide_config.md#px4-board-configuration-kconfig) and then select the driver you want (`Drivers -> INS`).
|
||||
Note that if you're working on a flight controller where flash memory is limited, you're better off installing just the modules you need.
|
||||
|
||||
You will then need to rebuild the firmware.
|
||||
|
||||
## Glossary
|
||||
|
||||
### Inertial Measurement Unit (IMU)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user