From 8ade88c80f3695101bfdb5e378d7034a604d64b5 Mon Sep 17 00:00:00 2001 From: Charlie Kemp <31106448+hello-ck@users.noreply.github.com> Date: Sun, 5 Jul 2020 11:35:17 -0400 Subject: [PATCH] fix previous commit of demo triggering commands in keyboard_teleop --- stretch_core/nodes/keyboard_teleop | 8 -------- 1 file changed, 8 deletions(-) diff --git a/stretch_core/nodes/keyboard_teleop b/stretch_core/nodes/keyboard_teleop index fd1eac4..b10ee1a 100755 --- a/stretch_core/nodes/keyboard_teleop +++ b/stretch_core/nodes/keyboard_teleop @@ -94,14 +94,6 @@ class GetKeyboardCommands: ## MOSTLY MAPPING RELATED CAPABILITIES ## (There are non-mapping outliers.) #################################################### - - # Sequential performs a fixed number of autonomus mapping iterations - if (c == '!') and self.mapping_on: - number_iterations = 4 - for n in range(number_iterations): - trigger_request = TriggerRequest() - trigger_result = node.trigger_global_localization_service(trigger_request) - rospy.loginfo('trigger_result = {0}'.format(trigger_result)) # Trigger localizing the robot to a new pose anywhere on the current map if ((c == '+') or (c == '=')) and self.mapping_on: