Tekkotsu Homepage
Dev. Resources

KoduInterpreter::GrabActionRunner::ExecuteGrabAction::GrabObject Class Reference

#include <KoduInterpreter.h>

Inheritance diagram for KoduInterpreter::GrabActionRunner::ExecuteGrabAction::GrabObject:

Detailed Description

Attempt to grab the object ASSUMPTIONS:

  • the robot's arm will not hit the object (the PrepareBody state machine worked)

Definition at line 2345 of file KoduInterpreter.h.

List of all members.

Public Member Functions

 GrabObject (const std::string &nodename="GrabObject")
virtual void doStart ()
 Delegate function for subclasses to be notified when the behavior starts up.

Constructor & Destructor Documentation

KoduInterpreter::GrabActionRunner::ExecuteGrabAction::GrabObject::GrabObject ( const std::string &  nodename = "GrabObject"  ) 

Definition at line 2347 of file KoduInterpreter.h.

Member Function Documentation

virtual void KoduInterpreter::GrabActionRunner::ExecuteGrabAction::GrabObject::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 2348 of file KoduInterpreter.h.

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

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