Public Member Functions | Public Attributes
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>

List of all members.

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.

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

Definition at line 55 of file PDO.h.

Definition at line 57 of file PDO.h.

Definition at line 58 of file PDO.h.

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 Sun May 22 2016 03:30:57