fix: python float/int for /core/control

This commit is contained in:
David
2025-08-22 16:41:54 -05:00
parent 10757c8c71
commit 4254ecc4ce

View File

@@ -23,8 +23,8 @@ os.environ["SDL_AUDIODRIVER"] = "dummy" # Force pygame to use a dummy audio dri
max_speed = 90 #Max speed as a duty cycle percentage (1-100) max_speed = 90 #Max speed as a duty cycle percentage (1-100)
core_stop_msg = CoreControl() core_stop_msg = CoreControl()
core_stop_msg.left_stick = 0 core_stop_msg.left_stick = 0.0
core_stop_msg.right_stick = 0 core_stop_msg.right_stick = 0.0
core_stop_msg.max_speed = 0 core_stop_msg.max_speed = 0
arm_stop_msg = ArmManual() arm_stop_msg = ArmManual()