Apollo  6.0
Open source self driving car software
Classes | Namespaces | Variables
can_client.h File Reference

Defines the CanFrame struct and CanClient interface. More...

#include <cstdint>
#include <cstring>
#include <sstream>
#include <string>
#include <vector>
#include "modules/common/proto/error_code.pb.h"
#include "modules/drivers/canbus/proto/can_card_parameter.pb.h"
#include "cyber/common/log.h"
#include "modules/drivers/canbus/common/byte.h"
Include dependency graph for can_client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 apollo::drivers::canbus
 apollo::drivers::canbus
 
 apollo
 PlanningContext is the runtime context in planning. It is persistent across multiple frames.
 
 apollo::drivers
 apollo::drivers
 

Variables

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
 

Detailed Description

Defines the CanFrame struct and CanClient interface.