[wpilib] Fix typos in simulation classes (#2799)

This commit is contained in:
Tyler Veness
2020-10-22 20:38:12 -07:00
committed by GitHub
parent 17698af5e3
commit abbf9f01ab
3 changed files with 8 additions and 4 deletions

View File

@@ -29,6 +29,8 @@ public class AnalogEncoderSim {
/**
* Set the position using an {@link Rotation2d}.
*
* @param angle The angle.
*/
public void setPosition(Rotation2d angle) {
setTurns(angle.getDegrees() / 360.0);