Project: engagement_generation License: BSD Dependencies:
Used by:
None |
edu::wpi::hri::gen::comm::GazeKnowledge Class Reference
Inheritance diagram for edu::wpi::hri::gen::comm::GazeKnowledge:
Detailed DescriptionThe Gaze Knowledge class maintains the information about where the robot is looking and whether the current gaze is locked. An outside node can call the generation/set_gaze service to change the gaze to a position, lock the gaze if the outside node so chooses, and issue a timeout to change back to default behaviors. The default behavior policy is known by the ME advisor, and so the MEAdvisor must listen for changes of gaze on this object. This object also subscribes to the performing gaze as control is required to publish. Definition at line 65 of file GazeKnowledge.java. Constructor & Destructor Documentation
Create a new gaze knowledge object which knows how to handle change gaze requests and that will maintain the known state of the gaze for generation.
Definition at line 95 of file GazeKnowledge.java. Member Function Documentation
Add a listener to changes of gaze status. This includes target changes and lock changes.
Definition at line 158 of file GazeKnowledge.java.
Definition at line 215 of file GazeKnowledge.java.
This method is a helper method for automatically informing the listeners of gaze changes.
Implements edu::wpi::hri::gen::comm::GazeListener. Definition at line 207 of file GazeKnowledge.java.
Get the id of the target which is currently being looked at.
Definition at line 129 of file GazeKnowledge.java.
Definition at line 136 of file GazeKnowledge.java.
Set the last gaze listener so that it can be informed to update all of the gazes.
Definition at line 147 of file GazeKnowledge.java.
Shutdown the gaze knowledge by closing the services and subscribers Definition at line 118 of file GazeKnowledge.java.
Attempt to set the gaze of the Robot to the given target. Return true if the gaze was set properly, false if it was not.
Reimplemented from edu::wpi::hri::gen::comm::GazeListener. Definition at line 171 of file GazeKnowledge.java. Member Data DocumentationDefinition at line 76 of file GazeKnowledge.java.
Definition at line 68 of file GazeKnowledge.java.
Definition at line 75 of file GazeKnowledge.java.
Definition at line 74 of file GazeKnowledge.java.
Definition at line 72 of file GazeKnowledge.java.
Definition at line 69 of file GazeKnowledge.java.
Definition at line 78 of file GazeKnowledge.java.
Reimplemented from edu::wpi::hri::gen::comm::GazeListener. Definition at line 73 of file GazeKnowledge.java.
Definition at line 70 of file GazeKnowledge.java.
Definition at line 77 of file GazeKnowledge.java. The documentation for this class was generated from the following file:
|