Apollo 10.0
自动驾驶开放平台
|
#include <motion_input_yawrate_301.h>
Public 成员函数 | |
MotionInputYawRate301 () | |
~MotionInputYawRate301 () | |
uint32_t | GetPeriod () const override |
get the data period | |
void | UpdateData (uint8_t *data) override |
update the data | |
void | Reset () override |
reset the private variables | |
void | SetYawRate (const float &yaw_rate) |
![]() | |
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, ContiRadar *sensor_data) const |
virtual void | UpdateData_Heartbeat (uint8_t *data) |
静态 Public 属性 | |
static const uint32_t | ID = 0x301 |
额外继承的成员函数 | |
![]() | |
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) |
在文件 motion_input_yawrate_301.h 第 32 行定义.
apollo::drivers::conti_radar::MotionInputYawRate301::MotionInputYawRate301 | ( | ) |
在文件 motion_input_yawrate_301.cc 第 30 行定义.
apollo::drivers::conti_radar::MotionInputYawRate301::~MotionInputYawRate301 | ( | ) |
在文件 motion_input_yawrate_301.cc 第 31 行定义.
|
overridevirtual |
get the data period
重载 apollo::drivers::canbus::ProtocolData< ContiRadar > .
在文件 motion_input_yawrate_301.cc 第 33 行定义.
|
overridevirtual |
reset the private variables
重载 apollo::drivers::canbus::ProtocolData< ContiRadar > .
在文件 motion_input_yawrate_301.cc 第 60 行定义.
void apollo::drivers::conti_radar::MotionInputYawRate301::SetYawRate | ( | const float & | yaw_rate | ) |
在文件 motion_input_yawrate_301.cc 第 62 行定义.
|
overridevirtual |
update the data
data | a pointer to the data to be updated |
重载 apollo::drivers::canbus::ProtocolData< ContiRadar > .
在文件 motion_input_yawrate_301.cc 第 42 行定义.
|
static |
在文件 motion_input_yawrate_301.h 第 35 行定义.