EtherCAT Client Library Code 0.0.1
EtherCAT Client library that uses different communication protocols with EtherCAT Master server.
Loading...
Searching...
No Matches
EcWrapper Class Reference
Collaboration diagram for EcWrapper:
Collaboration graph

Public Member Functions

EcUtils::EC_CONFIG retrieve_ec_cfg ()
void create_ec (EcIface::Ptr &client, EcUtils::EC_CONFIG &ec_cfg)
void set_start_devices (std::vector< int > start_devices_vector)
bool start_ec_sys (void)
void stop_ec_sys (void)
void log_ec_sys (void)
template<typename T>
void read_sdo (const int32_t esc_id, const std::vector< std::string > &sdo_name, std::vector< T > &sdo_read)
template<typename T>
void write_sdo (const int32_t esc_id, const std::vector< std::string > &sdo_name, const std::vector< T > &sdo_write)
std::shared_ptr< EcUtils > get_ec_utils ()
void ec_self_sched (std::string_view thread_name="Thread")

Private Member Functions

void autodetection (void)
void find_devices ()
void prepare_devices ()
bool start_devices (void)
void stop_devices (void)
void read_devices_status ()
bool safe_init ()
void get_limits (const int32_t esc_id, const std::string device_type, int ctrl_mode, std::vector< double > &actual_limit)

Private Attributes

EcUtils::EC_CONFIG _ec_cfg
EcUtils::Ptr _ec_utils
EcIface::Ptr _client
EcLogger::Ptr _ec_logger
DST _start_devices = {}
PAC _release_brake_cmds = {}
PAC _engage_brake_cmds = {}
SSI _slave_info
std::vector< int > _start_devices_vector
bool _ec_sys_started =false

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