Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PIDNode Class Reference

A simple StateNode that executes a PIDMC motion command. More...

#include <PIDNode.h>

Inheritance diagram for PIDNode:

Detailed Description

A simple StateNode that executes a PIDMC motion command.

Definition at line 16 of file PIDNode.h.

List of all members.

Public Member Functions

 PIDNode (const std::string &nm)
 constructor, take an instance name
 PIDNode (const std::string &nm, unsigned int _low, unsigned int _high, float _powerlevel, float _weight=1)
 constructor, take PIDMC arguments; note that should be one past the last joint to modify
virtual void preStart ()
 Adds the motion command to the motion manager, but stops it from running until the user has a chance to program it.

Private Attributes

unsigned int low
unsigned int high
float powerlevel
float weight

Constructor & Destructor Documentation

PIDNode::PIDNode ( const std::string &  nm  ) 

constructor, take an instance name

Definition at line 19 of file PIDNode.h.

PIDNode::PIDNode ( const std::string &  nm,
unsigned int  _low,
unsigned int  _high,
float  _powerlevel,
float  _weight = 1 
)

constructor, take PIDMC arguments; note that should be one past the last joint to modify

Definition at line 23 of file PIDNode.h.


Member Function Documentation

virtual void PIDNode::preStart (  )  [virtual]

Adds the motion command to the motion manager, but stops it from running until the user has a chance to program it.

Reimplemented from MCNode< PIDMC, defPIDNodeName, defPIDNodeDesc, true >.

Definition at line 27 of file PIDNode.h.


Member Data Documentation

unsigned int PIDNode::high [private]

Definition at line 36 of file PIDNode.h.

Referenced by preStart().

unsigned int PIDNode::low [private]

Definition at line 35 of file PIDNode.h.

Referenced by preStart().

Definition at line 37 of file PIDNode.h.

Referenced by preStart().

Definition at line 38 of file PIDNode.h.

Referenced by preStart().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:14 2016 by Doxygen 1.6.3