Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

BroadcastTorqueCmd Struct Reference

Broadcasts a 'torque enable' (or disable) command to all servos using a write command to the appropriate address. More...

#include <DynamixelProtocol.h>

Inheritance diagram for BroadcastTorqueCmd:

Detailed Description

Broadcasts a 'torque enable' (or disable) command to all servos using a write command to the appropriate address.

Definition at line 224 of file DynamixelProtocol.h.

List of all members.

Public Member Functions

 BroadcastTorqueCmd (bool enable)
 constructor, pass true to enable torque, false to cut power

Public Attributes

unsigned char torqueEnable
 non-zero to enable torque of the servo
char checksum
 checksum value (bitwise negated sum of all non-marker fields), see nchecksum()

Constructor & Destructor Documentation

BroadcastTorqueCmd ( bool  enable  ) 

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

Definition at line 226 of file DynamixelProtocol.h.


Member Data Documentation

char checksum

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

Definition at line 230 of file DynamixelProtocol.h.

unsigned char torqueEnable

non-zero to enable torque of the servo

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