esc_report: change esc_temperature field to allow negative values

Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
Claudio Micheli authored and Daniel Agar committed 2021-09-11 15:14:49 -04:00
1 parent 7d7200cf2f
commit fa4fc5f347
5 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ uint32 esc_errorcount # Number of reported errors by ESC - if supported
int32 esc_rpm # Motor RPM, negative for reverse rotation [RPM] - if supported
float32 esc_voltage # Voltage measured from current ESC [V] - if supported
float32 esc_current # Current measured from current ESC [A] - if supported
uint8 esc_temperature # Temperature measured from current ESC [degC] - if supported
float32 esc_temperature # Temperature measured from current ESC [degC] - if supported
uint8 esc_address # Address of current ESC (in most cases 1-8 / must be set by driver)
uint8 esc_state # State of ESC - depend on Vendor