APM:Libraries
Classes | Namespaces | Macros | Enumerations
CAN.h File Reference
#include "AP_HAL_Linux.h"
#include <AP_HAL/CAN.h>
#include <linux/can.h>
#include <string>
#include <queue>
#include <memory>
#include <map>
#include <unordered_set>
#include <poll.h>
Include dependency graph for CAN.h:

Go to the source code of this file.

Classes

class  Linux::CAN
 
struct  Linux::CAN::TxItem
 
struct  Linux::CAN::RxItem
 
class  Linux::CANManager
 
class  Linux::CANManager::IfaceWrapper
 

Namespaces

 Linux
 

Macros

#define CAN_MAX_POLL_ITERATIONS_COUNT   100
 
#define CAN_MAX_INIT_TRIES_COUNT   100
 
#define CAN_FILTER_NUMBER   8
 

Enumerations

enum  Linux::SocketCanError { Linux::SocketCanError::SocketReadFailure, Linux::SocketCanError::SocketWriteFailure, Linux::SocketCanError::TxTimeout }
 

Macro Definition Documentation

◆ CAN_FILTER_NUMBER

#define CAN_FILTER_NUMBER   8

Definition at line 52 of file CAN.h.

◆ CAN_MAX_INIT_TRIES_COUNT

#define CAN_MAX_INIT_TRIES_COUNT   100

Definition at line 51 of file CAN.h.

◆ CAN_MAX_POLL_ITERATIONS_COUNT

#define CAN_MAX_POLL_ITERATIONS_COUNT   100

Definition at line 50 of file CAN.h.