Skip to content
Discussion options

You must be logged in to vote

For baro temperature compensation you may not need your own variable any more. PR #10382 (released in INAV 9.0) added it as a CLI setting:

set baro_temp_correction = 20     # cm per degC, limited to -50..50; ~20 is typical for BMP280
set acc_temp_correction  = 2.5    # cm/s2 per degC for the accelerometer Z
save

If you set either one to 51, auto-calibration starts. It ends after 5 minutes, or at the first arm. So you can update to 9.x and tune from the CLI without building firmware.

If you still want your own tunable, every CLI setting is generated at build time from src/main/fc/settings.yaml. Adding one means a single rebuild. After that, you change it with set like any other setting. F…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@and-sh
Comment options

Answer selected by and-sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants