Abstract representation of PDO protocol.
More...
#include <PdoProtocol.hpp>
|
|
| PdoProtocol (std::uint8_t id, std::uint16_t cob, unsigned int n, SdoClient *sdo) |
| | Constructor, registers SDO client handle.
|
| |
|
virtual | ~PdoProtocol ()=default |
| | Virtual destructor.
|
| |
|
std::uint16_t | getCobId () const |
| | Retrieve COB ID.
|
| |
|
bool | configure (const PdoConfiguration &config) |
| | Configure this PDO drive-side via SDO packages.
|
| |
|
| enum class | PdoType { RPDO
, TPDO
} |
| | PDO type.
|
| |
|
|
template<typename... Tn> |
| static constexpr std::size_t | size () |
| |
|
|
std::uint8_t | id |
| |
|
std::uint16_t | cob |
| |
|
unsigned int | n |
| |
|
SdoClient * | sdo |
| |
See PdoConfiguration regarding how PDO configuration works.
◆ getType()
| virtual PdoType roboticslab::PdoProtocol::getType |
( |
| ) |
const |
|
protectedpure virtual |
The documentation for this class was generated from the following files:
- libraries/CanOpenNodeLib/PdoProtocol.hpp
- libraries/CanOpenNodeLib/PdoProtocol.cpp