drivers/heater: add logging and minor improvements

- new heater_status logging message
 - run continously at low rate until configured sensor is found
 - fix px4io fd bugs (fd open/close/ioctl must be same thread)
This commit is contained in:
Daniel Agar
2021-02-16 15:16:19 -05:00
parent 5abf29d93c
commit a416731656
6 changed files with 201 additions and 199 deletions
+19
View File
@@ -0,0 +1,19 @@
uint64 timestamp # time since system start (microseconds)
uint32 device_id
bool heater_on
float32 temperature_sensor
float32 temperature_target
uint32 controller_period_usec
uint32 controller_time_on_usec
float32 proportional_value
float32 integrator_value
float32 feed_forward_value
uint8 MODE_GPIO = 1
uint8 MODE_PX4IO = 2
uint8 mode