

Public Member Functions | |
| TurnNeckToAbsoluteDirection (const AngleDeg &dir, ServerCommand *cmd) | |
| Default constructor. | |
| virtual | ~TurnNeckToAbsoluteDirection () |
| Destructor should clean up after the skill. | |
| virtual void | reset () |
| Reset any internal state in the skill. | |
| virtual Plan | generatePlan () |
| This method is used to generate a plan for how the goal of the skill should be obtained by the agent. | |
| virtual AgentStep | generateStep () |
| Generate a step for how to accomplish the goal of the skill. | |
| virtual FuzzyBool | persistent () |
| This method should return a FuzzyBool telling the caller if the skill wants to be called again. | |
| virtual FuzzyBool | applicable () |
| This method should implement the precondition specified in the description of the skill. | |
| virtual FuzzyBool | succeed () |
Return true (close to 1) if the skill has succeeded, i.e. | |
| virtual FuzzyBool | failed () |
Return true (close to 1) if the skill has failed, i.e. | |
Definition at line 74 of file TurnNeckToAbsoluteDirection.h.
|
||||||||||||
|
Default constructor. Here you can initialize the skill. Definition at line 74 of file TurnNeckToAbsoluteDirection.cc. References RS::getView(). |
|
|
This method is used to generate a plan for how the goal of the skill should be obtained by the agent. You can assume that the preconditions of the skill are true (this can be tested by calling the applicable() method, after you have implemented it). Implements RS::SkillWithDirectionAndCommand. Definition at line 98 of file TurnNeckToAbsoluteDirection.cc. References generateStep(). |
|
|
Return its post conditions are satisfied. Implements RS::Skill. Definition at line 154 of file TurnNeckToAbsoluteDirection.cc. |
|
|
Return something went wrong. Implements RS::Skill. Definition at line 162 of file TurnNeckToAbsoluteDirection.cc. |
1.3-rc3