Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ReadCmd Struct Reference

Contains fields which are global to all read commands, which can read a block of parameters from the unit. More...

#include <DynamixelProtocol.h>

Inheritance diagram for ReadCmd:

Detailed Description

Contains fields which are global to all read commands, which can read a block of parameters from the unit.

Definition at line 465 of file DynamixelProtocol.h.

List of all members.

Public Member Functions

 ReadCmd (unsigned char servoID, unsigned char address, unsigned char len)
 constructor, pass the unit ID, the starting address, and the number of bytes to read

Public Attributes

unsigned char addr
 address to start reading from on the unit
unsigned char readlen
 number of bytes to read
unsigned char checksum
 checksum value (bitwise negated sum of all non-marker fields), see nchecksum()

Constructor & Destructor Documentation

ReadCmd ( unsigned char  servoID,
unsigned char  address,
unsigned char  len 
)

constructor, pass the unit ID, the starting address, and the number of bytes to read

Definition at line 467 of file DynamixelProtocol.h.


Member Data Documentation

unsigned char addr

address to start reading from on the unit

Definition at line 469 of file DynamixelProtocol.h.

unsigned char checksum

checksum value (bitwise negated sum of all non-marker fields), see nchecksum()

Definition at line 471 of file DynamixelProtocol.h.

unsigned char readlen

number of bytes to read

Definition at line 470 of file DynamixelProtocol.h.


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:42 2016 by Doxygen 1.6.3