mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_NavEKF2: Add set_baro_alt_noise method
This commit is contained in:
parent
e7caf05238
commit
e7a34b0fb3
@ -299,6 +299,9 @@ public:
|
|||||||
// report any reason for why the backend is refusing to initialise
|
// report any reason for why the backend is refusing to initialise
|
||||||
const char *prearm_failure_reason(void) const;
|
const char *prearm_failure_reason(void) const;
|
||||||
|
|
||||||
|
// set and save the _baroAltNoise parameter
|
||||||
|
void set_baro_alt_noise(float noise) { _baroAltNoise.set_and_save(noise); };
|
||||||
|
|
||||||
// allow the enable flag to be set by Replay
|
// allow the enable flag to be set by Replay
|
||||||
void set_enable(bool enable) { _enable.set(enable); }
|
void set_enable(bool enable) { _enable.set(enable); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user