[AIDriver] Simulator ready [AIDriver] Select a challenge to begin
Drag the joystick or use arrow/WASD keys to drive.
drive_forward(right_speed, left_speed)
Drive forward with specified wheel speeds (0-255)
drive_backward(right_speed, left_speed)
Drive backward with specified wheel speeds (0-255)
rotate_left(turn_speed)
Rotate counter-clockwise on the spot
rotate_right(turn_speed)
Rotate clockwise on the spot
brake()
Stop both motors
read_distance()
Read ultrasonic sensor (returns mm, or -1 if invalid)
hold_state(seconds)
Pause for specified seconds while logging
Having issues? Download a debug log to share with your teacher or for troubleshooting.