Closed Jeffrey-Wang closed 7 years ago
Drivetrain now uses SetDistancePerPulse(dist) on its encoders in Drivetrain::Init(). This is needed for command DriveDistance() to function properly.
Line 68 is pretty straightforward, just finding the circumference of the wheel. 2pir = pidiameter Line 69 and 70 are accounted for in the picture.
Drivetrain now uses SetDistancePerPulse(dist) on its encoders in Drivetrain::Init(). This is needed for command DriveDistance() to function properly.