Open FRC-4509 opened 6 years ago
You are correct. Although no proper testing was done with the driveForFeet()
so theoretically if we fixed the issue with the Timer class implementation then driveForFeet()
would work.
However, we will leave that function alone for now because we are trying to get encoders, calculates the distance for us, to get an accurate measurement every time for us to drive a certain distance without the complex code in driveForFeet()
.
The way that the Timer class is implemented in methods such as
driveForFeet
is incorrect, causing those methods to run infinitely.