diff --git a/controller/main.py b/controller/main.py index 3395fe8..f1b4c2b 100644 --- a/controller/main.py +++ b/controller/main.py @@ -33,7 +33,7 @@ class RobomasterUI: self.output_text = tk.Text(master, height=10, width=50, state=tk.DISABLED, fg='white', bg='#121212', insertbackground='white', selectbackground='#555555', selectforeground='white') self.output_text.grid(row=6, column=0, columnspan=4, padx=10, pady=10) - arm_frame = ttk.LabelFrame(master, text="Arm Control") + arm_frame = ttk.LabelFrame(master, text="Arm") arm_frame.grid(row=0, column=0, padx=10, pady=10, sticky="n") tk.Label(arm_frame, text="X:", fg='white', bg='#121212').grid(row=0, column=0, padx=5, pady=5, sticky="e") @@ -52,7 +52,7 @@ class RobomasterUI: ttk.Button(arm_frame, text="Stop", command=self.stop_arm).grid(row=3, column=0, columnspan=3, pady=5, sticky="we") ttk.Button(arm_frame, text="Get Position", command=self.get_arm_pos).grid(row=4, column=0, columnspan=3, pady=5, sticky="we") - gripper_frame = ttk.LabelFrame(master, text="Gripper Control") + gripper_frame = ttk.LabelFrame(master, text="Gripper") gripper_frame.grid(row=0, column=1, padx=10, pady=10, sticky="n") tk.Label(gripper_frame, text="Force (1-4, optional):", fg='white', bg='#121212').grid(row=0, column=0, padx=5, pady=5, sticky="e") @@ -63,7 +63,7 @@ class RobomasterUI: ttk.Button(gripper_frame, text="Close Gripper", command=self.close_gripper).grid(row=2, column=0, columnspan=2, pady=5, sticky="we") ttk.Button(gripper_frame, text="Gripper Status", command=self.get_gripper_status).grid(row=3, column=0, columnspan=2, pady=5, sticky="we") - led_frame = ttk.LabelFrame(master, text="LED Control") + led_frame = ttk.LabelFrame(master, text="LED") led_frame.grid(row=0, column=2, padx=10, pady=10, sticky="n") led_comp_values = ["all", "top_all", "top_right", "top_left", "bottom_all", "bottom_front", "bottom_back", "bottom_left", "bottom_right"] @@ -96,7 +96,7 @@ class RobomasterUI: ttk.Button(led_frame, text="Set LED", command=self.led_control_ui).grid(row=5, column=0, columnspan=2, pady=5, sticky="we") ttk.Button(master, text="Get Battery", command=self.get_battery).grid(row=1, column=2, padx=0, pady=0, sticky="n") - chassis_frame = ttk.LabelFrame(master, text="Chassis Control (WASDQE)") + chassis_frame = ttk.LabelFrame(master, text="Chassis (WASDQE)") chassis_frame.grid(row=1, column=0, columnspan=3, padx=10, pady=10, sticky="n") tk.Label(chassis_frame, text="XY Speed (m/s):", fg='white', bg='#121212').grid(row=0, column=0, padx=5, pady=5, sticky="e")