Apollo 10.0
自动驾驶开放平台
|
one of the protocol data of lincoln vehicle 更多...
#include <throttle_62.h>
Public 成员函数 | |
virtual uint32_t | GetPeriod () const |
get the data period | |
virtual void | UpdateData (uint8_t *data) |
update the data | |
virtual void | Reset () |
reset the private variables | |
Throttle62 * | set_pedal (double pcmd) |
set pedal based on pedal command | |
Throttle62 * | set_enable () |
set enable | |
Throttle62 * | set_disable () |
set disable | |
Throttle62 * | set_enable_ignore_driver_override () |
set enable ignore driver override | |
![]() | |
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::Lincoln *sensor_data) const |
virtual void | UpdateData_Heartbeat (uint8_t *data) |
静态 Public 属性 | |
static const int32_t | ID = 0x62 |
额外继承的成员函数 | |
![]() | |
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) |
one of the protocol data of lincoln vehicle
在文件 throttle_62.h 第 40 行定义.
|
virtual |
get the data period
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 throttle_62.cc 第 31 行定义.
|
virtual |
reset the private variables
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 throttle_62.cc 第 44 行定义.
Throttle62 * apollo::canbus::lincoln::Throttle62::set_disable | ( | ) |
set disable
在文件 throttle_62.cc 第 62 行定义.
Throttle62 * apollo::canbus::lincoln::Throttle62::set_enable | ( | ) |
set enable
在文件 throttle_62.cc 第 57 行定义.
Throttle62 * apollo::canbus::lincoln::Throttle62::set_enable_ignore_driver_override | ( | ) |
set enable ignore driver override
Throttle62 * apollo::canbus::lincoln::Throttle62::set_pedal | ( | double | pcmd | ) |
set pedal based on pedal command
在文件 throttle_62.cc 第 52 行定义.
|
virtual |
update the data
data | a pointer to the data to be updated |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 throttle_62.cc 第 36 行定义.
|
static |
在文件 throttle_62.h 第 43 行定义.