Representation of RPDO protocol.
#include <PdoProtocol.hpp>
|
template<typename T > |
void | pack (const T *data, std::uint8_t *buff, unsigned int *count) |
|
void | packInternal (std::uint8_t *buff, const void *data, unsigned int size) |
|
bool | writeInternal (const std::uint8_t *data, unsigned int size) |
|
|
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 |
|
◆ write()
template<typename... Ts>
bool roboticslab::ReceivePdo::write |
( |
Ts... |
data | ) |
|
|
inline |
Usually, you'll want to pass as many parameters as CAN dictionary objects have been mapped. Only integral types allowed, cumulative size cannot exceed 8 bytes.
The documentation for this class was generated from the following files:
- libraries/CanOpenNodeLib/PdoProtocol.hpp
- libraries/CanOpenNodeLib/PdoProtocol.cpp