Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

GenericResponseHeader Struct Reference

contains fields global to all response packets More...

#include <DynamixelProtocol.h>

Inheritance diagram for GenericResponseHeader:

Detailed Description

contains fields global to all response packets

Definition at line 311 of file DynamixelProtocol.h.

List of all members.

Public Member Functions

 GenericResponseHeader ()
 operator char * ()
 easy serialization
 operator const char * () const
 easy serialization
 operator const unsigned char * () const
 easy serialization

Public Attributes

unsigned char markerA
 should always be 0xFF
unsigned char markerB
 should always be 0xFF
unsigned char servoid
 the ID of the servo who made the response
unsigned char resplen
 number of data bytes which follow, including error field and final checksum
unsigned char error
 error bitmask, see ResponseError_t

Constructor & Destructor Documentation

Definition at line 312 of file DynamixelProtocol.h.


Member Function Documentation

operator char * (  ) 

easy serialization

Definition at line 313 of file DynamixelProtocol.h.

operator const char * (  )  const

easy serialization

Definition at line 314 of file DynamixelProtocol.h.

operator const unsigned char * (  )  const

easy serialization

Definition at line 315 of file DynamixelProtocol.h.


Member Data Documentation

unsigned char error

error bitmask, see ResponseError_t

Definition at line 320 of file DynamixelProtocol.h.

unsigned char markerB

should always be 0xFF

Definition at line 317 of file DynamixelProtocol.h.

unsigned char resplen

number of data bytes which follow, including error field and final checksum

Definition at line 319 of file DynamixelProtocol.h.

unsigned char servoid

the ID of the servo who made the response

Definition at line 318 of file DynamixelProtocol.h.


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Sat May 4 06:37:25 2013 by Doxygen 1.6.3