|
EtherCAT Client Library Code 0.0.1
EtherCAT Client library that uses different communication protocols with EtherCAT Master server.
|
The ReplServer class. More...
#include <ec_udp.h>


Public Member Functions | |
| EcUDP (std::string host_address, uint32_t host_port) | |
| void | start_client (uint32_t period_ms) final |
| void | stop_client () final |
| void | set_loop_time (uint32_t period_ms) final |
| void | write () final |
| void | receive_error (std::error_code ec) |
| void | periodicActivity () |
| Public Member Functions inherited from EcBoostCmd | |
| bool | start_devices (const DST &) final |
| bool | stop_devices () final |
| bool | pdo_aux_cmd (const PAC &pac) final |
| bool | retrieve_slaves_info (SSI &slave_info) final |
| bool | retrieve_all_sdo (uint32_t esc_id, RR_SDOS &rr_sdo) final |
| bool | retrieve_rr_sdo (uint32_t esc_id, const RD_SDO &rd_sdo, const WR_SDO &wr_sdo, RR_SDOS &rr_sdo) final |
| bool | set_wr_sdo (uint32_t esc_id, const RD_SDO &rd_sdo, const WR_SDO &wr_sdo) final |
| void | send_pdo () |
| Public Member Functions inherited from EcBoost | |
| EcBoost (std::string task_name, std::string host_address, uint32_t host_port) | |
| Public Member Functions inherited from EcIface | |
| CLIENT_STATUS | get_client_status (void) |
| CLIENT_THREAD_INFO | get_client_thread_info () |
| virtual void | read (void) |
| void | get_motor_status (MotorStatusMap &motor_status_map) |
| void | get_ft_status (FtStatusMap &ft_status_map) |
| void | get_pow_status (PwrStatusMap &pow_status_map) |
| void | get_imu_status (ImuStatusMap &imu_status_map) |
| void | get_valve_status (ValveStatusMap &valve_status_map) |
| void | get_pump_status (PumpStatusMap &pump_status_map) |
| void | get_gripper_status (GripperStatusMap &gripper_status_map) |
| bool | pdo_aux_cmd_sts (const PAC &pac) |
| void | set_reference_flag (uint32_t reference_flag) |
| void | set_motor_reference (const MotorReferenceMap &motor_reference_map) |
| void | set_valve_reference (const ValveReferenceMap &valve_reference_map) |
| void | set_pump_reference (const PumpReferenceMap &pump_reference_map) |
| void | set_gripper_reference (const GripperReferenceMap &gripper_reference_map) |
| void | set_imu_reference (const ImuReferenceMap &imu_reference_map) |
| void | set_pow_reference (const PwrReferenceMap &pow_reference_map) |
| void | stop_esc_reference () |
| void | set_slaves_info (SSI slave_info) |
| Public Member Functions inherited from EcBoostPdo | |
| void | esc_factory (SSI slave_descr) |
Private Attributes | |
| std::chrono::steady_clock::time_point | _client_alive_time |
| std::shared_ptr< std::thread > | _ec_udp_thread |
| std::vector< MR > | _mot_ref_tv |
Additional Inherited Members | |
| Public Types inherited from EcIface | |
| typedef std::shared_ptr< EcIface > | Ptr |
| typedef struct EcIface::CLIENT_STATUS_t | CLIENT_STATUS |
| typedef struct EcIface::CLIENT_THREAD_INFO_t | CLIENT_THREAD_INFO |
| Protected Member Functions inherited from EcBoostCmd | |
| void | connect () |
| void | disconnect () |
| void | quit_server () |
| void | ping (bool test) |
| Protected Member Functions inherited from EcIface | |
| void | sync_client_thread () |
| void | wake_client_thread () |
| bool | updt_client_thread () |
| void | init_client_buffer () |
| Protected Attributes inherited from EcBoostCmd | |
| std::chrono::duration< int, std::milli > | _server_alive_check_ms |
| Protected Attributes inherited from EcBoost | |
| uint32_t | _client_port |
| Protected Attributes inherited from EcIface | |
| std::shared_ptr< spdlog::logger > | _consoleLog |
| CLIENT_STATUS | _client_status |
| CLIENT_THREAD_INFO | _client_thread_info |
| SSI | _fake_slave_info |
| MotorStatusMap | _motor_status_map |
| MotorStatus | _internal_motor_status |
| SpscValue< MotorStatus > | _motor_status_buffer |
| FtStatusMap | _ft_status_map |
| FtStatus | _internal_ft_status |
| SpscValue< FtStatus > | _ft_status_buffer |
| PwrStatusMap | _pow_status_map |
| PwrStatus | _internal_pow_status |
| SpscValue< PwrStatus > | _pow_status_buffer |
| ImuStatusMap | _imu_status_map |
| ImuStatus | _internal_imu_status |
| SpscValue< ImuStatus > | _imu_status_buffer |
| ValveStatusMap | _valve_status_map |
| ValveStatus | _internal_valve_status |
| SpscValue< ValveStatus > | _valve_status_buffer |
| PumpStatusMap | _pump_status_map |
| PumpStatus | _internal_pump_status |
| SpscValue< PumpStatus > | _pump_status_buffer |
| GripperStatusMap | _gripper_status_map |
| GripperStatus | _internal_gripper_status |
| SpscValue< GripperStatus > | _gripper_status_buffer |
| MotorReferenceMap | _motor_reference_map |
| ValveReferenceMap | _valve_reference_map |
| PumpReferenceMap | _pump_reference_map |
| GripperReferenceMap | _gripper_reference_map |
| ImuReferenceMap | _imu_reference_map |
| PwrReferenceMap | _pow_reference_map |
| std::vector< bool > | _write_device |
| uint64_t | _period_ns |
| uint32_t | _reference_flag =1 |
| Protected Attributes inherited from EcBoostPdo | |
| ServerStatus | _actual_server_status |
The ReplServer class.
|
virtual |
Implements EcBoost.
|
virtual |
Implements EcBoost.
|
finalvirtual |
Implements EcBoostCmd.
|
finalvirtual |
Implements EcBoostCmd.
|
finalvirtual |
Implements EcBoostCmd.
|
finalvirtual |
Implements EcIface.