Create publish_status() method in the heater driver, add a status field to indicate if the temperature setpoint has been met within 2.5C, breakout update_params() method from the Heater::Run() method and simplify logic.

This commit is contained in:
mcsauder
2021-04-13 20:36:01 -06:00
committed by Daniel Agar
parent 3dad16bc40
commit 3b72f3b641
4 changed files with 73 additions and 60 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ px4_add_board(
distance_sensor # all available distance sensor drivers
dshot
gps
#heater
heater
#imu # all available imu drivers
imu/analog_devices/adis16448
imu/bosch/bmi055