19#include "glog/logging.h"
28using ::apollo::drivers::canbus::Byte;
36 chassis->mutable_llc_motioncommandfeedback1_22()
37 ->set_llc_fbk_steeringanglesetpoint(
38 llc_fbk_steeringanglesetpoint(bytes, length));
39 chassis->mutable_llc_motioncommandfeedback1_22()
40 ->set_llc_fbk_throttlesetpoint(llc_fbk_throttlesetpoint(bytes, length));
41 chassis->mutable_llc_motioncommandfeedback1_22()
42 ->set_llc_fbk_brakepercentsetpoint(
43 llc_fbk_brakepercentsetpoint(bytes, length));
44 chassis->mutable_llc_motioncommandfeedback1_22()
45 ->set_llc_motioncommandfeedback1_count(
46 llc_motioncommandfeedback1_count(bytes, length));
47 chassis->mutable_llc_motioncommandfeedback1_22()
48 ->set_llc_motioncommandfeedback1_check(
49 llc_motioncommandfeedback1_check(bytes, length));
57double Llcmotioncommandfeedback122::llc_fbk_steeringanglesetpoint(
58 const std::uint8_t* bytes, int32_t length)
const {
60 int32_t x = t0.get_byte(0, 5);
63 int32_t t = t1.get_byte(0, 8);
68 t = t2.get_byte(5, 3);
75 double ret = x * 0.050000;
84double Llcmotioncommandfeedback122::llc_fbk_throttlesetpoint(
85 const std::uint8_t* bytes, int32_t length)
const {
87 int32_t x = t0.get_byte(0, 5);
90 int32_t t = t1.get_byte(3, 5);
94 double ret = x * 0.100000;
103double Llcmotioncommandfeedback122::llc_fbk_brakepercentsetpoint(
104 const std::uint8_t* bytes, int32_t length)
const {
106 int32_t x = t0.get_byte(0, 3);
109 int32_t t = t1.get_byte(0, 8);
113 double ret = x * 0.055600;
121int Llcmotioncommandfeedback122::llc_motioncommandfeedback1_count(
122 const std::uint8_t* bytes, int32_t length)
const {
124 int32_t x = t0.get_byte(6, 2);
134int Llcmotioncommandfeedback122::llc_motioncommandfeedback1_check(
135 const std::uint8_t* bytes, int32_t length)
const {
137 int32_t x = t0.get_byte(0, 8);
void Parse(const std::uint8_t *bytes, int32_t length, Transit *chassis) const override
Llcmotioncommandfeedback122()