We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3747515 commit a05a7f0Copy full SHA for a05a7f0
turtlebot4_python_tutorials/turtlebot4_python_tutorials/mail_delivery.py
@@ -66,12 +66,12 @@ def main(args=None):
66
67
while True:
68
# Create a list of the goals for display
69
- options_text = 'Please enter the number corresponding to the desired robot goal position:\n'
+ options_str = 'Please enter the number corresponding to the desired robot goal position:\n'
70
for i in range(len(goal_options)):
71
- options_text += f' {i}. {goal_options[i]["name"]}\n'
+ options_str += f' {i}. {goal_options[i]["name"]}\n'
72
73
# Prompt the user for the goal location
74
- raw_input = input(f'{options_text}Selection: ')
+ raw_input = input(f'{options_str}Selection: ')
75
76
selected_index = 0
77
0 commit comments