Skip to content

Commit

Permalink
Merge branch 'master' into robocup
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Apr 2, 2019
2 parents 8715110 + 0749c69 commit d853180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action_server/src/action_server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
rospy.init_node('action_server')

try:
robot_name = rospy.get_param('~robot_name')
robot_name = rospy.get_param('~robot_name').lower()
except KeyError:
rospy.logerr("Please provide a 'robot_name'")
exit(0)
Expand All @@ -26,7 +26,7 @@
elif robot_name == 'hero':
from robot_skills.hero import Hero as Robot
else:
rospy.logerr("'robot_name' must be either 'amigo', 'hero, or 'sergio'")
rospy.logerr("'robot_name' must be 'amigo', 'sergio' or 'hero'")
sys.exit()

robot = Robot()
Expand Down

0 comments on commit d853180

Please sign in to comment.