Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
ethercat_hardware Namespace Reference

Namespaces

namespace  msg
namespace  srv
namespace  wg_util

Classes

struct  ActuatorInfo_
struct  BoardInfo_
struct  EepromStatusReg
struct  MbxDiagnostics
class  MotorHeatingModel
class  MotorHeatingModelCommon
struct  MotorHeatingModelParameters
struct  MotorHeatingModelParametersEepromConfig
struct  MotorTemperature_
struct  MotorTrace_
struct  MotorTraceSample_
struct  RawFTData_
struct  RawFTDataSample_
struct  SoftProcessorFirmwareRead
struct  SoftProcessorFirmwareReadRequest_
struct  SoftProcessorFirmwareReadResponse_
struct  SoftProcessorFirmwareWrite
struct  SoftProcessorFirmwareWriteRequest_
struct  SoftProcessorFirmwareWriteResponse_
struct  SoftProcessorReset
struct  SoftProcessorResetRequest_
struct  SoftProcessorResetResponse_
struct  SyncMan
struct  SyncManActivate
struct  SyncManControl
struct  SyncManPDIControl
struct  SyncManStatus
struct  WG0XMbxCmd
struct  WG0XMbxHdr
struct  WG0XSpiEepromCmd
class  WGEeprom
class  WGMailbox
class  WGSoftProcessor

Typedefs

typedef
::ethercat_hardware::ActuatorInfo_
< std::allocator< void > > 
ActuatorInfo
typedef boost::shared_ptr
< ::ethercat_hardware::ActuatorInfo
const > 
ActuatorInfoConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::ActuatorInfo
ActuatorInfoPtr
typedef
::ethercat_hardware::BoardInfo_
< std::allocator< void > > 
BoardInfo
typedef boost::shared_ptr
< ::ethercat_hardware::BoardInfo
const > 
BoardInfoConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::BoardInfo
BoardInfoPtr
typedef
::ethercat_hardware::MotorTemperature_
< std::allocator< void > > 
MotorTemperature
typedef boost::shared_ptr
< ::ethercat_hardware::MotorTemperature
const > 
MotorTemperatureConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::MotorTemperature
MotorTemperaturePtr
typedef
::ethercat_hardware::MotorTrace_
< std::allocator< void > > 
MotorTrace
typedef boost::shared_ptr
< ::ethercat_hardware::MotorTrace
const > 
MotorTraceConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::MotorTrace
MotorTracePtr
typedef
::ethercat_hardware::MotorTraceSample_
< std::allocator< void > > 
MotorTraceSample
typedef boost::shared_ptr
< ::ethercat_hardware::MotorTraceSample
const > 
MotorTraceSampleConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::MotorTraceSample
MotorTraceSamplePtr
typedef
::ethercat_hardware::RawFTData_
< std::allocator< void > > 
RawFTData
typedef boost::shared_ptr
< ::ethercat_hardware::RawFTData
const > 
RawFTDataConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::RawFTData
RawFTDataPtr
typedef
::ethercat_hardware::RawFTDataSample_
< std::allocator< void > > 
RawFTDataSample
typedef boost::shared_ptr
< ::ethercat_hardware::RawFTDataSample
const > 
RawFTDataSampleConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::RawFTDataSample
RawFTDataSamplePtr
typedef
::ethercat_hardware::SoftProcessorFirmwareReadRequest_
< std::allocator< void > > 
SoftProcessorFirmwareReadRequest
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareReadRequest
const > 
SoftProcessorFirmwareReadRequestConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareReadRequest
SoftProcessorFirmwareReadRequestPtr
typedef
::ethercat_hardware::SoftProcessorFirmwareReadResponse_
< std::allocator< void > > 
SoftProcessorFirmwareReadResponse
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareReadResponse
const > 
SoftProcessorFirmwareReadResponseConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareReadResponse
SoftProcessorFirmwareReadResponsePtr
typedef
::ethercat_hardware::SoftProcessorFirmwareWriteRequest_
< std::allocator< void > > 
SoftProcessorFirmwareWriteRequest
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareWriteRequest
const > 
SoftProcessorFirmwareWriteRequestConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareWriteRequest
SoftProcessorFirmwareWriteRequestPtr
typedef
::ethercat_hardware::SoftProcessorFirmwareWriteResponse_
< std::allocator< void > > 
SoftProcessorFirmwareWriteResponse
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareWriteResponse
const > 
SoftProcessorFirmwareWriteResponseConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorFirmwareWriteResponse
SoftProcessorFirmwareWriteResponsePtr
typedef
::ethercat_hardware::SoftProcessorResetRequest_
< std::allocator< void > > 
SoftProcessorResetRequest
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorResetRequest
const > 
SoftProcessorResetRequestConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorResetRequest
SoftProcessorResetRequestPtr
typedef
::ethercat_hardware::SoftProcessorResetResponse_
< std::allocator< void > > 
SoftProcessorResetResponse
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorResetResponse
const > 
SoftProcessorResetResponseConstPtr
typedef boost::shared_ptr
< ::ethercat_hardware::SoftProcessorResetResponse
SoftProcessorResetResponsePtr

