AP_InertialSensor: added get_gyro_filter_hz() and get_accel_filter_hz()

This commit is contained in:
Andrew Tridgell 2015-03-12 12:19:31 +11:00
parent 8b0337ffd0
commit a1d43e39e0

View File

@ -194,6 +194,12 @@ public:
// enable HIL mode
void set_hil_mode(void) { _hil_mode = true; }
// get the gyro filter rate in Hz
uint8_t get_gyro_filter_hz(void) const { return _gyro_filter_cutoff; }
// get the accel filter rate in Hz
uint8_t get_accel_filter_hz(void) const { return _accel_filter_cutoff; }
private:
// load backend drivers