Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00020
00021
00022 #ifndef RPDO_H
00023 #define RPDO_H
00024
00025 #include "PDO.h"
00026
00027 namespace icl_hardware {
00028 namespace canopen_schunk {
00029
00033 class RPDO : public PDO
00034 {
00035 public:
00037 typedef boost::shared_ptr<RPDO> Ptr;
00039 typedef std::vector<boost::shared_ptr<RPDO> > PtrList;
00040
00041 static const uint16_t OD_RPDO_COMMUNICATION_MIN = 0x1400;
00042 static const uint16_t OD_RPDO_MAPPING_PARAMETER_MIN = 0x1600;
00043
00051 RPDO(const uint8_t node_id, const uint8_t pdo_nr, const CanDevPtr& can_device);
00052
00059 bool download();
00060
00061
00083 PDOStringMatchVec remap (SDO& sdo,
00084 const MappingConfigurationList& mappings,
00085 const eTransmissionType& transmission_type,
00086 const bool dummy_mapping = false,
00087 const uint8_t cyclic_timeout_cycles = 0
00088 );
00089
00110 PDOStringMatchVec appendMapping(SDO& sdo,
00111 const MappingConfigurationList& mappings,
00112 const eTransmissionType& transmission_type,
00113 const bool dummy_mapping = false,
00114 const uint8_t cyclic_timeout_cycles = 0
00115 );
00116 };
00117
00118 }}
00119
00120 #endif // RPDO_H