Skip to content

Commit

Permalink
completed __main__ in guide.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervDooren committed Mar 26, 2019
1 parent f67e837 commit 9131e7c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action_server/src/action_server/actions/guide.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def _cancel(self):
from robot_skills.amigo import Amigo as Robot
elif robot_name == 'sergio':
from robot_skills.sergio import Sergio as Robot
elif robot_name == 'hero':
from robot_skills.hero import Hero as Robot
else:
from robot_skills.mockbot import Mockbot as Robot

Expand All @@ -120,7 +122,8 @@ def _cancel(self):
action = Guide()

config = ConfigurationData({'action': 'guide',
'object': {'id': 'cabinet'}})
'object': {'id': 'cabinet'},
'target-location': {'id':'dinner_table'}})

action.configure(robot, config)
action.start()

0 comments on commit 9131e7c

Please sign in to comment.