Add  subroutines for curves:

CurveLeft: (with one argument)

CurveRight: (with one argument)

or

Curve: (with 2 arguments)

 

Write a program that drives your Elegoo Robot in a Figure 8 around 2 objects 7 feet apart.


The Figure 8 should be smooth, not straight lines with abrubt sharp turns.


It needs to make 2 laps and stop as close to it's starting position and direction as possible. You choose the starting position and direction.

Last modified: Tuesday, 28 January 2025, 3:24 PM