r/FLL • u/williamfrantz • 16h ago
A Better Gyro Technique: Turn and Drive Off
My FLL teams used a gyro navigation technique I call "turn and drive off." I used this for years but only now made a video about it since I have Claude to generate diagrams and Amazon Polly to provide narration.
The problem: a gyro turn followed by a gyro drive locks in the turn's error. If the turn stops 3° short, the drive holds that wrong heading perfectly. Over 24 inches that's about an inch and a quarter off target, and every move after that starts from the last move's mistake.
The fix: reset the gyro once, before the turn. Do a quick, rough spin, then let the gyro steer out the error as the robot drives off. The initial spin only has to be close, not perfect. This allows for quicker movements.
The video also covers:
- why the gyro needs a short wait after you reset it
- an undocumented trick for getting a steering value of 180 into the Move block
- the ±180 seam bug in the LEGO yaw reading, and the mod formula that handles it
- speed ramps based on distance traveled instead of time, so stops are repeatable
- a min/max trick for SPIKE word blocks, which have no min or max function
- choosing a steering gain (Kp) that works best
Video: https://youtu.be/23T7V6rWTSY
Robot build instructions: https://rebrickable.com/mocs/MOC-193548
How do your teams handle navigation? Did you do something similar?