Skip to content

Commit 5953e48

Browse files
Changed labels for topic selection for control commands: Single is a twist message, seperate is ratio of throttle or steering
1 parent 4de8ccf commit 5953e48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GUI_supporting_pages/planning_controls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def update_ui_control_topic_select(self):
288288

289289
# Label for state estimation rostopic selection
290290
self.rostopic_controls_selection_label = ctk.CTkLabel(self.topic_selection_frame,
291-
text="Select rostopic for control", anchor="w")
291+
text="Select rostopic for control: The script publishes a Twist msg with command velocity (m/s) and steering angle (rad)", anchor="w")
292292
self.rostopic_controls_selection_label.grid(row=6, column=0, padx=(0, 20), pady=(10, 10), sticky="ew")
293293

294294
if selection == 0:
@@ -303,7 +303,7 @@ def update_ui_control_topic_select(self):
303303
self.control_topic_dropdown.grid(row=8, column=0, padx=(0, 10), pady=(10, 10), sticky="ew")
304304
else:
305305
# Label for velocity topic
306-
self.rostopic_velocity_label = ctk.CTkLabel(self.topic_selection_frame, text="Velocity topic", anchor="w")
306+
self.rostopic_velocity_label = ctk.CTkLabel(self.topic_selection_frame, text="Throttle topic: The script with publish a percentage throttle (v/v_max set for the platform)", anchor="w")
307307
self.rostopic_velocity_label.grid(row=7, column=0, columnspan=2, sticky="ew")
308308
# Select velocity topic
309309
self.selected_velocity_topic = ctk.StringVar(value=self.available_topics[0]) # Initialize variable
@@ -312,7 +312,7 @@ def update_ui_control_topic_select(self):
312312
self.velocity_topic_dropdown.grid(row=8, column=0, padx=(0, 10), pady=(10, 10), sticky="ew")
313313

314314
# Label for steering topic
315-
self.rostopic_steering_label = ctk.CTkLabel(self.topic_selection_frame, text="Steering topic", anchor="w")
315+
self.rostopic_steering_label = ctk.CTkLabel(self.topic_selection_frame, text="Steering topic: The script with publish a percentage steering \u00B1 (delta/delta_max set for the platform)", anchor="w")
316316
self.rostopic_steering_label.grid(row=9, column=0, columnspan=2, sticky="ew")
317317
# Select steering topic
318318
self.selected_steering_topic = ctk.StringVar(value=self.available_topics[0]) # Initialize variable

0 commit comments

Comments
 (0)