Skip to content

fix(boards/fmu-v6xrt): Enable usage of all three on-board IMUs on FMU-V6XRT by default#26905

Merged
PetervdPerk-NXP merged 3 commits intoPX4:mainfrom
abhijithcv:v6xrt_multi-imu-mode
Apr 21, 2026
Merged

fix(boards/fmu-v6xrt): Enable usage of all three on-board IMUs on FMU-V6XRT by default#26905
PetervdPerk-NXP merged 3 commits intoPX4:mainfrom
abhijithcv:v6xrt_multi-imu-mode

Conversation

@abhijithcv
Copy link
Copy Markdown
Contributor

fix(boards/px4_fmu-v6xrt): enables all on-board IMUs by default

FMU-V6XRT Pixhawk standard boards have 3 on-board IMUs. It is ideal behaviour for all 3 to be enabled by default. This is done with default parameters SENS_IMU_MODE set to 0, and EKF2_MULTI_IMU set to 3.

@abhijithcv abhijithcv changed the title Enable usage of all three on-board IMUs on FMU-V6XRT fix(boards/fmu-v6xrt): Enable usage of all three on-board IMUs on FMU-V6XRT by default Mar 30, 2026
@abhijithcv
Copy link
Copy Markdown
Contributor Author

@PetervdPerk-NXP
Copy link
Copy Markdown
Member

Can you just fully match it? i.e.

# Multi-EKF
param set-default -s EKF2_MULTI_IMU 3
param set-default SENS_IMU_MODE 0

param set-default -s IMU_GYRO_FFT_EN 1

param set-default -s MC_AT_EN 1

param set-default -s UAVCAN_ENABLE 2

set LOGGER_BUF 64

Also can you share a flight log with these defaults?

@abhijithcv
Copy link
Copy Markdown
Contributor Author

abhijithcv commented Apr 1, 2026

Can you just fully match it? i.e.

# Multi-EKF
param set-default -s EKF2_MULTI_IMU 3
param set-default SENS_IMU_MODE 0

param set-default -s IMU_GYRO_FFT_EN 1

param set-default -s MC_AT_EN 1

param set-default -s UAVCAN_ENABLE 2

set LOGGER_BUF 64

Also can you share a flight log with these defaults?

https://logs.px4.io/plot_app?log=5522ccf7-3b35-4f78-bdb6-05785824529a

The autopilot was hard-mounted on to the copter

FMU-V6XRT Pixhawk standard boards have 3 on-board IMUs. It is ideal behaviour for all 3 to be enabled by default. This is done with default parameters SENS_IMU_MODE set to 0, and EKF2_MULTI_IMU set to 3.
@dk7xe
Copy link
Copy Markdown
Contributor

dk7xe commented Apr 21, 2026

related testing with 1.17RC2 #26271 (comment)
Observation is that vibrations seems to be much lower with multi EKF2 IMU enabled

Copy link
Copy Markdown
Member

@PetervdPerk-NXP PetervdPerk-NXP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PetervdPerk-NXP PetervdPerk-NXP merged commit 0571bcc into PX4:main Apr 21, 2026
73 checks passed
@dakejahl
Copy link
Copy Markdown
Contributor

I'm not sure I would recommend this. Multi-EKF is not well tested and there has been a history of problems with EKF lane switching. See #27013 as an example

@PetervdPerk-NXP
Copy link
Copy Markdown
Member

I'm not sure I would recommend this. Multi-EKF is not well tested and there has been a history of problems with EKF lane switching. See #27013 as an example

Thank you sharing, I think for 1.17.0 we're fine because there the default is still disabled.
Although this PR was more to sync default behavior between V6X and V6X-RT, since on V6X multi-ekf is enabled by default. What would be best to proceed on main disable multi ekf for both?

@dakejahl
Copy link
Copy Markdown
Contributor

What would be best to proceed on main disable multi ekf for both?

I would disable multi-ekf as default for all boards until there is a stakeholder who is regularly testing it, so that we have confidence it actually works reliably.

@PetervdPerk-NXP
Copy link
Copy Markdown
Member

What would be best to proceed on main disable multi ekf for both?

I would disable multi-ekf as default for all boards until there is a stakeholder who is regularly testing it, so that we have confidence it actually works reliably.

Sounds fair, I would support it, enabling by default gives a wrong impression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants