Apollo
6.0
Open source self driving car software
|
apollo::drivers::canbus More...
Namespaces | |
can | |
apollo::drivers::canbus::can | |
Classes | |
class | Byte |
The class of one byte, which is 8 bits. It includes some operations on one byte. More... | |
class | CanClient |
The class which defines the CAN client to send and receive message. More... | |
class | CanClientFactory |
CanClientFactory inherites apollo::common::util::Factory. More... | |
class | CanFrame |
The class which defines the information to send and receive. More... | |
class | CanReceiver |
CAN receiver. More... | |
class | CanSender |
CAN sender. More... | |
struct | CheckIdArg |
this struct include data for check ids. More... | |
class | MessageManager |
message manager manages protocols. It supports parse and can get protocol data by message id. More... | |
class | ProtocolData |
This is the base class of protocol data. More... | |
class | SenderMessage |
This class defines the message to send. More... | |
Typedefs | |
using | micros = std::chrono::microseconds |
Variables | |
const int | CAN_RESULT_SUCC = 0 |
const int | CAN_ERROR_BASE = 2000 |
const int | CAN_ERROR_OPEN_DEVICE_FAILED = CAN_ERROR_BASE + 1 |
const int | CAN_ERROR_FRAME_NUM = CAN_ERROR_BASE + 2 |
const int | CAN_ERROR_SEND_FAILED = CAN_ERROR_BASE + 3 |
const int | CAN_ERROR_RECV_FAILED = CAN_ERROR_BASE + 4 |
const uint32_t | kSenderInterval = 6000 |
const int32_t | CAN_FRAME_SIZE = 8 |
const int32_t | MAX_CAN_SEND_FRAME_LEN = 1 |
const int32_t | MAX_CAN_RECV_FRAME_LEN = 10 |
const int32_t | CANBUS_MESSAGE_LENGTH = 8 |
using apollo::drivers::canbus::micros = typedef std::chrono::microseconds |
const int apollo::drivers::canbus::CAN_ERROR_BASE = 2000 |
const int apollo::drivers::canbus::CAN_ERROR_FRAME_NUM = CAN_ERROR_BASE + 2 |
const int apollo::drivers::canbus::CAN_ERROR_OPEN_DEVICE_FAILED = CAN_ERROR_BASE + 1 |
const int apollo::drivers::canbus::CAN_ERROR_RECV_FAILED = CAN_ERROR_BASE + 4 |
const int apollo::drivers::canbus::CAN_ERROR_SEND_FAILED = CAN_ERROR_BASE + 3 |
const int32_t apollo::drivers::canbus::CAN_FRAME_SIZE = 8 |
const int apollo::drivers::canbus::CAN_RESULT_SUCC = 0 |
const int32_t apollo::drivers::canbus::CANBUS_MESSAGE_LENGTH = 8 |
const uint32_t apollo::drivers::canbus::kSenderInterval = 6000 |
const int32_t apollo::drivers::canbus::MAX_CAN_RECV_FRAME_LEN = 10 |
const int32_t apollo::drivers::canbus::MAX_CAN_SEND_FRAME_LEN = 1 |