24 #include "modules/canbus/proto/chassis_detail.pb.h" 41 ::apollo::canbus::ChassisDetail> {
43 static const int32_t
ID;
52 virtual void Parse(
const std::uint8_t *bytes, int32_t length,
53 ChassisDetail *chassis_detail)
const;
86 int32_t
wiper_status(
const std::uint8_t *bytes, int32_t length)
const;
153 int32_t length)
const;
165 int32_t length)
const;
177 int32_t length)
const;
189 int32_t length)
const;
202 int32_t length)
const;
215 int32_t length)
const;
227 int32_t length)
const;
293 bool is_hood_open(
const std::uint8_t *bytes, int32_t length)
const;
304 bool is_trunk_open(
const std::uint8_t *bytes, int32_t length)
const;
327 int32_t length)
const;
350 int32_t length)
const;
bool is_rear_left_door_open(const std::uint8_t *bytes, int32_t length) const
check the passenger door open bit based on byte array. config detail: {'name': 'doorl', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 26, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
int32_t ambient_light_status(const std::uint8_t *bytes, int32_t length) const
calculate the ambient light status based on byte array. config detail: {'name': 'ambient', 'offset': 0.0, 'precision': 1.0, 'len': 3, 'f_type': 'value', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 8, 'type': 'int', 'order': 'intel', 'physical_unit': '""'}
int32_t wiper_status(const std::uint8_t *bytes, int32_t length) const
calculate the wiper status based on byte array. config detail: {'name': 'wiper', 'offset': 0...
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
one of the protocol data of lincoln vehicle
Definition: misc_69.h:40
This is the base class of protocol data.
Definition: protocol_data.h:44
bool is_driver_door_open(const std::uint8_t *bytes, int32_t length) const
check the driver door open bit based on byte array. config detail: {'name': 'doord', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 24, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_acc_on_or_off_pressed(const std::uint8_t *bytes, int32_t length) const
check acc on or off pressed bit based on byte array. config detail: {'name': 'onoff', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 16, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_acc_increment_following_gap_pressed(const std::uint8_t *bytes, int32_t length) const
check the acc increment following gap pressed bit based on byte array. config detail: {'name': 'ginc'...
bool is_lka_on_or_off_pressed(const std::uint8_t *bytes, int32_t length) const
check the lka on or off pressed bit based on byte array. config detail: {'name': 'lkaen', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 22, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
static const int32_t ID
Definition: misc_69.h:43
bool is_acc_resume_or_cancel_pressed(const std::uint8_t *bytes, int32_t length) const
check acc resume or cancel pressed bit based on byte array. config detail: {'name': 'rescncl'...
bool is_hood_open(const std::uint8_t *bytes, int32_t length) const
check the hood open bit based on byte array. config detail: {'name': 'hood', 'offset': 0...
bool is_rear_right_door_open(const std::uint8_t *bytes, int32_t length) const
check the rear right door open bit based on byte array. config detail: {'name': 'doorr', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 27, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_acc_increment_set_speed_pressed(const std::uint8_t *bytes, int32_t length) const
check the acc increment set speed pressed bit based on byte array. config detail: {'name': 'sinc'...
bool is_acc_on_pressed(const std::uint8_t *bytes, int32_t length) const
check acc on pressed bit based on byte array. config detail: {'name': 'on', 'offset': 0...
bool is_trunk_open(const std::uint8_t *bytes, int32_t length) const
check the trunk open bit based on byte array. config detail: {'name': 'trunk', 'offset': 0...
bool is_passenger_detected(const std::uint8_t *bytes, int32_t length) const
check the passenger detected bit based on byte array. config detail: {'name': 'pdect', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 30, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_acc_decrement_following_gap_pressed(const std::uint8_t *bytes, int32_t length) const
check the acc decrement following gap pressed bit based on byte array. config detail: {'name': 'gdec'...
bool is_acc_off_pressed(const std::uint8_t *bytes, int32_t length) const
check acc off pressed bit based on byte array. config detail: {'name': 'off', 'offset': 0...
bool is_passenger_belt_buckled(const std::uint8_t *bytes, int32_t length) const
check the passenger belt buckled bit based on byte array. config detail: {'name': 'beltp'...
int32_t high_beam_status(const std::uint8_t *bytes, int32_t length) const
calculate the high beam status based on byte array. config detail: {'name': 'hibeam', 'offset': 0.0, 'precision': 1.0, 'len': 2, 'f_type': 'value', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 2, 'type': 'int', 'order': 'intel', 'physical_unit': '""'}
int32_t turn_signal_status(const std::uint8_t *bytes, int32_t length) const
calculate the turn signal status based on byte array. config detail: {'name': 'trnstat', 'offset': 0.0, 'precision': 1.0, 'len': 2, 'f_type': 'value', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 0, 'type': 'int', 'order': 'intel', 'physical_unit': '""'}
bool is_acc_resume_pressed(const std::uint8_t *bytes, int32_t length) const
check acc resume pressed bit based on byte array. config detail: {'name': 'res', 'offset': 0...
The class of ProtocolData.
bool is_canbus_fault(const std::uint8_t *bytes, int32_t length) const
check the canbus fault bit based on byte array. config detail: {'name': 'fltbus', 'offset': 0...
bool is_passenger_door_open(const std::uint8_t *bytes, int32_t length) const
check the passenger door open bit based on byte array. config detail: {'name': 'doorp', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 25, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_driver_belt_buckled(const std::uint8_t *bytes, int32_t length) const
check the driver belt buckled bit based on byte array. config detail: {'name': 'beltd', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 32, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_passenger_airbag_enabled(const std::uint8_t *bytes, int32_t length) const
check the passenger airbag enabled bit based on byte array. config detail: {'name': 'pabag'...
bool is_acc_cancel_pressed(const std::uint8_t *bytes, int32_t length) const
check acc cancel pressed bit based on byte array. config detail: {'name': 'cncl', 'offset': 0...
bool is_acc_decrement_set_speed_pressed(const std::uint8_t *bytes, int32_t length) const
check the acc decrement set speed pressed bit based on byte array. config detail: {'name': 'sdec'...
virtual void Parse(const std::uint8_t *bytes, int32_t length, ChassisDetail *chassis_detail) const