Apollo 10.0
自动驾驶开放平台
|
one of the protocol data of lincoln vehicle 更多...
#include <steering_64.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 | |
Steering64 * | set_enable () |
set steering request enable to true | |
Steering64 * | set_disable () |
set steering request disable to true | |
Steering64 * | set_steering_angle (double angle) |
set steering angle | |
Steering64 * | set_steering_angle_speed (double angle_speed) |
set steering angle speed | |
![]() | |
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 = 0x64 |
额外继承的成员函数 | |
![]() | |
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
在文件 steering_64.h 第 40 行定义.
|
virtual |
get the data period
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 steering_64.cc 第 29 行定义.
|
virtual |
reset the private variables
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 steering_64.cc 第 46 行定义.
Steering64 * apollo::canbus::lincoln::Steering64::set_disable | ( | ) |
set steering request disable to true
在文件 steering_64.cc 第 66 行定义.
Steering64 * apollo::canbus::lincoln::Steering64::set_enable | ( | ) |
set steering request enable to true
在文件 steering_64.cc 第 61 行定义.
Steering64 * apollo::canbus::lincoln::Steering64::set_steering_angle | ( | double | angle | ) |
set steering angle
在文件 steering_64.cc 第 56 行定义.
Steering64 * apollo::canbus::lincoln::Steering64::set_steering_angle_speed | ( | double | angle_speed | ) |
set steering angle speed
在文件 steering_64.cc 第 71 行定义.
|
virtual |
update the data
data | a pointer to the data to be updated |
重载 apollo::drivers::canbus::ProtocolData< ::apollo::canbus::Lincoln > .
在文件 steering_64.cc 第 36 行定义.
|
static |
在文件 steering_64.h 第 43 行定义.