esc_status: trim the message and remove unused fields

This commit is contained in:
Beat Küng
2019-09-02 18:20:01 +02:00
parent 69c10dcaac
commit 4c4ce09005
5 changed files with 6 additions and 17 deletions
+2 -4
View File
@@ -1,12 +1,10 @@
uint64 timestamp # time since system start (microseconds)
uint8 esc_vendor # Vendor of current ESC
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
float32 esc_temperature # Temperature measured from current ESC [degC] - if supported
uint8 esc_temperature # Temperature measured from current ESC [degC] - if supported
float32 esc_setpoint # setpoint of current ESC
uint16 esc_setpoint_raw # setpoint of current ESC (Value sent to ESC)
uint16 esc_address # Address of current ESC (in most cases 1-8 / must be set by driver)
uint16 esc_version # Version of current ESC - if supported
uint16 esc_state # State of ESC - depend on Vendor
uint8 esc_state # State of ESC - depend on Vendor
-5
View File
@@ -1,11 +1,6 @@
uint64 timestamp # time since system start (microseconds)
uint8 CONNECTED_ESC_MAX = 8 # The number of ESCs supported. Current (Q2/2013) we support 8 ESCs
uint8 ESC_VENDOR_GENERIC = 0 # generic ESC
uint8 ESC_VENDOR_MIKROKOPTER = 1 # Mikrokopter
uint8 ESC_VENDOR_GRAUPNER_HOTT = 2 # Graupner HoTT ESC
uint8 ESC_VENDOR_TAP = 3 # TAP ESC
uint8 ESC_CONNECTION_TYPE_PPM = 0 # Traditional PPM ESC
uint8 ESC_CONNECTION_TYPE_SERIAL = 1 # Serial Bus connected ESC
uint8 ESC_CONNECTION_TYPE_ONESHOOT = 2 # One Shoot PPM