RPDO.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00003 // This file is part of the SCHUNK Canopen Driver suite.
00004 //
00005 // This program is free software licensed under the LGPL
00006 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00007 // You can find a copy of this license in LICENSE folder in the top
00008 // directory of the source code.
00009 //
00010 // © Copyright 2016 SCHUNK GmbH, Lauffen/Neckar Germany
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 // -- END LICENSE BLOCK ------------------------------------------------
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 }} // end of NS
00119 
00120 #endif // RPDO_H


schunk_canopen_driver
Author(s): Felix Mauch , Georg Heppner
autogenerated on Thu Jun 6 2019 20:17:24