mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_Baro: add accessor for baro drift
This commit is contained in:
parent
2e1eef7cf0
commit
37ee3b44d2
@ -130,6 +130,9 @@ public:
|
||||
// enable HIL mode
|
||||
void set_hil_mode(void) { _hil_mode = true; }
|
||||
|
||||
// set baro drift amount
|
||||
void set_baro_drift_altitude(float alt) { _alt_offset = alt; }
|
||||
|
||||
private:
|
||||
// how many drivers do we have?
|
||||
uint8_t _num_drivers;
|
||||
|
Loading…
Reference in New Issue
Block a user