Robot Class Reference
#include <robot.h>
List of all members.
Detailed Description
This structure encapsulates the known information about the robot which includes the where the robot is looking and pointing, and if the robot is currently speaking.
- Author:
- Brett Ponsler (bponsler (at) wpi (dot) edu)
Definition at line 52 of file robot.h.
Constructor & Destructor Documentation
Robot::Robot |
( |
|
) |
[private] |
Default constructor for the Robot class.
Definition at line 43 of file robot.cpp.
Member Function Documentation
void Robot::createSemaphores |
( |
|
) |
[private] |
void Robot::destroy |
( |
|
) |
[static] |
void Robot::donePoint |
( |
|
) |
[static] |
The robot is done pointing at all the objects.
Definition at line 362 of file robot.cpp.
std::vector< std::string > Robot::getLooking |
( |
|
) |
[static] |
Return the vector of objects the robot is looking at.
- Returns:
- The vector of objects the actor is looking at
Definition at line 108 of file robot.cpp.
std::vector< std::string > Robot::getPointing |
( |
|
) |
[static] |
Return the vector of objects the robot is pointing at.
- Returns:
- The vector of objects the actor is pointing at
Definition at line 119 of file robot.cpp.
Robot * Robot::getRobot |
( |
|
) |
[static, private] |
bool Robot::isFacialGaze |
( |
std::string |
actor |
) |
[static] |
Determine if the robot is making facial gaze with a specific Actor.
- Parameters:
-
- Returns:
- True if the robot is making facial gaze, false otherwise.
Definition at line 97 of file robot.cpp.
bool Robot::isLooking |
( |
std::vector< std::string > |
objects |
) |
[static] |
Determine if the robot is looking at a set of objects. This is true in the event that the set of objects the robot is looking at contains the exact same objects as the set of objects given. It is false otherwise.
- Parameters:
-
| objects | The set of objects |
- Returns:
- True if the robot is looking at the objects, false otherwise.
Definition at line 130 of file robot.cpp.
bool Robot::isPointing |
( |
std::vector< std::string > |
objects |
) |
[static] |
Determine if the robot is pointing at a set of objects. This is true in the event that the set of objects the robot is pointing at contains the exact same objects as the set of objects given. It is false otherwise.
- Parameters:
-
| objects | The set of objects |
- Returns:
- True if the robot is pointing at the objects, false otherwise.
Definition at line 146 of file robot.cpp.
bool Robot::isSpeaking |
( |
|
) |
[static] |
Determine whether or not the robot is speaking.
- Returns:
- True if the robot is speaking, false otherwise
Definition at line 86 of file robot.cpp.
bool Robot::isWaiting |
( |
|
) |
[static] |
Return whether or not the Robot is waiting for a response.
- Returns:
- True if waiting, false otherwise
Definition at line 374 of file robot.cpp.
void Robot::setFacialGaze |
( |
bool |
start, |
|
|
std::string |
actor | |
|
) |
| | [static] |
The robot started making facial gaze with a specific actor.
- Parameters:
-
| start | Whether the facial gaze is starting or ending |
| actor | The actor |
Definition at line 172 of file robot.cpp.
void Robot::setLookAt |
( |
bool |
start, |
|
|
std::vector< std::string > |
objects | |
|
) |
| | [static] |
The robot started or stopped looking at specific objects.
- Parameters:
-
| start | Looking started or stopped |
| objects | The objects to look at |
Definition at line 204 of file robot.cpp.
void Robot::setPointAt |
( |
bool |
start, |
|
|
std::vector< std::string > |
objects | |
|
) |
| | [static] |
The robot started or stopped pointing at specific objects.
- Parameters:
-
| start | Pointing started or stopped |
| objects | The vector of objects to point at |
Definition at line 274 of file robot.cpp.
void Robot::setSpeaking |
( |
bool |
start |
) |
[static] |
The robot started or stopped speaking.
- Parameters:
-
| start | Whether the speaking started or stopped |
Definition at line 162 of file robot.cpp.
void Robot::setWaiting |
( |
bool |
state |
) |
[static] |
Set whether the robot is waiting for a response or not.
- Parameters:
-
Definition at line 385 of file robot.cpp.
Member Data Documentation
Whether or not the robot is looking at a specific actor's face.
Definition at line 65 of file robot.h.
The series of objects the robot is looking at.
Definition at line 68 of file robot.h.
The series of objects the robot is pointing at.
Definition at line 71 of file robot.h.
Whether or not the robot is speaking.
Definition at line 62 of file robot.h.
Whether the robot is waiting for a response.
Definition at line 74 of file robot.h.
The documentation for this class was generated from the following files:
- engagement_recognition/src/recognition/actors/robot.h
- engagement_recognition/src/recognition/actors/robot.cpp