Driving
All steps that move the robot as a whole. They use the drivetrain from your config (differential or mecanum) and the IMU for heading. How the control works inside is in Advanced .
| Page | What it covers |
|---|---|
| Drive, Turn and Arc | drive_forward, drive_backward, turn_left, turn_right, arcs, speed mode |
| Strafe and Mecanum | Sideways and diagonal driving on mecanum and omni robots |
| Until Conditions | .until(...), combining conditions with & and | |
| Absolute Heading | mark_heading_reference, turn_to_heading_left, turn_to_heading_right and heading= |
| Line Following | Following a line with IR sensors |
| Lineup | Aligning the robot on a line or edge |
| Smooth Path and Spline Motion | Driving through several segments without stopping |
| Optimize | optimize([...]): merge segments, cut corners, one closed-loop move |
| Wall Alignment | Squaring up against a wall |
Driving accuracy depends on calibration. Run through Calibration once your robot drives.