INS: add accessor for mpu6k filter

This commit is contained in:
Randy Mackay 2014-08-11 21:57:30 +09:00
parent 329118b7c9
commit 51f40fe3d6

View File

@ -164,6 +164,9 @@ public:
}
}
// get_filter - return filter in hz
virtual uint8_t get_filter() const { return _mpu6000_filter.get(); }
virtual uint16_t error_count(void) const { return 0; }
virtual bool healthy(void) const { return get_gyro_health() && get_accel_health(); }