Enumerations

enum  MbxCmdType { LOCAL_BUS_READ = 1, LOCAL_BUS_WRITE = 2 }

Functions

struct
ethercat_hardware::MotorHeatingModelParameters 
__attribute__ ((__packed__))
static bool getDoubleAttribute (TiXmlElement *elt, const std::string &filename, const char *param_name, double &value)
static bool getIntegerAttribute (TiXmlElement *elt, const std::string &filename, const char *param_name, int &value)
static bool getStringAttribute (TiXmlElement *elt, const std::string &filename, const char *param_name, std::string &value)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::RawFTDataSample_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::RawFTData_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::MotorTemperature_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::MotorTrace_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::ActuatorInfo_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::BoardInfo_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::ethercat_hardware::MotorTraceSample_< ContainerAllocator > &v)
int safe_clock_gettime (clockid_t clk_id, timespec *time)
 error checking wrapper around clock_gettime
void safe_usleep (uint32_t usec)
 safe version of usleep.
static void saturateTemperature (double &temperature, const char *name)
int timediff_ms (const timespec &current, const timespec &start)
 Find difference between two timespec values.
void updateIndexAndWkc (EC_Telegram *tg, EC_Logic *logic)

Variables

ethercat_hardware::MotorHeatingModelCommon __attribute__
static const int DEBUG_LEVEL = 0
static const unsigned MBX_DATA_SIZE = (MBX_SIZE - sizeof(WG0XMbxHdr) - 1)
static const unsigned MBX_SIZE = 512

Typedef Documentation

Definition at line 92 of file ActuatorInfo.h.

Definition at line 95 of file ActuatorInfo.h.

Definition at line 94 of file ActuatorInfo.h.

Definition at line 92 of file BoardInfo.h.

Definition at line 95 of file BoardInfo.h.

Definition at line 94 of file BoardInfo.h.

Definition at line 62 of file MotorTemperature.h.

Definition at line 65 of file MotorTemperature.h.

Definition at line 64 of file MotorTemperature.h.

Definition at line 66 of file MotorTrace.h.

Definition at line 69 of file MotorTrace.h.

Definition at line 68 of file MotorTrace.h.

Definition at line 122 of file MotorTraceSample.h.

Definition at line 125 of file MotorTraceSample.h.

Definition at line 124 of file MotorTraceSample.h.

Definition at line 53 of file RawFTData.h.

Definition at line 56 of file RawFTData.h.

Definition at line 55 of file RawFTData.h.

Definition at line 52 of file RawFTDataSample.h.

Definition at line 55 of file RawFTDataSample.h.

Definition at line 54 of file RawFTDataSample.h.

Definition at line 51 of file SoftProcessorFirmwareRead.h.

Definition at line 54 of file SoftProcessorFirmwareRead.h.

Definition at line 53 of file SoftProcessorFirmwareRead.h.

Definition at line 90 of file SoftProcessorFirmwareRead.h.

Definition at line 93 of file SoftProcessorFirmwareRead.h.

Definition at line 92 of file SoftProcessorFirmwareRead.h.

Definition at line 56 of file SoftProcessorFirmwareWrite.h.

Definition at line 59 of file SoftProcessorFirmwareWrite.h.

Definition at line 58 of file SoftProcessorFirmwareWrite.h.

