24#include "modules/canbus_vehicle/lincoln/proto/lincoln.pb.h"
41 ::apollo::canbus::Lincoln> {
43 static const int32_t
ID;
52 virtual void Parse(
const std::uint8_t *bytes, int32_t length,
64 int32_t
gear_state(
const std::uint8_t *bytes, int32_t length)
const;
one of the protocol data of lincoln vehicle
virtual void Parse(const std::uint8_t *bytes, int32_t length, Lincoln *chassis_detail) const
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....
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,...
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....
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,...
This is the base class of protocol data.
The class of ProtocolData