Skip to content

Commit

Permalink
Merge pull request #310 from tue-robotics/fix/pickup-maps-to-pick-up-…
Browse files Browse the repository at this point in the history
…action

fix(gpsr): let pickup command map to a pick-up action
  • Loading branch information
reinzor committed Jun 6, 2017
2 parents 1ecfa00 + a8a6ee8 commit 837d387
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
V_GUIDE -> guide | escort | take | lead | accompany
DET -> the | a | an | some
MANIPULATION_AREA_DESCRIPTIONS -> on top of | at | in | on
MANIPULATION_AREA_DESCRIPTIONS -> on top of | at | in | on | from
"""

for room in common.location_rooms:
Expand Down Expand Up @@ -95,9 +95,9 @@
###############################################################################

grammar += """
V_PICKUP -> get | grasp | take | pick up
V_PICKUP -> get | grasp | take | pick up | grab
VP["action": "find", "object": {"type": X}, "location": {"id": Y}] -> V_PICKUP DET OBJECT_NAMES[X] MANIPULATION_AREA_LOCATIONS[Y]
VP["action": "pick-up", "object": {"type": X}, "location": {"id": Y}] -> V_PICKUP DET OBJECT_NAMES[X] MANIPULATION_AREA_LOCATIONS[Y]
"""

###############################################################################
Expand Down

0 comments on commit 837d387

Please sign in to comment.