Apollo 10.0
自动驾驶开放平台
|
one of the protocol data of lincoln vehicle 更多...
#include <turnsignal_68.h>
Public 成员函数 | |
virtual uint32_t | GetPeriod () const |
get the data period | |
virtual int32_t | turn_cmd () const |
get the turn command | |
virtual void | UpdateData (uint8_t *data) |
update the data | |
virtual void | Reset () |
reset the private variables | |
Turnsignal68 * | set_turn_none () |
set no-turn based on pedal command | |
Turnsignal68 * | set_turn_left () |
set turn left based on pedal command | |
Turnsignal68 * | set_turn_right () |
set turn right based on pedal command | |
![]() | |
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 = 0x68 |
额外继承的成员函数 | |
![]() | |
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
在文件 turnsignal_68.h 第 40 行定义.
|
virtual |
get the data period
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 turnsignal_68.cc 第 29 行定义.
|
virtual |
reset the private variables
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 turnsignal_68.cc 第 40 行定义.
Turnsignal68 * apollo::canbus::lincoln::Turnsignal68::set_turn_left | ( | ) |
set turn left based on pedal command
在文件 turnsignal_68.cc 第 47 行定义.
Turnsignal68 * apollo::canbus::lincoln::Turnsignal68::set_turn_none | ( | ) |
set no-turn based on pedal command
在文件 turnsignal_68.cc 第 42 行定义.
Turnsignal68 * apollo::canbus::lincoln::Turnsignal68::set_turn_right | ( | ) |
set turn right based on pedal command
在文件 turnsignal_68.cc 第 52 行定义.
|
virtual |
|
virtual |
update the data
data | a pointer to the data to be updated |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 turnsignal_68.cc 第 36 行定义.
|
static |
在文件 turnsignal_68.h 第 43 行定义.