FRC3494 / 3494_2019_repo

FRC team 3494's 2019 robot source code.
GNU General Public License v3.0
2 stars 1 forks source link

Encoders not being called properly on drivetrain #15

Closed BoxWizard000000 closed 5 years ago

BoxWizard000000 commented 5 years ago

Get encoder methods get a new encoder each time. Call each one in the in constructor once and set it to a private encoder object. Modify the get velocity and get position methods so that they call the encoder object's get methods rather.

c-x-berger commented 5 years ago

Fixed in 90ddea6d31c70c4239d9a5096379b4bfc5707b4e