24 #include "modules/canbus/proto/chassis_detail.pb.h" 41 ::apollo::canbus::ChassisDetail> {
43 static const int32_t
ID;
59 void Reset()
override;
98 void set_pedal_p(uint8_t *data,
double pedal);
105 void set_boo_cmd_p(uint8_t *bytes,
bool boo_cmd);
112 void set_enable_p(uint8_t *bytes,
bool en);
119 void set_clear_driver_override_flag_p(uint8_t *bytes,
bool clear);
126 void set_ignore_driver_override_p(uint8_t *bytes,
bool ignore);
133 void set_watchdog_counter_p(uint8_t *data, int32_t count);
136 double pedal_cmd_ = 0.0;
137 bool boo_cmd_ =
false;
138 bool pedal_enable_ =
false;
139 bool clear_driver_override_flag_ =
false;
140 bool ignore_driver_override_ =
false;
141 int32_t watchdog_counter_ = 0.0;
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
This is the base class of protocol data.
Definition: protocol_data.h:44
Brake60 * set_disable()
set pedal_enable_ to false
Brake60 * set_pedal(double pcmd)
set pedal based on pedal command
void Reset() override
reset the private variables
static const int32_t ID
Definition: brake_60.h:43
one of the protocol data of lincoln vehicle
Definition: brake_60.h:40
void UpdateData(uint8_t *data) override
update the data
Brake60 * set_enable()
set pedal_enable_ to true
The class of ProtocolData.
uint32_t GetPeriod() const override
get the data period