#include <sr0x.h>
Public Member Functions | |
virtual int | initialize (hardware_interface::HardwareInterface *hw, bool allow_unprogrammed=true) |
Protected Types | |
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 | |
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_ |
anonymous enum [protected] |
anonymous enum [protected] |
int SR0X::initialize | ( | hardware_interface::HardwareInterface * | hw, |
bool | allow_unprogrammed = true |
||
) | [virtual] |
Reimplemented from EthercatDevice.
Reimplemented in SR06, SR08, SrEdcMuscle, and SRBridge.
uint8_t SR0X::board_major_ [protected] |
uint8_t SR0X::board_minor_ [protected] |
int SR0X::command_base_ [protected] |
int SR0X::device_offset_ [protected] |
uint8_t SR0X::fw_major_ [protected] |
uint8_t SR0X::fw_minor_ [protected] |
int SR0X::level_ [protected] |
string SR0X::reason_ [protected] |
int SR0X::status_base_ [protected] |