24#include "modules/canbus_vehicle/lincoln/proto/lincoln.pb.h"
41 ::apollo::canbus::Lincoln> {
43 static const int32_t
ID;
51 virtual void Parse(
const std::uint8_t *bytes, int32_t length,
60 double engine_rpm(
const std::uint8_t *bytes, int32_t length)
const;
76 double acc_pedal_rate(
const std::uint8_t *bytes, int32_t length)
const;
one of the protocol data of lincoln vehicle
double acc_pedal_percent(const std::uint8_t *bytes, int32_t length) const
calculate acc pedal percent based on byte array.
double acc_pedal_rate(const std::uint8_t *bytes, int32_t length) const
calculate acc pedal rate based on byte array.
virtual void Parse(const std::uint8_t *bytes, int32_t length, Lincoln *chassis_detail) const
double engine_rpm(const std::uint8_t *bytes, int32_t length) const
calculate engine rpm based on byte array.
This is the base class of protocol data.
The class of ProtocolData