Apollo 10.0
自动驾驶开放平台
|
one of the protocol data of lincoln vehicle 更多...
#include <gear_66.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 | |
Gear66 * | set_gear_none () |
set gear to none | |
Gear66 * | set_gear_park () |
set gear to park | |
Gear66 * | set_gear_reverse () |
set gear to reverse | |
Gear66 * | set_gear_neutral () |
set gear to neutral | |
Gear66 * | set_gear_drive () |
set gear to drive | |
Gear66 * | set_gear_low () |
set gear to low | |
![]() | |
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 = 0x66 |
额外继承的成员函数 | |
![]() | |
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) |
|
virtual |
get the data period
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 gear_66.cc 第 30 行定义.
|
virtual |
reset the private variables
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 gear_66.cc 第 41 行定义.
Gear66 * apollo::canbus::lincoln::Gear66::set_gear_drive | ( | ) |
set gear to drive
在文件 gear_66.cc 第 63 行定义.
Gear66 * apollo::canbus::lincoln::Gear66::set_gear_low | ( | ) |
set gear to low
在文件 gear_66.cc 第 68 行定义.
Gear66 * apollo::canbus::lincoln::Gear66::set_gear_neutral | ( | ) |
set gear to neutral
在文件 gear_66.cc 第 58 行定义.
Gear66 * apollo::canbus::lincoln::Gear66::set_gear_none | ( | ) |
set gear to none
在文件 gear_66.cc 第 43 行定义.
Gear66 * apollo::canbus::lincoln::Gear66::set_gear_park | ( | ) |
set gear to park
在文件 gear_66.cc 第 48 行定义.
Gear66 * apollo::canbus::lincoln::Gear66::set_gear_reverse | ( | ) |
set gear to reverse
在文件 gear_66.cc 第 53 行定义.
|
virtual |
update the data
data | a pointer to the data to be updated |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 gear_66.cc 第 36 行定义.