Changeset 18725 for branches/FACT++_lidctrl_usb/src/HeadersLid.h
- Timestamp:
- 01/10/17 13:51:37 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FACT++_lidctrl_usb/src/HeadersLid.h
r18724 r18725 2 2 #define FACT_HeadersLid 3 3 4 namespace Lid CtrlUsb4 namespace Lid 5 5 { 6 7 struct motor_status_t{ 8 float current_mean; 9 float position_mean; 10 int32_t speed; 11 } __attribute__((__packed__)); 12 13 struct mean_var_samples_t { 14 uint32_t mean; 15 uint32_t var; 16 uint16_t samples; 17 }__attribute__((packed)); 18 19 struct message_t { 20 mean_var_samples_t inner_motor_current; 21 mean_var_samples_t outer_motor_current; 22 23 mean_var_samples_t inner_motor_position; 24 mean_var_samples_t outer_motor_position; 25 26 int16_t inner_motor_speed; 27 int16_t outer_motor_speed; 28 29 char current_cmd; 30 uint8_t system_state; 31 }__attribute__((packed)); 32 6 33 namespace State 7 34 {
Note:
See TracChangeset
for help on using the changeset viewer.