AP_Vehicle: compile without ins
This commit is contained in:
parent
04ae9879f3
commit
e7ded62763
@ -309,7 +309,9 @@ protected:
|
|||||||
#endif
|
#endif
|
||||||
AP_Baro barometer;
|
AP_Baro barometer;
|
||||||
Compass compass;
|
Compass compass;
|
||||||
|
#if AP_INERTIALSENSOR_ENABLED
|
||||||
AP_InertialSensor ins;
|
AP_InertialSensor ins;
|
||||||
|
#endif
|
||||||
#if HAL_BUTTON_ENABLED
|
#if HAL_BUTTON_ENABLED
|
||||||
AP_Button button;
|
AP_Button button;
|
||||||
#endif
|
#endif
|
||||||
@ -466,6 +468,7 @@ private:
|
|||||||
// statustext:
|
// statustext:
|
||||||
void send_watchdog_reset_statustext();
|
void send_watchdog_reset_statustext();
|
||||||
|
|
||||||
|
#if AP_INERTIALSENSOR_ENABLED
|
||||||
// update the harmonic notch for throttle based notch
|
// update the harmonic notch for throttle based notch
|
||||||
void update_throttle_notch(AP_InertialSensor::HarmonicNotch ¬ch);
|
void update_throttle_notch(AP_InertialSensor::HarmonicNotch ¬ch);
|
||||||
|
|
||||||
@ -474,6 +477,7 @@ private:
|
|||||||
|
|
||||||
// run notch update at either loop rate or 200Hz
|
// run notch update at either loop rate or 200Hz
|
||||||
void update_dynamic_notch_at_specified_rate();
|
void update_dynamic_notch_at_specified_rate();
|
||||||
|
#endif
|
||||||
|
|
||||||
// decimation for 1Hz update
|
// decimation for 1Hz update
|
||||||
uint8_t one_Hz_counter;
|
uint8_t one_Hz_counter;
|
||||||
|
Loading…
Reference in New Issue
Block a user