19 #include "gtest/gtest_prod.h" 20 #include "modules/canbus/proto/chassis_detail.pb.h" 28 ::apollo::canbus::ChassisDetail> {
30 static const int32_t
ID;
32 void Parse(
const std::uint8_t* bytes, int32_t length,
33 ChassisDetail* chassis)
const override;
43 Llc_motionfeedback1_20::Llc_fbk_gearType llc_fbk_gear(
44 const std::uint8_t* bytes,
const int32_t length)
const;
50 bool llc_fbk_parkingbrake(
const std::uint8_t* bytes,
51 const int32_t length)
const;
57 double llc_fbk_throttleposition(
const std::uint8_t* bytes,
58 const int32_t length)
const;
64 double llc_fbk_brakepercentrear(
const std::uint8_t* bytes,
65 const int32_t length)
const;
71 double llc_fbk_brakepercentfront(
const std::uint8_t* bytes,
72 const int32_t length)
const;
81 Llc_motionfeedback1_20::Llc_fbk_steeringcontrolmodeType
82 llc_fbk_steeringcontrolmode(
const std::uint8_t* bytes,
83 const int32_t length)
const;
89 int llc_motionfeedback1_counter(
const std::uint8_t* bytes,
90 const int32_t length)
const;
96 int llc_motionfeedback1_checksum(
const std::uint8_t* bytes,
97 const int32_t length)
const;
104 bool llc_fbk_commandaligned(
const std::uint8_t* bytes,
105 const int32_t length)
const;
111 bool llc_fbk_estoppressed(
const std::uint8_t* bytes,
112 const int32_t length)
const;
119 bool llc_fbk_adcrequestautonomy(
const std::uint8_t* bytes,
120 const int32_t length)
const;
126 bool llc_fbk_allowautonomy(
const std::uint8_t* bytes,
127 const int32_t length)
const;
137 Llc_motionfeedback1_20::Llc_fbk_longitudinalcontrolmodeType
138 llc_fbk_longitudinalcontrolmode(
const std::uint8_t* bytes,
139 const int32_t length)
const;
153 Llc_motionfeedback1_20::Llc_fbk_stateType llc_fbk_state(
154 const std::uint8_t* bytes,
const int32_t length)
const;
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
Definition: llc_motionfeedback1_20.h:27
void Parse(const std::uint8_t *bytes, int32_t length, ChassisDetail *chassis) const override
FRIEND_TEST(Motionfeedback1_20_test, General)
static const int32_t ID
Definition: llc_motionfeedback1_20.h:30
The class of ProtocolData.