35 #ifndef _DATASPEED_ULC_CAN_DISPATCH_H 36 #define _DATASPEED_ULC_CAN_DISPATCH_H 43 int16_t linear_velocity :16;
44 int16_t yaw_command :16;
47 uint8_t steering_mode :1;
48 uint8_t shift_from_park :1;
49 uint8_t enable_shifting :1;
50 uint8_t enable_steering :1;
51 uint8_t enable_pedals :1;
72 int16_t speed_ref :13;
74 uint16_t pedals_enabled :1;
75 uint16_t tracking_mode :1;
76 int16_t speed_meas :13;
78 uint16_t steering_enabled :1;
79 uint16_t steering_mode: 1;
82 uint8_t max_steering_angle: 7;
84 uint8_t max_steering_vel :6;
85 uint8_t steering_preempted: 1;
86 uint8_t speed_preempted: 1;
89 #define BUILD_ASSERT(cond) do { (void) sizeof(char [1 - 2*!(cond)]); } while(0) 105 #endif // _DATASPEED_ULC_CAN_DISPATCH_H
#define BUILD_ASSERT(cond)
static void dispatchAssertSizes()