Namespaces | |
| namespace | wg_util |
Classes | |
| struct | EepromStatusReg |
| struct | MbxDiagnostics |
| class | MotorHeatingModel |
| class | MotorHeatingModelCommon |
| struct | MotorHeatingModelParameters |
| struct | MotorHeatingModelParametersEepromConfig |
| struct | SyncMan |
| struct | SyncManActivate |
| struct | SyncManControl |
| struct | SyncManPDIControl |
| struct | SyncManStatus |
| struct | WG0XMbxCmd |
| struct | WG0XMbxHdr |
| struct | WG0XSpiEepromCmd |
| class | WGEeprom |
| class | WGMailbox |
| class | WGSoftProcessor |
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) |
| 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 ¤t, 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 |
Definition at line 55 of file wg_mailbox.cpp.
| struct ethercat_hardware::MotorHeatingModelParameters ethercat_hardware::__attribute__ | ( | (__packed__) | ) |
| 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.
| int ethercat_hardware::safe_clock_gettime | ( | clockid_t | clk_id, |
| timespec * | time | ||
| ) |
error checking wrapper around clock_gettime
| current | current time |
| current | start time |
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.
| usec | number 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.
| current | current time |
| current | start time |
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.
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.