|
Namespaces | |
datatypes | |
reporting | |
timing | |
Classes | |
class | Bus |
Brief description of class Bus. More... | |
class | BusErrorHandler |
Brief description of class BusErrorHandler. More... | |
class | BusIO |
Brief description of class BusIO. More... | |
class | ChangeStateRequest |
Brief description of class ChangeStateRequest. More... | |
class | DataInterface |
Brief description of class DataInterface. More... | |
class | DeviceInterface |
Brief description of class DeviceInterface. More... | |
struct | ESIData |
Holds ESI data that can be read from slaves via SII. More... | |
struct | ESIGeneral |
class | ESIHandler |
Brief description of class ESIHandler. More... | |
struct | ESIHeader |
class | ESIParser |
struct | ESIPDOEntry |
struct | ESIPDOObject |
struct | ESISyncMElement |
struct | EtherCATFrame |
The EtherCATFrame struct represents an EtherCAT frame according to the EtherCAT spec. More... | |
class | EtherCATFrameIterator |
The EtherCATFrameIterator class iterates over a set range of EtherCAT frames once. More... | |
struct | EtherCATFrameList |
The EtherCATFrameList struct holds a list of EtherCAT frames that can be scheduled in round-robin-style. More... | |
struct | EtherCATFrameMetaData |
The EtherCATFrameMetaData struct holds information about the structure of an EtherCAT frame. More... | |
struct | EtherCATPDU |
The EtherCATPDU struct represents an EtherCAT PDU according to the EtherCAT spec. More... | |
class | EtherCATState |
This class is a wrapper around an enum containing the different EtherCAT states. More... | |
class | LinearConvertedValue |
Brief description of class LinearConvertedValue. More... | |
class | ModularConvertedValue |
struct | PDUMetaData |
The PDUMetaData struct holds information about the structure of a PDU. More... | |
class | ReadStatesRequest |
Brief description of class ReadStatesRequest. More... | |
struct | RegisterDataList |
Brief description of struct RegisterDataList. More... | |
class | RegisterReadRequest |
Brief description of class RegisterReadRequest. More... | |
class | RegisterResetRequest |
Brief description of class RegisterResetRequest. More... | |
class | RequestBase |
Brief description of class RequestBase. More... | |
class | RequestQueue |
Brief description of class RequestQueue. More... | |
class | RTUnit |
Brief description of class RTUnit. More... | |
class | RTUtility |
The RTUtility class contains functions for improving the realtime capabilities of a thread or of the whole system. More... | |
struct | SDOIdentifier |
class | SDOUpdateRequest |
Brief description of class SDOUpdateRequest. More... | |
class | SlaveErrorRegistersDevice |
Brief description of class SlaveErrorRegistersDevice. More... | |
class | SlaveErrorRegistersSensorValue |
class | SlaveIdentifier |
The SlaveIdentifier class is a POD-type representing a unique set of values identifying an EtherCAT slave. More... | |
class | SlaveInterface |
Brief description of class SlaveInterface. More... | |
class | SlaveInterfaceWithIO |
class | SlaveRegisterReadingScheduler |
Brief description of class SlaveRegisterReadingScheduler. More... | |
struct | Timeouts |
Typedefs | |
using | ESIFMMU = std::vector< std::uint8_t > |
using | ESIRxPDO = std::vector< ESIPDOObject > |
using | ESIStrings = std::vector< std::string > |
using | ESISyncM = std::vector< ESISyncMElement > |
using | ESITxPDO = std::vector< ESIPDOObject > |
using | Reporting = reporting::Reporting |
using | ReportingEntry = reporting::Entry |
using | ReportingType = reporting::Type |
using | SlaveErrorRegistersDevicePtr = std::shared_ptr< SlaveErrorRegistersDevice > |
using | SlaveList = std::vector< SlaveInterface * > |
Enumerations | |
enum | BusFunctionalState { Running, Reinitializing, EmergencyStop, Shutdown } |
enum | MailboxProtocols { AOE = 0x1, EOE = 0x2, COE = 0x4, FOE = 0x8, SOE = 0x10, VOE = 0x20 } |
enum | PDOValidity { None, OnlyInputs, Both } |
Functions | |
struct armarx::control::ethercat::EtherCATPDU | __attribute__ ((packed)) |
template<typename Device > | |
std::shared_ptr< DeviceInterface > | createDevice (hardware_config::DeviceConfig &config, const VirtualRobot::RobotPtr &robot) |
template<typename Slave > | |
std::unique_ptr< armarx::control::ethercat::SlaveInterface > | createSlave (const SlaveIdentifier &sid) |
std::int16_t | get16 (const std::vector< std::byte > &esiBinary, std::uint16_t address) |
std::size_t | getRegisterByteLength (datatypes::RegisterEnum reg) |
Get the length of a register in bytes, rounded up. More... | |
std::uint16_t | getU16 (const std::vector< std::byte > &esiBinary, std::uint16_t address) |
std::uint16_t | getU16W (const std::vector< std::byte > &esiBinary, std::uint16_t wordAddress) |
std::uint32_t | getU32 (const std::vector< std::byte > &esiBinary, std::uint16_t address) |
std::uint32_t | getU32W (const std::vector< std::byte > &esiBinary, std::uint16_t wordAddress) |
std::uint8_t | getU8 (const std::vector< std::byte > &esiBinary, std::uint16_t address) |
template<typename SlaveI , typename Slave > | |
DeviceInterface::TryAssignResult | tryAssignUsingSerialNo (SlaveI &slave, Slave *&concreteSlave, std::uint32_t serialNo) |
TYPEDEF_PTRS_SHARED (SlaveErrorRegistersDevice) | |
Variables | |
struct armarx::control::ethercat::PDUMetaData | __attribute__ |
constexpr std::uint16_t | ESI_Header_EndAdress = 0x0040 |
constexpr std::uint16_t | ESI_Header_StartAdress = 0x0000 |
Copied from https://gitlab.com/h2t/student-projects/pse-ws2021/etherkitten/-/tree/master/reader/src/etherkitten/reader
!!! Needs correct license message!!!! !!!
using ESIRxPDO = std::vector<ESIPDOObject> |
using ESIStrings = std::vector<std::string> |
using ESISyncM = std::vector<ESISyncMElement> |
using ESITxPDO = std::vector<ESIPDOObject> |
using Reporting = reporting::Reporting |
Definition at line 236 of file ErrorReporting.h.
using ReportingEntry = reporting::Entry |
Definition at line 234 of file ErrorReporting.h.
using ReportingType = reporting::Type |
Definition at line 235 of file ErrorReporting.h.
using SlaveErrorRegistersDevicePtr = std::shared_ptr<SlaveErrorRegistersDevice> |
Definition at line 19 of file SlaveInterface.h.
using SlaveList = std::vector<SlaveInterface*> |
Definition at line 36 of file BusErrorHandler.h.
|
strong |
|
strong |
|
strong |
struct armarx::control::ethercat::EtherCATPDU armarx::control::ethercat::__attribute__ | ( | (packed) | ) |
std::shared_ptr<DeviceInterface> armarx::control::ethercat::createDevice | ( | hardware_config::DeviceConfig & | config, |
const VirtualRobot::RobotPtr & | robot | ||
) |
Definition at line 140 of file DeviceInterface.h.
std::unique_ptr<armarx::control::ethercat::SlaveInterface> armarx::control::ethercat::createSlave | ( | const SlaveIdentifier & | sid | ) |
std::int16_t armarx::control::ethercat::get16 | ( | const std::vector< std::byte > & | esiBinary, |
std::uint16_t | address | ||
) |
std::size_t getRegisterByteLength | ( | datatypes::RegisterEnum | reg | ) |
Get the length of a register in bytes, rounded up.
reg | the register to get the length of |
Definition at line 6 of file SlaveRegisters.cpp.
std::uint16_t armarx::control::ethercat::getU16 | ( | const std::vector< std::byte > & | esiBinary, |
std::uint16_t | address | ||
) |
std::uint16_t armarx::control::ethercat::getU16W | ( | const std::vector< std::byte > & | esiBinary, |
std::uint16_t | wordAddress | ||
) |
std::uint32_t armarx::control::ethercat::getU32 | ( | const std::vector< std::byte > & | esiBinary, |
std::uint16_t | address | ||
) |
std::uint32_t armarx::control::ethercat::getU32W | ( | const std::vector< std::byte > & | esiBinary, |
std::uint16_t | wordAddress | ||
) |
std::uint8_t armarx::control::ethercat::getU8 | ( | const std::vector< std::byte > & | esiBinary, |
std::uint16_t | address | ||
) |
DeviceInterface::TryAssignResult armarx::control::ethercat::tryAssignUsingSerialNo | ( | SlaveI & | slave, |
Slave *& | concreteSlave, | ||
std::uint32_t | serialNo | ||
) |
armarx::control::ethercat::TYPEDEF_PTRS_SHARED | ( | SlaveErrorRegistersDevice | ) |
struct armarx::control::ethercat::PDUMetaData __attribute__ |
|
constexpr |