AP_NavEKF2: Add set_baro_alt_noise method

This commit is contained in:
Jacob Walser 2017-02-03 15:18:26 +11:00 committed by Andrew Tridgell
parent e7caf05238
commit e7a34b0fb3
1 changed files with 3 additions and 0 deletions

View File

@ -299,6 +299,9 @@ public:
// report any reason for why the backend is refusing to initialise
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
void set_enable(bool enable) { _enable.set(enable); }