mode auto
This commit is contained in:
parent
9f4142d7aa
commit
7de77db146
@ -75,7 +75,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