Roversa drives forward for a set amount of time. This program helps you find how many milliseconds it takes to drive exactly one step. Once Roversa knows that, drive forward moves one step every time, and the advanced blocks will work, too.
If your Roversa is not driving straight, go through the Steering Calibration first.
Download this code onto your Roversa and line it up at the start of a space on a mat or other surface.
Press Play button to drive Roversa forward and see where it stops compared to one step.
If Roversa stopped before the end of the step, press Forward button to add time.
If Roversa went past the step, press the Backward button to take time away.
Each press changes the time by 10 ms - you'll hear a rising sound when it goes up and a falling sound when it goes down.
Press Play button and repeat Steps 3–4 until Roversa lands exactly one step forward.
Press Menu button to show the milliseconds on the LED screen.
Write the number down. In your own project, put this block inside the on start block and update the step size mm with the number you wrote down.