|
Apollo 11.0
自动驾驶开放平台
|
#include <gear_command_103.h>
Public 成员函数 | |
| Gearcommand103 () | |
| uint32_t | GetPeriod () const override |
| void | Parse (const std::uint8_t *bytes, int32_t length, Demo *chassis) const override |
| void | UpdateData_Heartbeat (uint8_t *data) override |
| void | UpdateData (uint8_t *data) override |
| void | Reset () override |
| Gearcommand103 * | set_heartbeat_103 (int heartbeat_103) |
| Gearcommand103 * | set_gear_target (Gear_command_103::Gear_targetType gear_target) |
| Gearcommand103 * | set_gear_en_ctrl (Gear_command_103::Gear_en_ctrlType gear_en_ctrl) |
| Gearcommand103 * | set_checksum_103 (int checksum_103) |
Public 成员函数 继承自 apollo::drivers::canbus::ProtocolData<::apollo::canbus::Demo > | |
| ProtocolData ()=default | |
| construct protocol data. | |
| virtual | ~ProtocolData ()=default |
| destruct protocol data. | |
| virtual int32_t | GetLength () const |
| virtual void | Parse (const uint8_t *bytes, int32_t length, ::apollo::canbus::Demo *sensor_data) const |
静态 Public 属性 | |
| static const int32_t | ID = 0x103 |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 apollo::drivers::canbus::ProtocolData<::apollo::canbus::Demo > | |
| 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) |
在文件 gear_command_103.h 第 27 行定义.
| apollo::canbus::demo::Gearcommand103::Gearcommand103 | ( | ) |
在文件 gear_command_103.cc 第 30 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData<::apollo::canbus::Demo > .
在文件 gear_command_103.cc 第 32 行定义.
|
override |
在文件 gear_command_103.cc 第 38 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData<::apollo::canbus::Demo > .
在文件 gear_command_103.cc 第 65 行定义.
| Gearcommand103 * apollo::canbus::demo::Gearcommand103::set_checksum_103 | ( | int | checksum_103 | ) |
在文件 gear_command_103.cc 第 129 行定义.
| Gearcommand103 * apollo::canbus::demo::Gearcommand103::set_gear_en_ctrl | ( | Gear_command_103::Gear_en_ctrlType | gear_en_ctrl | ) |
在文件 gear_command_103.cc 第 109 行定义.
| Gearcommand103 * apollo::canbus::demo::Gearcommand103::set_gear_target | ( | Gear_command_103::Gear_targetType | gear_target | ) |
在文件 gear_command_103.cc 第 89 行定义.
| Gearcommand103 * apollo::canbus::demo::Gearcommand103::set_heartbeat_103 | ( | int | heartbeat_103 | ) |
在文件 gear_command_103.cc 第 73 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData<::apollo::canbus::Demo > .
在文件 gear_command_103.cc 第 60 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData<::apollo::canbus::Demo > .
在文件 gear_command_103.cc 第 50 行定义.
|
static |
在文件 gear_command_103.h 第 30 行定义.