Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Grasper::SetJoint Class Reference

Set joint to specified angle. More...

Inheritance diagram for Grasper::SetJoint:

Detailed Description

Set joint to specified angle.

Definition at line 564 of file Grasper.h.

List of all members.

Public Member Functions

 SetJoint (const std::string &nodename, string _jointName, float _storedVal=0, float _speed=0.4f)
void moveJoint (float value)
virtual void doStart ()
 Delegate function for subclasses to be notified when the behavior starts up.

Public Attributes

string jointName
float storedVal
float speed

Constructor & Destructor Documentation

Grasper::SetJoint::SetJoint ( const std::string &  nodename,
string  _jointName,
float  _storedVal = 0,
float  _speed = 0.4f 
)

Definition at line 566 of file Grasper.h.


Member Function Documentation

virtual void Grasper::SetJoint::doStart (  )  [virtual]

Delegate function for subclasses to be notified when the behavior starts up.

Should be overridden by subclasses to subscribe to events, install motion commands, etc.

doStart() is basically a hook to allow subclasses to jump in and do some customization of behavior parameters while the behavior is starting. If you are writing a behavior class and do not expect further derivation, just override doStart() yourself. However, if you do expect further derivation of your class, consider using preStart() or postStart() instead, and leave doStart() for the 'leaf' classes.

Reimplemented from BehaviorBase.

Definition at line 571 of file Grasper.h.

void Grasper::SetJoint::moveJoint ( float  value  ) 

Definition at line 1111 of file Grasper.cc.

Referenced by doStart().


Member Data Documentation

Definition at line 567 of file Grasper.h.

Referenced by moveJoint().

Definition at line 569 of file Grasper.h.

Referenced by moveJoint().

Definition at line 568 of file Grasper.h.

Referenced by doStart().


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

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