28 ::apollo::canbus::Devkit> {
30 static const int32_t
ID;
38 void Reset()
override;
40 void Parse(
const std::uint8_t* bytes, int32_t length,
41 Devkit* chassis)
const override;
78 void set_p_throttle_en_ctrl(
85 void set_p_throttle_acc(uint8_t* data,
double throttle_acc);
91 void set_p_throttle_pedal_target(uint8_t* data,
double throttle_pedal_target);
96 void set_p_speed_target(uint8_t* data,
double speed_target);
101 void set_p_checksum_100(uint8_t* data,
int checksum_100);
104 const std::uint8_t* bytes,
const int32_t length)
const;
106 double throttle_acc(
const std::uint8_t* bytes,
const int32_t length)
const;
108 double throttle_pedal_target(
const std::uint8_t* bytes,
109 const int32_t length)
const;
111 double speed_target(
const std::uint8_t* bytes,
const int32_t length)
const;
113 int checksum_100(
const std::uint8_t* bytes,
const int32_t length)
const;
117 double throttle_acc_;
118 double throttle_pedal_target_;
119 double speed_target_;