Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

BroadcastTorqueEntry Struct Reference

Broadcasts a 'max torque' value to all servos using a write command to the appropriate address. More...

#include <DynamixelProtocol.h>

Inheritance diagram for BroadcastTorqueEntry:

Detailed Description

Broadcasts a 'max torque' value to all servos using a write command to the appropriate address.

Definition at line 234 of file DynamixelProtocol.h.

List of all members.

Public Member Functions

 BroadcastTorqueEntry (unsigned char mtorqL=0xff, unsigned char mtorqH=0x03)
 constructor, pass true to enable torque, false to cut power

Public Attributes

unsigned char maxTorqueL
 maximum torque low byte
unsigned char maxTorqueH
 maximum torque high byte
char checksum
 checksum value (bitwise negated sum of all non-marker fields), see nchecksum()

Constructor & Destructor Documentation

BroadcastTorqueEntry ( unsigned char  mtorqL = 0xff,
unsigned char  mtorqH = 0x03 
)

constructor, pass true to enable torque, false to cut power

Definition at line 236 of file DynamixelProtocol.h.


Member Data Documentation

char checksum

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

Definition at line 240 of file DynamixelProtocol.h.

unsigned char maxTorqueH

maximum torque high byte

Definition at line 239 of file DynamixelProtocol.h.

unsigned char maxTorqueL

maximum torque low byte

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