Public Member Functions | Public Attributes | List of all members
icl_hardware::canopen_schunk::PDO::MappingConfiguration Struct Reference

Mapping of a PDO. This is basically a description that says where to look in the object dictionary and how many bits to read. More...

#include <PDO.h>

Public Member Functions

 MappingConfiguration (const uint16_t index_, const uint8_t subindex_, const uint8_t length_, const std::string &name_)
 MappingConfiguration Create a new mapping configuration entry. More...
 

Public Attributes

uint16_t index
 
uint8_t length
 
std::string name
 
uint8_t subindex
 

Detailed Description

Mapping of a PDO. This is basically a description that says where to look in the object dictionary and how many bits to read.

Note
the length attribute describes the data length in Bits, not Bytes. An unsigned32 for example will be of length 0x20.

Definition at line 53 of file PDO.h.

Constructor & Destructor Documentation

icl_hardware::canopen_schunk::PDO::MappingConfiguration::MappingConfiguration ( const uint16_t  index_,
const uint8_t  subindex_,
const uint8_t  length_,
const std::string &  name_ 
)
inline

MappingConfiguration Create a new mapping configuration entry.

Parameters
index_Object Dictionary Index
subindex_Object Dictionary Sub-Index
length_length in BITS not bytes. For exammple: An unsigned32 will have the length of 0x20
name_Arbitrary name to identify and acces the pdo mapped value later on (for example: "speed")

Definition at line 66 of file PDO.h.

Member Data Documentation

uint16_t icl_hardware::canopen_schunk::PDO::MappingConfiguration::index

Definition at line 55 of file PDO.h.

uint8_t icl_hardware::canopen_schunk::PDO::MappingConfiguration::length

Definition at line 57 of file PDO.h.

std::string icl_hardware::canopen_schunk::PDO::MappingConfiguration::name

Definition at line 58 of file PDO.h.

uint8_t icl_hardware::canopen_schunk::PDO::MappingConfiguration::subindex

Definition at line 56 of file PDO.h.


The documentation for this struct was generated from the following file:


schunk_canopen_driver
Author(s): Felix Mauch , Georg Heppner
autogenerated on Mon Jun 10 2019 15:07:49