mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
AP_InertialSensor: Allow gyro counts to be returned
This commit is contained in:
parent
5ce02708cf
commit
4d7e819bac
@ -164,7 +164,7 @@ public:
|
||||
bool get_gyro_health(uint8_t instance) const { return (instance<_gyro_count) ? _gyro_healthy[instance] : false; }
|
||||
bool get_gyro_health(void) const { return get_gyro_health(_primary_gyro); }
|
||||
bool get_gyro_health_all(void) const;
|
||||
uint8_t get_gyro_count(void) const { return MIN(INS_MAX_INSTANCES, _accel_count); }
|
||||
uint8_t get_gyro_count(void) const { return MIN(INS_MAX_INSTANCES, _gyro_count); }
|
||||
bool gyro_calibrated_ok(uint8_t instance) const { return _gyro_cal_ok[instance]; }
|
||||
bool gyro_calibrated_ok_all() const;
|
||||
bool use_gyro(uint8_t instance) const;
|
||||
|
Loading…
Reference in New Issue
Block a user