Browse Source

AP_BoardConfig: added get_heater_duty_cycle()

zr-v5.1
Andrew Tridgell 4 years ago committed by Peter Barker
parent
commit
1097d04e5d
  1. 5
      libraries/AP_BoardConfig/AP_BoardConfig.h

5
libraries/AP_BoardConfig/AP_BoardConfig.h

@ -189,6 +189,11 @@ public: @@ -189,6 +189,11 @@ public:
#if HAL_HAVE_IMU_HEATER
void set_imu_temp(float current_temp_c);
// heater duty cycle is as a percentage (0 to 100)
float get_heater_duty_cycle(void) const {
return heater.output;
}
#endif
private:

Loading…
Cancel
Save