Definition at line 90 of file SoftProcessorFirmwareWrite.h.

Definition at line 93 of file SoftProcessorFirmwareWrite.h.

Definition at line 92 of file SoftProcessorFirmwareWrite.h.

Definition at line 51 of file SoftProcessorReset.h.

Definition at line 54 of file SoftProcessorReset.h.

Definition at line 53 of file SoftProcessorReset.h.

Definition at line 85 of file SoftProcessorReset.h.

Definition at line 88 of file SoftProcessorReset.h.

Definition at line 87 of file SoftProcessorReset.h.


Enumeration Type Documentation

Enumerator:
LOCAL_BUS_READ 
LOCAL_BUS_WRITE 

Definition at line 55 of file wg_mailbox.cpp.


Function Documentation

static bool ethercat_hardware::getDoubleAttribute ( TiXmlElement *  elt,
const std::string &  filename,
const char *  param_name,
double &  value 
) [static]

Definition at line 491 of file motor_heating_model.cpp.

static bool ethercat_hardware::getIntegerAttribute ( TiXmlElement *  elt,
const std::string &  filename,
const char *  param_name,
int &  value 
) [static]

Definition at line 513 of file motor_heating_model.cpp.

static bool ethercat_hardware::getStringAttribute ( TiXmlElement *  elt,
const std::string &  filename,
const char *  param_name,
std::string &  value 
) [static]

Definition at line 478 of file motor_heating_model.cpp.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::RawFTDataSample_< ContainerAllocator > &  v 
)

Definition at line 59 of file RawFTDataSample.h.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::RawFTData_< ContainerAllocator > &  v 
)

Definition at line 60 of file RawFTData.h.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::MotorTemperature_< ContainerAllocator > &  v 
)

Definition at line 69 of file MotorTemperature.h.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::MotorTrace_< ContainerAllocator > &  v 
)

Definition at line 73 of file MotorTrace.h.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::ActuatorInfo_< ContainerAllocator > &  v 
)

Definition at line 99 of file ActuatorInfo.h.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::BoardInfo_< ContainerAllocator > &  v 
)

Definition at line 99 of file BoardInfo.h.

template<typename ContainerAllocator >
std::ostream& ethercat_hardware::operator<< ( std::ostream &  s,
const ::ethercat_hardware::MotorTraceSample_< ContainerAllocator > &  v 
)

Definition at line 129 of file MotorTraceSample.h.

int ethercat_hardware::safe_clock_gettime ( clockid_t  clk_id,
timespec *  time 
)

error checking wrapper around clock_gettime

Parameters:
currentcurrent time
currentstart time
Returns:
returns 0 for success, non-zero for failure

Definition at line 180 of file wg_mailbox.cpp.

void ethercat_hardware::safe_usleep ( uint32_t  usec)

safe version of usleep.

Uses nanosleep internally. Will restart sleep after begin woken by signal.

Parameters:
usecnumber of microseconds to sleep for. Must be < 1000000.

Definition at line 199 of file wg_mailbox.cpp.

static void ethercat_hardware::saturateTemperature ( double &  temperature,
const char *  name 
) [static]

Definition at line 535 of file motor_heating_model.cpp.

int ethercat_hardware::timediff_ms ( const timespec &  current,
const timespec &  start 
)

Find difference between two timespec values.

Parameters:
currentcurrent time
currentstart time
Returns:
returns time difference (current-start) in milliseconds

Definition at line 165 of file wg_mailbox.cpp.

void ethercat_hardware::updateIndexAndWkc ( EC_Telegram *  tg,
EC_Logic *  logic 
)

Definition at line 221 of file wg_mailbox.cpp.


Variable Documentation

const int ethercat_hardware::DEBUG_LEVEL = 0 [static]

Definition at line 55 of file motor_heating_model.cpp.

const unsigned ethercat_hardware::MBX_DATA_SIZE = (MBX_SIZE - sizeof(WG0XMbxHdr) - 1) [static]

Definition at line 77 of file wg_mailbox.cpp.

const unsigned ethercat_hardware::MBX_SIZE = 512 [static]

Definition at line 76 of file wg_mailbox.cpp.



ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Thu Apr 24 2014 15:43:45