Apollo 10.0
自动驾驶开放平台
can_client.h 文件参考

Defines the CanFrame struct and CanClient interface. 更多...

#include <cstdint>
#include <cstring>
#include <sstream>
#include <string>
#include <vector>
#include "modules/common_msgs/basic_msgs/error_code.pb.h"
#include "modules/common_msgs/drivers_msgs/can_card_parameter.pb.h"
#include "cyber/common/log.h"
#include "modules/drivers/canbus/common/byte.h"
can_client.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  apollo::drivers::canbus::CanFrame
 The class which defines the information to send and receive. 更多...
 
class  apollo::drivers::canbus::CanClient
 The class which defines the CAN client to send and receive message. 更多...
 

命名空间

namespace  apollo::drivers::canbus
 apollo::drivers::canbus
 
namespace  apollo
 class register implement
 
namespace  apollo::drivers
 apollo::drivers
 

变量

const int apollo::drivers::canbus::CAN_RESULT_SUCC = 0
 
const int apollo::drivers::canbus::CAN_ERROR_BASE = 2000
 
const int apollo::drivers::canbus::CAN_ERROR_OPEN_DEVICE_FAILED = CAN_ERROR_BASE + 1
 
const int apollo::drivers::canbus::CAN_ERROR_FRAME_NUM = CAN_ERROR_BASE + 2
 
const int apollo::drivers::canbus::CAN_ERROR_SEND_FAILED = CAN_ERROR_BASE + 3
 
const int apollo::drivers::canbus::CAN_ERROR_RECV_FAILED = CAN_ERROR_BASE + 4
 

详细描述

Defines the CanFrame struct and CanClient interface.

在文件 can_client.h 中定义.