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;
64 int32_t
gear_state(
const std::uint8_t *bytes, int32_t length)
const;
bool is_canbus_fault(const std::uint8_t *bytes, int32_t length) const
check canbus fault from byte array config detail: {'name': 'fltbus', 'offset': 0.0, 'precision': 1.0, 'len': 1, 'f_type': 'valid', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 7, 'type': 'bool', 'order': 'intel', 'physical_unit': '""'}
bool is_driver_override(const std::uint8_t *bytes, int32_t length) const
check driver override from byte array config detail: {'name': 'driver', 'offset': 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
virtual void Parse(const std::uint8_t *bytes, int32_t length, ChassisDetail *chassis_detail) const
static const int32_t ID
Definition: gear_67.h:43
int32_t reported_gear_cmd(const std::uint8_t *bytes, int32_t length) const
get reported gear command from byte array config detail: {'name': 'cmd', 'offset': 0...
one of the protocol data of lincoln vehicle
Definition: gear_67.h:40
The class of ProtocolData.
int32_t gear_state(const std::uint8_t *bytes, int32_t length) const
get the gear state from byte array config detail: {'name': 'state', 'offset': 0.0, 'precision': 1.0, 'len': 3, 'f_type': 'value', 'is_signed_var': False, 'physical_range': '[0|0]', 'bit': 0, 'type': 'int', 'order': 'intel', 'physical_unit': '""'}