Merge branch 'main' of https://git.demerso.net/PLS5618/Reefscape-2025
This commit is contained in:
commit
bb9870732c
@ -71,7 +71,7 @@ public class RobotContainer {
|
|||||||
/* Setting up bindings for necessary control of the swerve drive platform */
|
/* Setting up bindings for necessary control of the swerve drive platform */
|
||||||
private final SwerveRequest.RobotCentric drive = new SwerveRequest.RobotCentric()
|
private final SwerveRequest.RobotCentric drive = new SwerveRequest.RobotCentric()
|
||||||
.withDeadband(MaxSpeed * 0.1).withRotationalDeadband(MaxAngularRate * 0.1) // Add a 10% deadband
|
.withDeadband(MaxSpeed * 0.1).withRotationalDeadband(MaxAngularRate * 0.1) // Add a 10% deadband
|
||||||
.withDriveRequestType(DriveRequestType.OpenLoopVoltage
|
.withDriveRequestType(DriveRequestType.Velocity
|
||||||
); // Use open-loop control for drive motors
|
); // Use open-loop control for drive motors
|
||||||
|
|
||||||
private final Telemetry logger = new Telemetry(MaxSpeed);
|
private final Telemetry logger = new Telemetry(MaxSpeed);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user