|
YARP CiA-402 EtherCAT Device 0.6.0
YARP device plugin for EtherCAT CiA-402 drives
|
#include <CiA402/EthercatManager.h>#include <CiA402/LogComponent.h>#include <algorithm>#include <chrono>#include <limits>#include <thread>#include <yarp/os/LogStream.h>Go to the source code of this file.
Functions | |
| constexpr uint32_t | mapEntry (uint16_t idx, uint8_t sub, uint8_t bits) |
| Helper function to create a PDO mapping entry. | |
|
constexpr |
Helper function to create a PDO mapping entry.
EtherCAT PDO mappings use a 32-bit value that encodes:
| idx | Object index (16 bits) |
| sub | Object subindex (8 bits) |
| bits | Size of the object in bits (8 bits) |
Definition at line 30 of file EthercatManager.cpp.