#include <gear_command_103.h>
|
static const int32_t | ID = 0x103 |
|
|
static std::uint8_t | CalculateCheckSum (const uint8_t *input, const uint32_t length) |
| static function, used to calculate the checksum of input array.
|
|
static T | BoundedValue (T lower, T upper, T val) |
|
◆ Gearcommand103()
apollo::canbus::devkit::Gearcommand103::Gearcommand103 |
( |
| ) |
|
◆ GetPeriod()
uint32_t apollo::canbus::devkit::Gearcommand103::GetPeriod |
( |
| ) |
const |
|
overridevirtual |
◆ Parse()
void apollo::canbus::devkit::Gearcommand103::Parse |
( |
const std::uint8_t * |
bytes, |
|
|
int32_t |
length, |
|
|
Devkit * |
chassis |
|
) |
| const |
|
override |
在文件 gear_command_103.cc 第 32 行定义.
33 {
34 chassis->mutable_gear_command_103()->set_gear_target(
35 gear_target(bytes, length));
36 chassis->mutable_gear_command_103()->set_gear_en_ctrl(
37 gear_en_ctrl(bytes, length));
38 chassis->mutable_gear_command_103()->set_checksum_103(
39 checksum_103(bytes, length));
40}
◆ Reset()
void apollo::canbus::devkit::Gearcommand103::Reset |
( |
| ) |
|
|
overridevirtual |
◆ set_checksum_103()
Gearcommand103 * apollo::canbus::devkit::Gearcommand103::set_checksum_103 |
( |
int |
checksum_103 | ) |
|
◆ set_gear_en_ctrl()
◆ set_gear_target()
◆ UpdateData()
void apollo::canbus::devkit::Gearcommand103::UpdateData |
( |
uint8_t * |
data | ) |
|
|
overridevirtual |
◆ ID
const int32_t apollo::canbus::devkit::Gearcommand103::ID = 0x103 |
|
static |
该类的文档由以下文件生成: