Browse Source

fix previous commit of demo triggering commands in keyboard_teleop

pull/2/head
Charlie Kemp 4 years ago
parent
commit
82f6f8f105
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      stretch_core/nodes/keyboard_teleop

+ 0
- 8
stretch_core/nodes/keyboard_teleop View File

@ -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:

Loading…
Cancel
Save