Apollo 10.0
自动驾驶开放平台
|
#include <throttle_command_100.h>
Public 成员函数 | |
Throttlecommand100 () | |
uint32_t | GetPeriod () const override |
void | UpdateData (uint8_t *data) override |
void | Reset () override |
void | Parse (const std::uint8_t *bytes, int32_t length, Devkit *chassis) const override |
Throttlecommand100 * | set_throttle_en_ctrl (Throttle_command_100::Throttle_en_ctrlType throttle_en_ctrl) |
Throttlecommand100 * | set_throttle_acc (double throttle_acc) |
Throttlecommand100 * | set_throttle_pedal_target (double throttle_pedal_target) |
Throttlecommand100 * | set_speed_target (double speed_target) |
Throttlecommand100 * | set_checksum_100 (int checksum_100) |
![]() | |
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 = 0x100 |
额外继承的成员函数 | |
![]() | |
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) |
在文件 throttle_command_100.h 第 27 行定义.
apollo::canbus::devkit::Throttlecommand100::Throttlecommand100 | ( | ) |
在文件 throttle_command_100.cc 第 33 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > .
在文件 throttle_command_100.cc 第 35 行定义.
|
override |
在文件 throttle_command_100.cc 第 41 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > .
在文件 throttle_command_100.cc 第 65 行定义.
Throttlecommand100 * apollo::canbus::devkit::Throttlecommand100::set_checksum_100 | ( | int | checksum_100 | ) |
在文件 throttle_command_100.cc 第 167 行定义.
Throttlecommand100 * apollo::canbus::devkit::Throttlecommand100::set_speed_target | ( | double | speed_target | ) |
在文件 throttle_command_100.cc 第 143 行定义.
Throttlecommand100 * apollo::canbus::devkit::Throttlecommand100::set_throttle_acc | ( | double | throttle_acc | ) |
在文件 throttle_command_100.cc 第 93 行定义.
Throttlecommand100 * apollo::canbus::devkit::Throttlecommand100::set_throttle_en_ctrl | ( | Throttle_command_100::Throttle_en_ctrlType | throttle_en_ctrl | ) |
在文件 throttle_command_100.cc 第 74 行定义.
Throttlecommand100 * apollo::canbus::devkit::Throttlecommand100::set_throttle_pedal_target | ( | double | throttle_pedal_target | ) |
在文件 throttle_command_100.cc 第 117 行定义.
|
overridevirtual |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Devkit > .
在文件 throttle_command_100.cc 第 55 行定义.
|
static |
在文件 throttle_command_100.h 第 30 行定义.