Apollo 10.0
自动驾驶开放平台
apollo::drivers::canbus::TestCanParam结构体 参考
apollo::drivers::canbus::TestCanParam 的协作图:

Public 成员函数

 TestCanParam ()=default
 
void print ()
 

Public 属性

CANCardParameter conf
 
bool is_first_agent = false
 
int32_t recv_cnt = 0
 
int32_t recv_err_cnt = 0
 
int32_t send_cnt = 0
 
int32_t send_err_cnt = 0
 
int32_t send_lost_cnt = 0
 
int32_t send_time = 0
 
int32_t recv_time = 0
 
CanClientcan_client = nullptr
 

详细描述

在文件 can_client_tool.cc51 行定义.

构造及析构函数说明

◆ TestCanParam()

apollo::drivers::canbus::TestCanParam::TestCanParam ( )
default

成员函数说明

◆ print()

void apollo::drivers::canbus::TestCanParam::print ( )
inline

在文件 can_client_tool.cc65 行定义.

65 {
66 AINFO << "conf: " << conf.ShortDebugString()
67 << ", total send: " << send_cnt + send_err_cnt << "/"
68 << FLAGS_agent_mutual_send_frames << ", send_ok: " << send_cnt
69 << " , send_err_cnt: " << send_err_cnt
70 << ", send_lost_cnt: " << send_lost_cnt << ", recv_cnt: " << recv_cnt
71 << ", send_time: " << send_time << ", recv_time: " << recv_time;
72 }
#define AINFO
Definition log.h:42

类成员变量说明

◆ can_client

CanClient* apollo::drivers::canbus::TestCanParam::can_client = nullptr

在文件 can_client_tool.cc61 行定义.

◆ conf

CANCardParameter apollo::drivers::canbus::TestCanParam::conf

在文件 can_client_tool.cc52 行定义.

◆ is_first_agent

bool apollo::drivers::canbus::TestCanParam::is_first_agent = false

在文件 can_client_tool.cc53 行定义.

◆ recv_cnt

int32_t apollo::drivers::canbus::TestCanParam::recv_cnt = 0

在文件 can_client_tool.cc54 行定义.

◆ recv_err_cnt

int32_t apollo::drivers::canbus::TestCanParam::recv_err_cnt = 0

在文件 can_client_tool.cc55 行定义.

◆ recv_time

int32_t apollo::drivers::canbus::TestCanParam::recv_time = 0

在文件 can_client_tool.cc60 行定义.

◆ send_cnt

int32_t apollo::drivers::canbus::TestCanParam::send_cnt = 0

在文件 can_client_tool.cc56 行定义.

◆ send_err_cnt

int32_t apollo::drivers::canbus::TestCanParam::send_err_cnt = 0

在文件 can_client_tool.cc57 行定义.

◆ send_lost_cnt

int32_t apollo::drivers::canbus::TestCanParam::send_lost_cnt = 0

在文件 can_client_tool.cc58 行定义.

◆ send_time

int32_t apollo::drivers::canbus::TestCanParam::send_time = 0

在文件 can_client_tool.cc59 行定义.


该结构体的文档由以下文件生成: