Class SimpleSlave
Defined in File basic_slave.hpp
Inheritance Relationships
Base Type
public canopen::BasicSlave
Class Documentation
-
class SimpleSlave : public canopen::BasicSlave
Public Functions
-
inline explicit BasicSlave(const std::string &node_name, bool intra_process_comms = false)
Protected Functions
-
inline void OnWrite(uint16_t idx, uint8_t subidx) noexcept override
This function is called when a value is written to the local object dictionary by an SDO or RPDO. Also copies the RPDO value to TPDO.
- Parameters:
idx – The index of the PDO.
subidx – The subindex of the PDO.
-
inline explicit BasicSlave(const std::string &node_name, bool intra_process_comms = false)