|
Apollo 11.0
自动驾驶开放平台
|
#include <brake_command_101.h>
Public 成员函数 | |
| Brakecommand101 () | |
| uint32_t | GetPeriod () const override |
| void | Parse (const std::uint8_t *bytes, int32_t length, Devkit *chassis) const override |
| void | UpdateData (uint8_t *data) override |
| void | Reset () override |
| Brakecommand101 * | set_brake_en_ctrl (Brake_command_101::Brake_en_ctrlType brake_en_ctrl) |
| Brakecommand101 * | set_aeb_en_ctrl (Brake_command_101::Aeb_en_ctrlType aeb_en_ctrl) |
| Brakecommand101 * | set_brake_dec (double brake_dec) |
| Brakecommand101 * | set_brake_pedal_target (double brake_pedal_target) |
| Brakecommand101 * | set_checksum_101 (int checksum_101) |
Public 成员函数 继承自 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > | |
| 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::Devkit *sensor_data) const |
| virtual void | UpdateData_Heartbeat (uint8_t *data) |
静态 Public 属性 | |
| static const int32_t | ID = 0x101 |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > | |
| 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) |
在文件 brake_command_101.h 第 27 行定义.
| apollo::canbus::devkit::Brakecommand101::Brakecommand101 | ( | ) |
在文件 brake_command_101.cc 第 30 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > .
在文件 brake_command_101.cc 第 32 行定义.
|
override |
在文件 brake_command_101.cc 第 38 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > .
在文件 brake_command_101.cc 第 62 行定义.
| Brakecommand101 * apollo::canbus::devkit::Brakecommand101::set_aeb_en_ctrl | ( | Brake_command_101::Aeb_en_ctrlType | aeb_en_ctrl | ) |
在文件 brake_command_101.cc 第 89 行定义.
| Brakecommand101 * apollo::canbus::devkit::Brakecommand101::set_brake_dec | ( | double | brake_dec | ) |
在文件 brake_command_101.cc 第 107 行定义.
| Brakecommand101 * apollo::canbus::devkit::Brakecommand101::set_brake_en_ctrl | ( | Brake_command_101::Brake_en_ctrlType | brake_en_ctrl | ) |
在文件 brake_command_101.cc 第 71 行定义.
| Brakecommand101 * apollo::canbus::devkit::Brakecommand101::set_brake_pedal_target | ( | double | brake_pedal_target | ) |
在文件 brake_command_101.cc 第 130 行定义.
| Brakecommand101 * apollo::canbus::devkit::Brakecommand101::set_checksum_101 | ( | int | checksum_101 | ) |
在文件 brake_command_101.cc 第 156 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > .
在文件 brake_command_101.cc 第 52 行定义.
|
static |
在文件 brake_command_101.h 第 30 行定义.