This commit is contained in:
parent
41cf87c97c
commit
1b670b9685
@ -111,10 +111,6 @@ public class RobotContainer {
|
||||
,grimpeur));
|
||||
|
||||
LED.setDefaultCommand(allumeLED);
|
||||
|
||||
dashboard.add("autochooser",autoChooser)
|
||||
.withSize(2,1)
|
||||
.withPosition(1,1);
|
||||
}
|
||||
|
||||
private void configureBindings() {}
|
||||
|
@ -78,7 +78,7 @@ public class Lanceur extends SubsystemBase {
|
||||
log.motor("shooter-wheel")
|
||||
.voltage(
|
||||
appliedVoltage.mut_replace(
|
||||
lanceur4.get() * RobotController.getBatteryVoltage(), Volts))
|
||||
lanceur4.getAppliedOutput() * lanceur4.getBusVoltage(), Volts))
|
||||
.angularPosition(angle.mut_replace(lanceur4.getEncoder().getPosition(), Rotations))
|
||||
.angularVelocity(
|
||||
velocity.mut_replace(lanceur4.getEncoder().getVelocity(), RotationsPerSecond));
|
||||
|
Loading…
x
Reference in New Issue
Block a user