uint32_t meas_temp_cnt
Amount of summed temperatures.
float meas_temp
Measered average temperature in degrees Celcius.
uint8_t heat_cmd
Heater command 0-100%.
float target_temp
Target temeperature in degrees Celcius.
uint32_t last_ts
Last integration timestamp.
struct imu_heater_t imu_heater
Local variables and functions.
float gain_p
Heater kP gain.
void imu_heater_periodic_10hz(void)
10Hz IMU heater periodic This will run the control loop for the IMU heater and in case of an IOMCU wi...
void imu_heater_periodic(void)
High speed heater periodic This calculates the temperature average and in case of GPIO heater it will...
float meas_temp_sum
Summed temperature in degrees Celcius.
float integrated
Integrated temperature error multiplied by kI (max 70%)
float gain_i
Heater kI gain.
void imu_heater_init(void)
Main external functions.
Main IMU heater structure.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.