diff options
author | Pavel Kirienko <pavel.kirienko@gmail.com> | 2014-10-15 14:01:17 +0400 |
---|---|---|
committer | Pavel Kirienko <pavel.kirienko@gmail.com> | 2014-10-15 14:01:17 +0400 |
commit | 7fd3bd9af8ee150911a08e75a1e30fa4cb2b8e2d (patch) | |
tree | 501a451c3d5cdf9813b5d9f902055149a9a57c39 /src/modules/uORB/topics | |
parent | f9856c6228396ca2fe8eb4c86e12c60df14d6b4c (diff) | |
download | px4-firmware-7fd3bd9af8ee150911a08e75a1e30fa4cb2b8e2d.tar.gz px4-firmware-7fd3bd9af8ee150911a08e75a1e30fa4cb2b8e2d.tar.bz2 px4-firmware-7fd3bd9af8ee150911a08e75a1e30fa4cb2b8e2d.zip |
esc_status layout optimization
Diffstat (limited to 'src/modules/uORB/topics')
-rw-r--r-- | src/modules/uORB/topics/esc_status.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/uORB/topics/esc_status.h b/src/modules/uORB/topics/esc_status.h index 98cdad3d5..b45c49788 100644 --- a/src/modules/uORB/topics/esc_status.h +++ b/src/modules/uORB/topics/esc_status.h @@ -92,6 +92,7 @@ struct esc_status_s { struct { enum ESC_VENDOR esc_vendor; /**< Vendor of current ESC */ uint32_t esc_errorcount; /**< Number of reported errors by ESC - if supported */ + int32_t esc_rpm; /**< Motor RPM, negative for reverse rotation [RPM] - if supported */ float esc_voltage; /**< Voltage measured from current ESC [V] - if supported */ float esc_current; /**< Current measured from current ESC [A] - if supported */ float esc_temperature; /**< Temperature measured from current ESC [degC] - if supported */ @@ -99,7 +100,6 @@ struct esc_status_s { uint16_t esc_setpoint_raw; /**< setpoint of current ESC (Value sent to ESC) */ uint16_t esc_address; /**< Address of current ESC (in most cases 1-8 / must be set by driver) */ uint16_t esc_version; /**< Version of current ESC - if supported */ - int32_t esc_rpm; /**< Motor RPM, negative for reverse rotation [RPM] - if supported */ uint16_t esc_state; /**< State of ESC - depend on Vendor */ } esc[CONNECTED_ESC_MAX]; |