-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task manager Receptionist #16
Comments
It was discussed with the team the workflow for this task, and added as self.current_queue = [
Command(action="wait", complement="person"),
Command(action="analyze", complement="person"),
Command(action="interact", complement="introduce yourself"),
Command(action="ask", complement="user name and favorite drink"),
Command(action="save", complement="name"),
Command(action="interact", complement="ask to be followed to the living room"),
Command(action="go", complement="living room"),
Command(action="look", complement="seat"),
Command(action="interact", complement="introduce host"),
Command(action="look", complement="guest 1"),
Command(action="interact", complement="announce a place to sit will be offered"),
Command(action="look", complement="seat"),
Command(action="find", complement="free seat"),
Command(action="look", complement="free seat"),
Command(action="interact", complement="indicate the user can sit in the direction is gazing"),
Command(action="interact", complement="announce robot will return to entrance"),
Command(action="go", complement="entrance"),
Command(action="wait", complement="person"),
Command(action="analyze", complement="person"),
Command(action="interact", complement="introduce yourself"),
Command(action="ask", complement="user name and favorite drink"),
Command(action="save", complement="name"),
Command(action="interact", complement="ask to be followed to the living room"),
Command(action="go", complement="living room"),
Command(action="look", complement="seat"),
Command(action="interact", complement="introduce host"),
Command(action="interact", complement="introduce guest 1"),
Command(action="look", complement="guest 2"),
Command(action="interact", complement="announce a place to sit will be offered"),
Command(action="look", complement="seat"),
Command(action="find", complement="free seat"),
Command(action="look", complement="free seat"),
Command(action="interact", complement="indicate the user can sit in the direction is gazing")
] |
After some thought on the actual implementation of each task, it was decided that, at least for now, a conventional task manager would be the best option |
States for the taskTaking into the consideration the architecture desired, this STATES = {
"WAITING_GUEST": 0,
"SELF_INTRODUCTION": 1,
"REQUEST_GUEST_INFORMATION": 2,
"SAVE_USER_FACE": 3,
"GO_TO_LIVING_ROOM": 4,
"INTRODUCE_PEOPLE_TO_GUEST": 5,
"GAZE_AT_GUEST": 6,
"FIND_FREE_SEAT": 7,
"GAZE_AT_SEAT": 8,
"GO_TO_ENTRANCE": 9,
"ERROR": 20,
"SHUTDOWN": 100
} |
Guest helper classIn order to manage the information of each guest in a more organised manner, it was created a class class Guest:
"""Class to store the information of the guest"""
def __init__(self, guest_id: int = 0, name: str = "", favorite_drink: str = "", description: str = "") -> None:
self.guest_id = guest_id
self.name = name
self.favorite_drink = favorite_drink
self.description = description
def set_info(self, name: str, favorite_drink: str) -> None:
self.name = name
self.favorite_drink = favorite_drink
def set_description(self, description: str) -> None:
self.description = description |
Face recognitionThe services from the |
HRI guest analysisFollowing the developments in this issue, two features of the Human-Robot Interaction area were created. One extracts the name and the favorite drink of the person from the given speech, and the other uses the |
Task manager testingToday it was tested the complete integration of the task manager in The nodes and features executed in the external computing device were:
For the following iterations, this areas of improvement were detected:
|
For the task of
Receptionist
of Stage 1The text was updated successfully, but these errors were encountered: