DeepBlueRobotics / lib199

Code that we reuse in different projects/years.
Other
2 stars 0 forks source link

Implement MockPhoenixController sensor methods #6

Closed alexander-mcdowell closed 3 years ago

alexander-mcdowell commented 3 years ago

Currently, all of the methods related to sensors (e.g: getSelectedSensorPosition() and the likes) for the MockPhoenixController return some default value, usually 0 or ErrorCode.OK. If we wish to run simulations of the swerve drivetrain (and of course if we want to use these methods for future projects), we will need to implement these methods.