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.
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.