Skip to content

Commit

Permalink
Merge pull request #961 from tue-robotics/rwc2019_challenge_serving_d…
Browse files Browse the repository at this point in the history
…rinks

Rwc2019 challenge serving drinks
  • Loading branch information
MatthijsBurgh committed Dec 14, 2019
2 parents ea423ba + b53e74b commit 6869837
Show file tree
Hide file tree
Showing 12 changed files with 509 additions and 283 deletions.
50 changes: 26 additions & 24 deletions challenge_serving_drinks/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Responsible: Sam
# Responsible: Arpit

## CHALLENGE SERVING DRINKS

## Scenario (RGO2019)
## Scenario (RWC2019)

I Start:

Expand All @@ -29,41 +29,43 @@ III Waiter duty:
The bar can be any flat surface where objects can be placed, in any other room but the living room.
*2h before test the bar location is specified and announced
The Bartender may be standing either behind the bar or next to it, depending on the arena setup.
All available beverages are on top of the bar.
All available beverages are on top of the bar.
One of the drink requests is not available.
Procedure:
The robot drives to the bar, grabs the correct drink and returns to the living room.
The robot finds the person, who requested the drink and hand it over.

*The robot may either hand-over drinks orhave attached a tray.
*The robot may either hand-over drinks orhave attached a tray.
*When a tray is used, the robot must be sure that the guest is taking the correct drink (guests may try to take the wrong one).
*After giving the order (when the robot is not in the living room), the referees may re-arrange the people.


## Scoring sheet of RGO 2019:

*Partial scoring applies - we get points per served drink
*We get bonus rewards only if (at least) one main goal is successfuly executed
*Partial scoring applies - we get points per served drink
*We get bonus rewards only if (at least) one main goal is successfuly executed

OC instructions:
2h before test specify and announce the bar location!
OC instructions:
2h before test specify and announce the bar location!

The maximum time for this test is 5 minutes!
The maximum time for this test is 5 minutes!

Main Goal:
Deliver a drink to a guest: 3 x 250
Penalties:
Each guest approaching to the robot to place order 3 × –100
Each guest waving or calling the robot to place order 3 × –50
Telling the robot which drink is unavailable 2 × –100
Main Goal:
Deliver a drink to a guest: 3 x 250

Bonus rewards:
Inform a guest of drink unavailability upon request 250
Penalties:
Each drink handed-over to the robot (bypass picking) 3 × –75
Each drink taken by a guest (bypass drink handover) 3 × –75
Each guest approaching to the robot to place order 3 × –100
Each guest waving or calling the robot to place order 3 × –50
Telling the robot which drink is unavailable 2 × –100

Total score (excluding penalties and bonuses): 750
Bonus rewards:
Inform a guest of drink unavailability upon request 250

Outstanding performance: 100
Total score (excluding penalties and standard bonuses): 1000

Outstanding performance: 100


## Testing / Running
Expand All @@ -75,22 +77,22 @@ Launch procedure:
```
robot-challenge-serving-drinks
```

## ToDo:

Status after RGO2019:

- After the initial inspection we ask for the unavailable drink.
- Should be checked if the passing of the inspected objects is correct and it works.
- Waving detection implemented, should be tested.
- Detection of people, holding drinks not yet implemented. Is it necessary?

Enchancements:
Enchancements:

- Storing info for the available drinks (implemented, not tested)
- Detect people holding drinks

Tested successfully:
Tested successfully:

- Learn people and their names
- Inspecting bar
Expand Down
8 changes: 4 additions & 4 deletions challenge_serving_drinks/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<version>0.0.0</version>
<description>The challenge_serving_drinks package</description>

<!-- One maintainer tag required, multiple allowed, one person per tag -->
<maintainer email="alexandrov.samuil@gmail.com">Sam Aleksandrov</maintainer>

<!-- One license tag required, multiple allowed, one license per tag -->
<license>BSD</license>

<buildtool_depend>catkin</buildtool_depend>
<exec_depend>robot_skills</exec_depend>
<exec_depend>robot_smach_states</exec_depend>

<depend>robot_skills</depend>
<depend>robot_smach_states</depend>
<depend>smach</depend>

</package>
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import rospy
from robot_smach_states.util.startup import startup
from challenge_serving_drinks.serving_drinks import ServingDrinks
from challenge_serving_drinks import ServingDrinks


if __name__ == '__main__':
rospy.init_node('state_machine')
rospy.init_node('challenge_serving_drink')

startup(ServingDrinks)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .serving_drinks import ServingDrinks
64 changes: 0 additions & 64 deletions challenge_serving_drinks/src/challenge_serving_drinks/drive_in.py

This file was deleted.

0 comments on commit 6869837

Please sign in to comment.