28 namespace canopen_schunk {
39 typedef std::vector<boost::shared_ptr<RPDO> >
PtrList;
86 const bool dummy_mapping =
false,
87 const uint8_t cyclic_timeout_cycles = 0
113 const bool dummy_mapping =
false,
114 const uint8_t cyclic_timeout_cycles = 0
bool download()
Downloads RPDO data from the master to the slave (From PC to node)
std::vector< MappingConfiguration > MappingConfigurationList
The MappingConfigurationList holds multiple Mapping configurations. The Mapping of a single PDO is de...
This class describes Receive PDOs, meaning PDOs that send data from the host to the device...
eTransmissionType
Transmission types of a PDO, needed when mapping PDOs.
static const uint16_t OD_RPDO_COMMUNICATION_MIN
boost::shared_ptr< RPDO > Ptr
Convenience typedef to use PDOs with shared pointers.
static const uint16_t OD_RPDO_MAPPING_PARAMETER_MIN
PDOStringMatchVec remap(SDO &sdo, const MappingConfigurationList &mappings, const eTransmissionType &transmission_type, const bool dummy_mapping=false, const uint8_t cyclic_timeout_cycles=0)
Configure a PDO by sending some SDO packages. This can be either done during NMT state pre-operationa...
std::vector< boost::shared_ptr< RPDO > > PtrList
Convenience typedef to use PDO lists with shared pointers.
std::vector< PDOStringMatch > PDOStringMatchVec
The PDO class provides access to one (of the possible multiple) Process Data Object of a canOpen node...
The SDO class represents Service Data Objects (SDO) that are used for slow access of the canOpen obje...
RPDO(const uint8_t node_id, const uint8_t pdo_nr, const CanDevPtr &can_device)
Construct a new RPDO.
PDOStringMatchVec appendMapping(SDO &sdo, const MappingConfigurationList &mappings, const eTransmissionType &transmission_type, const bool dummy_mapping=false, const uint8_t cyclic_timeout_cycles=0)
Appends one or more mapping parameters to the existing mapping. Note that the PDO will be disabled wh...