Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Kodu::KoduAgent Class Reference
Detailed DescriptionDefinition at line 28 of file KoduAgent.h.
Constructor & Destructor Documentation
Constructor. Definition at line 18 of file KoduAgent.cc.
Destructor. Definition at line 48 of file KoduAgent.cc. Member Function Documentation
================================ Motion functions ================================ /// ================================ Motion functions ================================ /// Checks if the robot's body is moving (during motion action the body may stop) Definition at line 169 of file KoduAgent.cc. Referenced by Kodu::VisualNavErrMonTask::canExecute(), and Kodu::VisualGripperMonitorTask::canExecute().
================================ Gaze functions ================================ /// ================================ Gaze functions ================================ /// Generates the agent's gaze points (the points in space to search for objects) Definition at line 80 of file KoduAgent.cc. Referenced by KoduAgent().
================================ Page functions ================================ /// ================================ Page functions ================================ /// Returns the page currently being evaluated (determined by current page index variable) Definition at line 222 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduConditionEvaluator::resetChildRulesWithOnceEnabled().
================================ Gazing functions ================================ /// Returns the gaze points Definition at line 101 of file KoduAgent.cc. Referenced by KoduInterpreter::InitializeAgent::LookAround::doStart().
Returns the specified page (using it's page number). Definition at line 226 of file KoduAgent.cc.
Returns the specified page (using it's location in the vector--(PAGE# - 1)). Definition at line 230 of file KoduAgent.cc. Referenced by getPage().
Checks if the agent wants to switch pages. Definition at line 239 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart().
================================ Scoring functions ================================ /// ================================ Scoring functions ================================ /// Checks if the agent has a string to speak Definition at line 217 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart().
================================ Sound functions ================================ /// ================================ Sound functions ================================ /// Checks if the agent has sounds to play Definition at line 249 of file KoduAgent.cc. Referenced by KoduInterpreter::PlayActuator::doStart(), KoduInterpreter::PlayActionRunner::PlayEnd::doStart(), and KoduInterpreter::KoduActionRunner::doStart().
================================ Speech functions ================================ /// ================================ Speech functions ================================ /// Checks if the agent has a string to speak Definition at line 244 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart().
================================ Grasper functions ================================ /// ================================ Grasper functions ================================ /// States if the agent is attempting to grab an object Definition at line 106 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart().
Checks if the agent is walking (returns value of "agent is walking" flag). Definition at line 173 of file KoduAgent.cc. Referenced by Kodu::VisualNavErrMonTask::canExecute(), Kodu::VisualLocalizationTask::canExecute(), Kodu::VisualBumpDetectionTask::canExecute(), Kodu::VisualGripperMonitorTask::canExecute(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::PauseInterpretation::doStart(), and Kodu::VisualNavErrMonTask::taskIsComplete().
States whether or not the agent is (supposed to be) holding something. Definition at line 110 of file KoduAgent.cc. Referenced by Kodu::VisualGripperMonitorTask::canExecute(), KoduInterpreter::MotionActionRunner::ExecuteMotionAction::ExecuteSimpleMotion::CreateFinalApproachCommand::doStart(), KoduInterpreter::MotionActionRunner::ExecuteMotionAction::ExecuteGoToShapeRequest::doStart(), and Kodu::VisualGripperMonitorTask::taskIsComplete().
Signals the robot has completed the manipulation task (sets a particular set of flags). Definition at line 114 of file KoduAgent.cc. Referenced by KoduInterpreter::GiveActionRunner::GiveActionSend::doStart(), KoduInterpreter::GrabActionRunner::GrabActionEnd::doStart(), and KoduInterpreter::DropActionRunner::DropActionEnd::doStart().
Signals the robot has completed a motion command. Definition at line 181 of file KoduAgent.cc. Referenced by KoduInterpreter::MotionActionRunner::MotionEnd::doStart(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::PauseInterpretation::doStart(), and KoduInterpreter::MotionActionRunner::stop().
Checks if the agent needs to localize. Definition at line 177 of file KoduAgent.cc. Assignment operator. Definition at line 54 of file KoduAgent.cc.
Sets the "(agent) is attempting grab" flag. Definition at line 128 of file KoduAgent.cc. Referenced by manipulationComplete(), setIsReceiving(), signalDropActionStart(), signalGiveActionStart(), and signalGrabActionStart().
Sets the 'agent is executing motion command' flag (default value = true). Definition at line 191 of file KoduAgent.cc. Referenced by KoduInterpreter::GiveActionRunner::GiveActionSend::doStart(), motionComplete(), setIsReceiving(), signalGiveActionStart(), and signalMotionActionStart().
Signals whether the agent is currently receiving. Definition at line 204 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduEventListener::doEvent(), and KoduInterpreter::ReceiveActionRunner::ReceiveActionEnd::doStart().
Sets the current motion command. Definition at line 195 of file KoduAgent.cc.
Sets the "target object is in gripper" flag. Definition at line 132 of file KoduAgent.cc. Referenced by manipulationComplete().
Signals that the agent wants to drop something. Definition at line 136 of file KoduAgent.cc. Referenced by manipulationComplete(), and signalDropActionStart().
================================ Give functions =================================== /// ================================ Give functions ================================== /// Signals that the agent wants to give something Definition at line 200 of file KoduAgent.cc. Referenced by KoduInterpreter::GiveActionRunner::GiveActionSend::doStart(), and signalGiveActionStart().
Signals that the agent wants to grab something. Definition at line 140 of file KoduAgent.cc. Referenced by manipulationComplete(), and signalGrabActionStart().
Signals the robot wants to drop an object (sets a particular set of flags). Definition at line 144 of file KoduAgent.cc.
Signals the robot wants to give an objec to another robot (sets flags). Definition at line 154 of file KoduAgent.cc.
Signals the robot wants to grab an object (sets a particular set of flags). Definition at line 149 of file KoduAgent.cc.
Signals the robot is executing a motion command. Definition at line 187 of file KoduAgent.cc. Referenced by KoduInterpreter::MotionActionRunner::MotionStart::doStart().
States whether or not the agent wants to drop an object. Definition at line 160 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart().
States whether or not the agent wants to give an object to another agent. Definition at line 211 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart().
States whether or not the agent has an object it wants to grab. Definition at line 164 of file KoduAgent.cc. Referenced by KoduInterpreter::KoduActionRunner::doStart(). Member Data Documentation
egocentric (relative to the robot's body) points to look at Definition at line 190 of file KoduAgent.h. Referenced by generateGazePoints(), getGazePoints(), and operator=(). (flag) States if the agent is attempting to grab an object Definition at line 148 of file KoduAgent.h. Referenced by isExecutingManipAction(), operator=(), and setIsExecutingManipActionFlag(). Definition at line 156 of file KoduAgent.h. Referenced by isExecutingMotionAction(), operator=(), and setIsExecutingMotionActionFlag(). Definition at line 163 of file KoduAgent.h. Referenced by KoduInterpreter::KoduEventListener::doEvent(), KoduInterpreter::KoduActionRunner::doStart(), and setIsReceiving(). Definition at line 164 of file KoduAgent.h. Referenced by KoduInterpreter::KoduEventListener::doEvent(), and KoduInterpreter::ReceiveActionRunner::ReceiveActionStart::doStart(). (flag) States if the agent wants to drop an object Definition at line 149 of file KoduAgent.h. Referenced by manipulationComplete(), operator=(), setWantsToDropObjectFlag(), and wantsToDropObject(). (flag) States if the agent wants to give an object Definition at line 161 of file KoduAgent.h. Referenced by KoduInterpreter::KoduEventListener::doEvent(), setWantsToGiveObjectFlag(), and wantsToGiveObject(). (flag) States if the agent wants to grab an object Definition at line 150 of file KoduAgent.h. Referenced by operator=(), setWantsToGrabObjectFlag(), and wantsToGrabObject(). The current motion command. Definition at line 157 of file KoduAgent.h. Referenced by KoduInterpreter::NotificationMonitor::doEvent(), KoduInterpreter::MotionActionRunner::MotionEnd::doStart(), KoduInterpreter::MotionActionRunner::MotionStart::doStart(), KoduInterpreter::KoduActionRunner::doStart(), motionComplete(), operator=(), and setMotionCommand().
The page (index) currently being executed. Definition at line 172 of file KoduAgent.h. Referenced by KoduInterpreter::PageSwitchActionRunner::SwitchToNewPage::doStart(), getCurrentPage(), and operator=(). The accumulated distance the robot has travelled. Definition at line 158 of file KoduAgent.h. Referenced by KoduInterpreter::WalkMonitor::doStart(), needsToLocalize(), and operator=(). Definition at line 167 of file KoduAgent.h. Referenced by KoduInterpreter::KoduEventListener::doEvent(), and KoduInterpreter::ReceiveActionRunner::ReceiveActionTurnAndGet::Rotate::doStart().
Definition at line 168 of file KoduAgent.h. Referenced by KoduInterpreter::KoduEventListener::doEvent().
Definition at line 162 of file KoduAgent.h. Referenced by KoduInterpreter::KoduEventListener::doEvent(), KoduInterpreter::GiveActionRunner::GiveActionSend::doStart(), KoduInterpreter::GiveActionRunner::GiveActionStart::doStart(), and KoduInterpreter::GiveActionRunner::PositionBody::Rotate::doStart(). Definition at line 166 of file KoduAgent.h. Referenced by KoduInterpreter::ReceiveActionRunner::ReceiveActionStart::doEvent(), and KoduInterpreter::KoduEventListener::doEvent(). Definition at line 165 of file KoduAgent.h. Referenced by KoduInterpreter::GiveActionRunner::GiveActionStart::doEvent(), KoduInterpreter::KoduEventListener::doEvent(), and KoduInterpreter::GiveActionRunner::GiveActionStart::doStart().
The object the agent is holding/will be holding. Definition at line 147 of file KoduAgent.h. Referenced by Kodu::VisualBumpDetectionTask::canExecute(), KoduInterpreter::GiveActionRunner::GiveActionSend::doStart(), KoduInterpreter::GrabActionRunner::GrabActionEnd::doStart(), KoduInterpreter::GrabActionRunner::ExecuteGrabAction::CreateGripMonTask::doStart(), KoduInterpreter::GrabActionRunner::ExecuteGrabAction::PrepareForAnotherGrasp::RepositionGripperObject::doStart(), KoduInterpreter::GrabActionRunner::ExecuteGrabAction::PrepareForAnotherGrasp::FindObjectAgain::doStart(), KoduInterpreter::GrabActionRunner::ExecuteGrabAction::PrepareForAnotherGrasp::RepositionBody::doStart(), KoduInterpreter::GrabActionRunner::ExecuteGrabAction::GrabObject::doStart(), KoduInterpreter::GrabActionRunner::PrepareBody::ReverseBody::doStart(), KoduInterpreter::GrabActionRunner::PrepareBody::FaceObject::doStart(), KoduInterpreter::GrabActionRunner::GrabActionStart::IsObjectNear::doStart(), KoduInterpreter::DropActionRunner::ExecuteDrop::RepositionReleasedObject::RepositionObject::doStart(), KoduInterpreter::DropActionRunner::ExecuteDrop::RepositionReleasedObject::LookForObjectAgain::doStart(), KoduInterpreter::DropActionRunner::ExecuteDrop::RecordAprilTagPos::doStart(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::ObjectManipRecovery::GetTagLocation::doStart(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::ObjectManipRecovery::PrepareForAnotherGrasp::RepositionGripperObject::doStart(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::ObjectManipRecovery::PrepareForAnotherGrasp::FindObjectAgain::doStart(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::ObjectManipRecovery::PrepareForAnotherGrasp::RepositionBody::doStart(), KoduInterpreter::PerceptualMultiplexor::FailureRecovery::ObjectManipRecovery::PrepareForItemRecovery::SetGrasperTarget::doStart(), Kodu::KoduConditionSee::evaluate(), Kodu::KoduConditionGot::evaluate(), and operator=().
The mininum travelling distance (including turns) to consider performing localization. ================================ Static initializations ================================ /// Definition at line 155 of file KoduAgent.h. Referenced by needsToLocalize().
Stores the page number the agent wants to switch to. Definition at line 173 of file KoduAgent.h. Referenced by KoduInterpreter::PageSwitchActionRunner::SwitchToNewPage::doStart(), hasNewPageNumber(), and operator=().
The vector of pages containing kode. Definition at line 171 of file KoduAgent.h. Referenced by KoduInterpreter::PageSwitchActionRunner::SwitchToNewPage::doStart(), KoduInterpreter::InitializeAgent::ParseKode::doStart(), getCurrentPage(), getPageInPos(), operator=(), and ~KoduAgent().
The queue of sound files the agent wants to play. Definition at line 185 of file KoduAgent.h. Referenced by KoduInterpreter::PlayActuator::doStart(), KoduInterpreter::PlayActionRunner::PlayStart::doStart(), hasSoundsToPlay(), and operator=().
A queue containing all the perceptual tasks. Definition at line 176 of file KoduAgent.h. Referenced by KoduInterpreter::PageSwitchActionRunner::SwitchToNewPage::doStart(), KoduInterpreter::GrabActionRunner::ExecuteGrabAction::CreateGripMonTask::doStart(), KoduInterpreter::DropActionRunner::DropActionStart::doStart(), KoduInterpreter::PerceptualMultiplexor::MultiplexorStart::doStart(), KoduInterpreter::PerceptualMultiplexor::MultiplexorStart::getNextExecutableTask(), operator=(), and ~KoduAgent().
The queue of score operations and their value. Definition at line 179 of file KoduAgent.h. Referenced by KoduInterpreter::ScoreActuator::doStart(), hasNewScoreChanges(), and operator=().
The string the agent wants to speak. Definition at line 182 of file KoduAgent.h. Referenced by KoduInterpreter::CompleteSayActuator::doStart(), KoduInterpreter::SayActuator::doStart(), hasTextToSay(), operator=(), and ~KoduAgent(). (flag) States if the target object is in the gripper Definition at line 151 of file KoduAgent.h. Referenced by Kodu::KoduConditionGot::evaluate(), isHoldingAnObject(), operator=(), and setTargetInGripperFlag(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:23 2016 by Doxygen 1.6.3 |