|Tekkotsu Homepage||Demos||Overview||Downloads||Dev. Resources||Reference||Credits|
KoduInterpreter::KoduConditionEvaluator Class Reference
Inheritance diagram for KoduInterpreter::KoduConditionEvaluator:
Constructor & Destructor Documentation
Member Function Documentation
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.
check if the condition is type KoduConditionBump if so, stop evaluating the condition, and create a perceptual task for it. once the robot is close enough to detect a bump, the task will visually detect bump. if the detection was successful, the agent would be able to evaluate the rule again. if not, the rule is disabled for some time (temp fix)
Reimplemented from BehaviorBase.
Member Data Documentation
The documentation for this class was generated from the following file:
||Generated Mon May 9 04:59:11 2016 by Doxygen 1.6.3|