1 #ifndef PACMOD_PACMOD_CORE_H 2 #define PACMOD_PACMOD_CORE_H 34 static std::shared_ptr<PacmodTxMsg>
make_message(
const int64_t& can_id);
35 virtual void parse(uint8_t *in) = 0;
53 void parse(uint8_t *in);
68 void parse(uint8_t *in);
79 void parse(uint8_t *in);
125 void parse(uint8_t *in);
171 uint8_t vehicle_speed_raw[2];
173 void parse(uint8_t *in);
183 void parse(uint8_t *in);
208 void parse(uint8_t *in);
232 void parse(uint8_t *in);
257 void parse(uint8_t *in);
274 void parse(uint8_t *in);
290 void parse(uint8_t *in);
304 void parse(uint8_t *in);
318 void parse(uint8_t *in);
332 void parse(uint8_t *in);
346 void parse(uint8_t *in);
358 void parse(uint8_t *in);
369 void parse(uint8_t *in);
385 void encode(
bool enable,
bool clear_override,
bool ignore_overide);
394 void encode(uint8_t turn_signal_cmd);
403 void encode(uint8_t headlight_cmd);
412 void encode(uint8_t horn_cmd);
421 void encode(uint8_t wiper_cmd);
430 void encode(uint8_t shift_cmd);
439 void encode(
double accel_cmd);
448 void encode(
double steer_pos,
double steer_spd);
457 void encode(
double brake_cmd);
463 #endif // PACMOD_PACMOD_CORE_H
static const int64_t CAN_ID
double front_left_wheel_speed
static const int64_t CAN_ID
static const int64_t CAN_ID
uint32_t latitude_seconds
uint32_t longitude_minutes
static const int64_t CAN_ID
double angular_acceleration
static const int64_t CAN_ID
static const int64_t CAN_ID
uint32_t latitude_minutes
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
uint32_t longitude_seconds
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
double rear_right_wheel_speed
static const int64_t CAN_ID
static const int64_t CAN_ID
std::vector< uint8_t > data
static const int64_t CAN_ID
static const int64_t CAN_ID
double rear_left_wheel_speed
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
bool parking_brake_engaged
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
uint16_t user_can_read_errors
double front_right_wheel_speed
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
bool steering_can_timeout
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static std::shared_ptr< PacmodTxMsg > make_message(const int64_t &can_id)
virtual void parse(uint8_t *in)=0
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID