FRC-4509-MechBulls / PizzaBot-2017

0 stars 0 forks source link

Timer is implemented incorrectly #4

Open FRC-4509 opened 6 years ago

FRC-4509 commented 6 years ago

The way that the Timer class is implemented in methods such as driveForFeet is incorrect, causing those methods to run infinitely.

agoeden12 commented 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().