Apollo 10.0
自动驾驶开放平台
|
The class which defines an ESD CAN client which inherites CanClient. 更多...
#include <socket_can_client_raw.h>
Public 成员函数 | |
bool | Init (const CANCardParameter ¶meter) override |
Initialize the ESD CAN client by specified CAN card parameters. | |
virtual | ~SocketCanClientRaw () |
Destructor | |
apollo::common::ErrorCode | Start () override |
Start the ESD CAN client. | |
void | Stop () override |
Stop the ESD CAN client. | |
apollo::common::ErrorCode | Send (const std::vector< CanFrame > &frames, int32_t *const frame_num) override |
Send messages | |
apollo::common::ErrorCode | Receive (std::vector< CanFrame > *const frames, int32_t *const frame_num) override |
Receive messages | |
std::string | GetErrorString (const int32_t status) override |
Get the error string. | |
![]() | |
CanClient ()=default | |
Constructor | |
virtual | ~CanClient ()=default |
Destructor | |
virtual apollo::common::ErrorCode | SendSingleFrame (const std::vector< CanFrame > &frames) |
Send a single message. | |
额外继承的成员函数 | |
![]() | |
bool | is_started_ = false |
The CAN client is started. | |
The class which defines an ESD CAN client which inherites CanClient.
在文件 socket_can_client_raw.h 第 60 行定义.
|
virtual |
Destructor
在文件 socket_can_client_raw.cc 第 58 行定义.
|
overridevirtual |
Get the error string.
status | The status to get the error string. |
实现了 apollo::drivers::canbus::CanClient.
在文件 socket_can_client_raw.cc 第 240 行定义.
|
overridevirtual |
Initialize the ESD CAN client by specified CAN card parameters.
parameter | CAN card parameters to initialize the CAN client. |
实现了 apollo::drivers::canbus::CanClient.
在文件 socket_can_client_raw.cc 第 39 行定义.
|
overridevirtual |
Receive messages
frames | The messages to receive. |
frame_num | The amount of messages to receive. |
实现了 apollo::drivers::canbus::CanClient.
在文件 socket_can_client_raw.cc 第 195 行定义.
|
overridevirtual |
Send messages
frames | The messages to send. |
frame_num | The amount of messages to send. |
实现了 apollo::drivers::canbus::CanClient.
在文件 socket_can_client_raw.cc 第 157 行定义.
|
overridevirtual |
Start the ESD CAN client.
实现了 apollo::drivers::canbus::CanClient.
在文件 socket_can_client_raw.cc 第 64 行定义.
|
overridevirtual |
Stop the ESD CAN client.
实现了 apollo::drivers::canbus::CanClient.
在文件 socket_can_client_raw.cc 第 143 行定义.