Go to the documentation of this file.
6 #ifndef TMC_COE_INTERPRETER_H
7 #define TMC_COE_INTERPRETER_H
13 #include <boost/thread/thread.hpp>
118 int8_t modes_of_operation;
128 int8_t modes_of_operation_display;
156 template <
typename T>
158 template <
typename T>
180 void paramTransfer(std::vector<std::vector<std::string>> all_obj_name,
181 std::vector<std::vector<std::string>> all_index,
182 std::vector<std::vector<std::string>> all_sub_index,
183 std::vector<std::vector<std::string>> all_datatype);
190 bool readSDO(
uint8_t slave_number, std::string object_name, std::string *value);
191 bool writeSDO(
uint8_t slave_number, std::string object_name, std::string *value);
@ SET_POINT_ACK_IN_PROCESS
std::vector< input_pdo_t * > input_pdo_
uint8_t initInterface(std::string ifname)
bool b_interface_unresponsive_
boost::thread error_check_thread_
const uint8_t TOTAL_WORK_COUNTER_PER_SLAVE
std::vector< std::vector< std::string > > all_obj_name_
std::string readSDO(uint8_t slave_number, uint16_t index_number, uint16_t subindex_number, T value)
const uint32_t IOMAP_SIZE
const uint16_t PROCESS_DATA_DELAY
std::vector< int > status_state_mask_
@ FAULT_REACTION_ACTIVE_VAL
@ SET_POINT_ACK_IN_PROCESS_VAL
bool statusWordState(uint8_t slave_number, fsa_state_t state)
std::vector< std::vector< std::string > > all_datatype_
const int8_t CONTROL_WORD_FAIL
const uint8_t DEBUG_PERIOD
struct PACKED input_pdo_t
std::vector< int > slave_
const int8_t CONTROL_WORD_TIMEOUT
@ NOT_READY_TO_SWITCH_ON_VAL
std::string getSlaveName(uint8_t slave_number)
struct PACKED output_pdo_t
std::vector< int > state_coding_val_
const uint16_t ERROR_CHECK_DELAY
double interface_timeout_
uint8_t getCycleCounter()
bool b_start_cycle_count_
bool commandCodingTransition(uint8_t slave_number)
void paramTransfer(std::vector< std::vector< std::string >> all_obj_name, std::vector< std::vector< std::string >> all_index, std::vector< std::vector< std::string >> all_sub_index, std::vector< std::vector< std::string >> all_datatype)
std::vector< std::vector< std::string > > all_index_
std::vector< output_pdo_t * > output_pdo_
TmcCoeInterpreter(uint8_t SDO_PDO_retries, double interface_timeout)
bool isInterfaceUnresponsive()
const int8_t CONTROL_WORD_SUCCESS
int8_t setControlWord(uint8_t slave_number, fsa_state_t response_SW, control_word_state_t requested_CW)
bool safeOPstate(std::vector< int > en_slave)
std::vector< std::vector< std::string > > all_sub_index_
std::string writeSDO(uint8_t slave_number, uint16_t index_number, uint16_t subindex_number, T value)
boost::thread processdata_thread_
uint8_t deviceStateChange(uint8_t slave_number, nmt_state_t state)
adi_tmc_coe
Author(s):
autogenerated on Sun Feb 2 2025 03:07:24