The setWheelVelocities() method that you used to move the Finch forward and back is also used to make the Finch turn. To make the Finch move in a straight line, you kept the left and right wheel speeds the same. If the speed of the left wheel is different from the speed of the right wheel, the robot will turn.
Register to receive free access to all teacher materials.