Compare commits
2 Commits
4f6552202c
...
c3d4b8c43c
Author | SHA1 | Date | |
---|---|---|---|
c3d4b8c43c | |||
4944f4662b |
@ -19,7 +19,7 @@ public class Desaccumuler extends Command {
|
||||
// Called when the command is initially scheduled.
|
||||
@Override
|
||||
public void initialize() {
|
||||
accumulateur.resetencodeur();
|
||||
|
||||
}
|
||||
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
|
@ -16,7 +16,6 @@ public class Accumulateur extends SubsystemBase {
|
||||
public Accumulateur() {}
|
||||
final WPI_TalonSRX accumulateur1 = new WPI_TalonSRX(0);
|
||||
final WPI_TalonSRX accumulateur2 = new WPI_TalonSRX(10);
|
||||
final
|
||||
public void encodeur(){
|
||||
accumulateur1.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative);
|
||||
accumulateur2.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative);
|
||||
|
Loading…
x
Reference in New Issue
Block a user