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

Classes

struct  DEVICE_CONFIG_t
struct  TRAJECTORY_CONFIG_t
struct  EC_CONFIG_t

Public Types

typedef struct EcUtils::DEVICE_CONFIG_t DEVICE_CONFIG
typedef struct EcUtils::TRAJECTORY_CONFIG_t TRAJECTORY_CONFIG_t
typedef struct EcUtils::EC_CONFIG_t EC_CONFIG
typedef std::shared_ptr< EcUtils > Ptr

Public Member Functions

 EcUtils (EC_CONFIG ec_cfg)
EC_CONFIG get_ec_cfg ()
std::string get_ec_cfg_file ()
EcIface::Ptr make_ec_iface ()

Private Member Functions

void compute_absolute_path (std::string dir_path, std::string &file_path)
void generate_fake_slave_info ()
void device_config_map (const YAML::Node &device_config_node, std::string device_type)
void config_trajectory ()
void config_device ()
void trajectory_generator ()

Private Attributes

std::string _control_mode
EC_CONFIG _ec_cfg
std::string _ec_cfg_file
std::vector< std::string > _device_type_vector ={"motor","valve","pump","gripper","imu"}
std::vector< std::string > _robot_path_v ={"robot_id_map_path","robot_control_path"}
std::vector< std::string > _robot_abs_path ={"",""}
YAML::Node _robot_id_map_node
YAML::Node _robot_control_node

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