Public Types | Public Member Functions | List of all members
SRBridge Class Reference

#include <srbridge.h>

Inheritance diagram for SRBridge:
Inheritance graph
[legend]

Public Types

enum  { PRODUCT_CODE = 0 }
 

Public Member Functions

virtual void construct (EtherCAT_SlaveHandler *sh, int &start_address)
 
virtual void diagnostics (diagnostic_updater::DiagnosticStatusWrapper &d, unsigned char *buffer)
 
virtual int initialize (hardware_interface::HardwareInterface *hw, bool allow_unprogrammed)
 

Additional Inherited Members

- Protected Types inherited from SR0X
enum  {
  MODE_OFF = 0x00, MODE_ENABLE = (1 << 0), MODE_CURRENT = (1 << 1), MODE_SAFETY_RESET = (1 << 4),
  MODE_SAFETY_LOCKOUT = (1 << 5), MODE_UNDERVOLTAGE = (1 << 6), MODE_RESET = (1 << 7)
}
 
enum  { EC_PRODUCT_ID_BRIDGE = 0, EC_PRODUCT_ID_SHADOWCAN = 2, EC_PRODUCT_ID_DUALMOTOR = 3 }
 
- Protected Attributes inherited from SR0X
uint8_t board_major_
 
uint8_t board_minor_
 
int command_base_
 
int device_offset_
 
uint8_t fw_major_
 
uint8_t fw_minor_
 
int level_
 
string reason_
 
int status_base_
 

Detailed Description

Definition at line 28 of file srbridge.h.

Member Enumeration Documentation

anonymous enum
Enumerator
PRODUCT_CODE 

Definition at line 38 of file srbridge.h.

Member Function Documentation

void SRBridge::construct ( EtherCAT_SlaveHandler *  sh,
int &  start_address 
)
virtual

Definition at line 31 of file srbridge.cpp.

void SRBridge::diagnostics ( diagnostic_updater::DiagnosticStatusWrapper d,
unsigned char *  buffer 
)
virtual

Definition at line 70 of file srbridge.cpp.

int SRBridge::initialize ( hardware_interface::HardwareInterface *  hw,
bool  allow_unprogrammed 
)
virtual

Reimplemented from SR0X.

Definition at line 40 of file srbridge.cpp.


The documentation for this class was generated from the following files:


sr_edc_ethercat_drivers
Author(s): Ugo Cupcic, Yann Sionneau, Toni Oliver
autogenerated on Tue Oct 13 2020 04:02:02