diff options
author | Pavel Kirienko <pavel.kirienko@gmail.com> | 2014-10-15 13:46:16 +0400 |
---|---|---|
committer | Pavel Kirienko <pavel.kirienko@gmail.com> | 2014-10-15 13:48:55 +0400 |
commit | f9856c6228396ca2fe8eb4c86e12c60df14d6b4c (patch) | |
tree | a340067feee7ce312125b16b88a40cd50c388ed6 /src/modules/uORB/topics | |
parent | ecd144b8b4c334f4eb7a0e39e47065d6958fefaf (diff) | |
download | px4-firmware-f9856c6228396ca2fe8eb4c86e12c60df14d6b4c.tar.gz px4-firmware-f9856c6228396ca2fe8eb4c86e12c60df14d6b4c.tar.bz2 px4-firmware-f9856c6228396ca2fe8eb4c86e12c60df14d6b4c.zip |
ESC status - supporting negative RPM
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 b82796908..98cdad3d5 100644 --- a/src/modules/uORB/topics/esc_status.h +++ b/src/modules/uORB/topics/esc_status.h @@ -99,7 +99,7 @@ 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 */ - uint16_t esc_rpm; /**< RPM measured from current ESC [RPM] - 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]; |