EtherCAT Control Framework v0.9
Implementation of EtherCAT protocol using IgH EtherCAT library for robot controller.
DataReceived Struct Reference

Structure for data to be received from slaves. More...

#include <ecat_globals.hpp>

Public Member Functions

 DataReceived ()
 

Public Attributes

uint16_t com_status
 
std::vector< int32_t > target_pos
 
std::vector< int32_t > target_vel
 
std::vector< int16_t > target_tor
 
std::vector< int16_t > max_tor
 
std::vector< uint16_t > control_word
 
std::vector< OpModeop_mode
 
std::vector< int32_t > vel_offset
 
std::vector< int16_t > tor_offset
 
std::vector< int32_t > actual_pos
 
std::vector< int32_t > actual_vel
 
std::vector< int16_t > actual_cur
 
std::vector< int16_t > actual_tor
 
std::vector< uint16_t > status_word
 
std::vector< uint16_t > error_code
 
std::vector< int8_t > op_mode_display
 
uint8_t left_limit_switch_val
 
uint8_t right_limit_switch_val
 
uint8_t emergency_switch_val
 
uint16_t pressure_sensor
 

Detailed Description

Structure for data to be received from slaves.

Constructor & Destructor Documentation

◆ DataReceived()

DataReceived::DataReceived ( )
inline

Member Data Documentation

◆ actual_cur

std::vector<int16_t> DataReceived::actual_cur

◆ actual_pos

std::vector<int32_t> DataReceived::actual_pos

◆ actual_tor

std::vector<int16_t> DataReceived::actual_tor

◆ actual_vel

std::vector<int32_t> DataReceived::actual_vel

◆ com_status

uint16_t DataReceived::com_status

◆ control_word

std::vector<uint16_t> DataReceived::control_word

◆ emergency_switch_val

uint8_t DataReceived::emergency_switch_val

◆ error_code

std::vector<uint16_t> DataReceived::error_code

◆ left_limit_switch_val

uint8_t DataReceived::left_limit_switch_val

◆ max_tor

std::vector<int16_t> DataReceived::max_tor

◆ op_mode

std::vector<OpMode> DataReceived::op_mode

◆ op_mode_display

std::vector<int8_t> DataReceived::op_mode_display

◆ pressure_sensor

uint16_t DataReceived::pressure_sensor

◆ right_limit_switch_val

uint8_t DataReceived::right_limit_switch_val

◆ status_word

std::vector<uint16_t> DataReceived::status_word

◆ target_pos

std::vector<int32_t> DataReceived::target_pos

◆ target_tor

std::vector<int16_t> DataReceived::target_tor

◆ target_vel

std::vector<int32_t> DataReceived::target_vel

◆ tor_offset

std::vector<int16_t> DataReceived::tor_offset

◆ vel_offset

std::vector<int32_t> DataReceived::vel_offset

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