25using ::apollo::drivers::canbus::Byte;
30 static const uint32_t PERIOD = 50 * 1000;
37 set_turn_cmd_p(data, turn_cmd_);
59void Turnsignal68::set_turn_cmd_p(uint8_t *data, int32_t turn_cmd) {
62 frame.set_value(
static_cast<uint8_t
>(
turn_cmd), 0, 2);
one of the protocol data of lincoln vehicle
Turnsignal68 * set_turn_right()
set turn right based on pedal command
virtual void Reset()
reset the private variables
virtual uint32_t GetPeriod() const
get the data period
Turnsignal68 * set_turn_none()
set no-turn based on pedal command
virtual int32_t turn_cmd() const
get the turn command
Turnsignal68 * set_turn_left()
set turn left based on pedal command
virtual void UpdateData(uint8_t *data)
update the data
the class of Turnsignal68 (for lincoln vehicle)