mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Removes encoder.start() from the example programs
Change-Id: I26a9901a978481bb37fdb6eac6a2457c2ca990b8
This commit is contained in:
@@ -51,9 +51,6 @@ public class DriveTrain extends Subsystem {
|
||||
left_encoder.setDistancePerPulse((4.0/12.0*Math.PI) / 360.0);
|
||||
right_encoder.setDistancePerPulse((4.0/12.0*Math.PI) / 360.0);
|
||||
}
|
||||
|
||||
left_encoder.start();
|
||||
right_encoder.start();
|
||||
|
||||
rangefinder = new AnalogInput(6);
|
||||
gyro = new Gyro(1);
|
||||
|
||||
@@ -63,8 +63,6 @@ public class DriveTrain extends Subsystem {
|
||||
leftEncoder.setDistancePerPulse((4.0/*in*/*Math.PI)/(360.0*12.0/*in/ft*/));
|
||||
}
|
||||
|
||||
rightEncoder.start();
|
||||
leftEncoder.start();
|
||||
LiveWindow.addSensor("DriveTrain", "Right Encoder", rightEncoder);
|
||||
LiveWindow.addSensor("DriveTrain", "Left Encoder", leftEncoder);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user