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
year(
const std::uint8_t *bytes, int32_t length)
const;
75 int32_t
month(
const std::uint8_t *bytes, int32_t length)
const;
86 int32_t
day(
const std::uint8_t *bytes, int32_t length)
const;
97 int32_t
hours(
const std::uint8_t *bytes, int32_t length)
const;
108 int32_t
minutes(
const std::uint8_t *bytes, int32_t length)
const;
119 int32_t
seconds(
const std::uint8_t *bytes, int32_t length)
const;
142 double pdop(
const std::uint8_t *bytes, int32_t length)
const;
153 bool is_gps_fault(
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_inferred_position(const std::uint8_t *bytes, int32_t length) const
get inferred position from byte array config detail: {'name': 'inf', 'offset': 0.0,...
int32_t minutes(const std::uint8_t *bytes, int32_t length) const
get minutes from byte array config detail: {'name': 'minutes', 'offset': 0.0, 'precision': 1....
int32_t day(const std::uint8_t *bytes, int32_t length) const
get day from byte array config detail: {'name': 'day', 'offset': 0.0, 'precision': 1....
int32_t month(const std::uint8_t *bytes, int32_t length) const
get month from byte array config detail: {'name': 'month', 'offset': 0.0, 'precision': 1....
int32_t seconds(const std::uint8_t *bytes, int32_t length) const
get year from byte array config detail: {'name': 'seconds', 'offset': 0.0, 'precision': 1....
bool is_gps_fault(const std::uint8_t *bytes, int32_t length) const
check gps fault from byte array config detail: {'name': 'fltgps', 'offset': 0.0, 'precision': 1....
double compass_direction(const std::uint8_t *bytes, int32_t length) const
get compass direction from byte array config detail: {'name': 'compass', 'offset': 0....
int32_t hours(const std::uint8_t *bytes, int32_t length) const
get hours from byte array config detail: {'name': 'hours', 'offset': 0.0, 'precision': 1....
int32_t year(const std::uint8_t *bytes, int32_t length) const
get year from byte array config detail: {'name': 'year', 'offset': 0.0, 'precision': 1....
double pdop(const std::uint8_t *bytes, int32_t length) const
get pdop from byte array config detail: {'name': 'pdop', 'offset': 0.0, 'precision': 0....
This is the base class of protocol data.
The class of ProtocolData