diff --git a/action_server/src/action_server/main.py b/action_server/src/action_server/main.py index 91a474cb..7f2735ea 100755 --- a/action_server/src/action_server/main.py +++ b/action_server/src/action_server/main.py @@ -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) @@ -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()