Compare commits
2 Commits
c0e7985ab7
...
63313b3b7a
Author | SHA1 | Date | |
---|---|---|---|
|
63313b3b7a | ||
|
7de77db146 |
@ -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