Classes | Functions | Variables
ethercat_device.h File Reference
#include <vector>
#include <ethercat/ethercat_defs.h>
#include <al/ethercat_slave_handler.h>
#include <pr2_hardware_interface/hardware_interface.h>
#include <diagnostic_updater/DiagnosticStatusWrapper.h>
#include <diagnostic_msgs/DiagnosticArray.h>
#include <ethercat_hardware/ethercat_com.h>
#include <pluginlib/class_list_macros.h>
Include dependency graph for ethercat_device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  et1x00_dl_status
 
struct  et1x00_error_counters
 
class  EthercatDevice
 
struct  EthercatDeviceDiagnostics
 
struct  EthercatPortDiagnostics
 

Functions

struct et1x00_error_counters __attribute__ ((__packed__))
 
bool hasCommunication (unsigned port)
 
bool hasLink (unsigned port)
 
bool isClosed (unsigned port)
 
bool isGreaterThan (unsigned value) const
 
bool isGreaterThan (const et1x00_error_counters &value) const
 
void zero ()
 

Variables

struct EthercatPortDiagnostics __attribute__
 
static const EC_UINT BASE_ADDR =0x300
 
uint8_t epu_error
 
uint8_t forwarded_rx_error [4]
 
uint8_t invalid_frame
 
uint8_t lost_link [4]
 
uint8_t pdi_error
 
uint8_t res [2]
 
uint8_t rx_error
 
uint16_t status
 

Function Documentation

◆ __attribute__()

struct et1x00_error_counters __attribute__ ( (__packed__)  )

◆ hasCommunication()

bool __attribute__::hasCommunication ( unsigned  port)

◆ hasLink()

bool __attribute__::hasLink ( unsigned  port)

◆ isClosed()

bool __attribute__::isClosed ( unsigned  port)

◆ isGreaterThan() [1/2]

bool __attribute__::isGreaterThan ( unsigned  value) const

◆ isGreaterThan() [2/2]

bool __attribute__::isGreaterThan ( const et1x00_error_counters value) const

◆ zero()

void __attribute__::zero ( )

Variable Documentation

◆ __attribute__

struct { ... } __attribute__

◆ BASE_ADDR

static const EC_UINT BASE_ADDR =0x300
static

Definition at line 102 of file ethercat_device.h.

◆ epu_error

uint8_t epu_error

Definition at line 98 of file ethercat_device.h.

◆ forwarded_rx_error

uint8_t forwarded_rx_error[4]

Definition at line 97 of file ethercat_device.h.

◆ invalid_frame

uint8_t invalid_frame

Definition at line 93 of file ethercat_device.h.

◆ lost_link

uint8_t lost_link[4]

Definition at line 101 of file ethercat_device.h.

◆ pdi_error

uint8_t pdi_error

Definition at line 99 of file ethercat_device.h.

◆ res

uint8_t res[2]

Definition at line 100 of file ethercat_device.h.

◆ rx_error

uint8_t rx_error

Definition at line 94 of file ethercat_device.h.

◆ status

SyncManStatus status

Definition at line 93 of file ethercat_device.h.



ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Tue Mar 28 2023 02:10:20