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 355 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 356 of file DynamixelProtocol.h.


Member Function Documentation

operator char * (  ) 

easy serialization

Definition at line 357 of file DynamixelProtocol.h.

operator const char * (  )  const

easy serialization

Definition at line 358 of file DynamixelProtocol.h.

operator const unsigned char * (  )  const

easy serialization

Definition at line 359 of file DynamixelProtocol.h.


Member Data Documentation

unsigned char error

error bitmask, see ResponseError_t

Definition at line 364 of file DynamixelProtocol.h.

unsigned char markerB

should always be 0xFF

Definition at line 361 of file DynamixelProtocol.h.

unsigned char resplen

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

Definition at line 363 of file DynamixelProtocol.h.

unsigned char servoid

the ID of the servo who made the response

Definition at line 362 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