|
Apollo 11.0
自动驾驶开放平台
|
#include <motion_input_speed_300.h>
Public 成员函数 | |
| MotionInputSpeed300 () | |
| ~MotionInputSpeed300 () | |
| 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 | SetSpeed (const float &speed) |
Public 成员函数 继承自 apollo::drivers::canbus::ProtocolData< ContiRadar > | |
| 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 = 0x300 |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 apollo::drivers::canbus::ProtocolData< ContiRadar > | |
| 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_speed_300.h 第 32 行定义.
| apollo::drivers::conti_radar::MotionInputSpeed300::MotionInputSpeed300 | ( | ) |
在文件 motion_input_speed_300.cc 第 30 行定义.
| apollo::drivers::conti_radar::MotionInputSpeed300::~MotionInputSpeed300 | ( | ) |
在文件 motion_input_speed_300.cc 第 31 行定义.
|
overridevirtual |
get the data period
重载 apollo::drivers::canbus::ProtocolData< ContiRadar > .
在文件 motion_input_speed_300.cc 第 33 行定义.
|
overridevirtual |
reset the private variables
重载 apollo::drivers::canbus::ProtocolData< ContiRadar > .
在文件 motion_input_speed_300.cc 第 68 行定义.
| void apollo::drivers::conti_radar::MotionInputSpeed300::SetSpeed | ( | const float & | speed | ) |
在文件 motion_input_speed_300.cc 第 70 行定义.
|
overridevirtual |
update the data
| data | a pointer to the data to be updated |
重载 apollo::drivers::canbus::ProtocolData< ContiRadar > .
在文件 motion_input_speed_300.cc 第 42 行定义.
|
static |
在文件 motion_input_speed_300.h 第 35 行定义.