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;
65 double altitude(
const std::uint8_t *bytes, int32_t length)
const;
77 double heading(
const std::uint8_t *bytes, int32_t length)
const;
88 int32_t
speed(
const std::uint8_t *bytes, int32_t length)
const;
99 double hdop(
const std::uint8_t *bytes, int32_t length)
const;
110 double vdop(
const std::uint8_t *bytes, int32_t length)
const;
121 int32_t
fix_quality(
const std::uint8_t *bytes, int32_t length)
const;
132 int32_t
num_satellites(
const std::uint8_t *bytes, int32_t length)
const;
double altitude(const std::uint8_t *bytes, int32_t length) const
get altitude from byte array config detail: {'name': 'altitude', 'offset': 0.0, 'precision': 0...
static const int32_t ID
Definition: gps_6f.h:43
one of the protocol data of lincoln vehicle
Definition: gps_6f.h:40
double hdop(const std::uint8_t *bytes, int32_t length) const
get hdop from byte array config detail: {'name': 'hdop', 'offset': 0.0, 'precision': 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
double vdop(const std::uint8_t *bytes, int32_t length) const
get vdop from byte array config detail: {'name': 'vdop', 'offset': 0.0, 'precision': 0...
int32_t num_satellites(const std::uint8_t *bytes, int32_t length) const
get number of satellites from byte array config detail: {'name': 'numsat', 'offset': 0...
double heading(const std::uint8_t *bytes, int32_t length) const
get heading from byte array config detail: {'name': 'heading', 'offset': 0.0, 'precision': 0...
virtual void Parse(const std::uint8_t *bytes, int32_t length, ChassisDetail *chassis_detail) const
int32_t fix_quality(const std::uint8_t *bytes, int32_t length) const
get fix quality from byte array config detail: {'name': 'quality', 'offset': 0.0, 'precision': 1...
int32_t speed(const std::uint8_t *bytes, int32_t length) const
get speed from byte array config detail: {'name': 'speed', 'offset': 0.0, 'precision': 1...
The class of ProtocolData.