mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilib] Fix typos in simulation classes (#2799)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user