Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
commit
f5919eb7f3
@ -78,7 +78,7 @@ public class Lanceur extends SubsystemBase {
|
|||||||
log.motor("shooter-wheel")
|
log.motor("shooter-wheel")
|
||||||
.voltage(
|
.voltage(
|
||||||
appliedVoltage.mut_replace(
|
appliedVoltage.mut_replace(
|
||||||
lanceur4.get() * RobotController.getBatteryVoltage(), Volts))
|
lanceur4.getAppliedOutput() * lanceur4.getBusVoltage(), Volts))
|
||||||
.angularPosition(angle.mut_replace(lanceur4.getEncoder().getPosition(), Rotations))
|
.angularPosition(angle.mut_replace(lanceur4.getEncoder().getPosition(), Rotations))
|
||||||
.angularVelocity(
|
.angularVelocity(
|
||||||
velocity.mut_replace(lanceur4.getEncoder().getVelocity(), RotationsPerSecond));
|
velocity.mut_replace(lanceur4.getEncoder().getVelocity(), RotationsPerSecond));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user