19#include "glog/logging.h"
28using ::apollo::drivers::canbus::Byte;
35 chassis->mutable_steering_rpt_1_6e()->set_manual_input(
36 manual_input(bytes, length));
37 chassis->mutable_steering_rpt_1_6e()->set_commanded_value(
38 commanded_value(bytes, length));
39 chassis->mutable_steering_rpt_1_6e()->set_output_value(
40 output_value(bytes, length));
46double Steeringrpt16e::manual_input(
const std::uint8_t* bytes,
47 int32_t length)
const {
49 int32_t x = t0.get_byte(0, 8);
52 int32_t t = t1.get_byte(0, 8);
59 double ret = x * 0.001000;
66double Steeringrpt16e::commanded_value(
const std::uint8_t* bytes,
67 int32_t length)
const {
69 int32_t x = t0.get_byte(0, 8);
72 int32_t t = t1.get_byte(0, 8);
79 double ret = x * 0.001000;
86double Steeringrpt16e::output_value(
const std::uint8_t* bytes,
87 int32_t length)
const {
89 int32_t x = t0.get_byte(0, 8);
92 int32_t t = t1.get_byte(0, 8);
99 double ret = x * 0.001000;
void Parse(const std::uint8_t *bytes, int32_t length, Gem *chassis) const override