huh?
This commit is contained in:
parent
de156e3789
commit
029bba7bb6
@ -9,7 +9,7 @@
|
|||||||
"prevControl": null,
|
"prevControl": null,
|
||||||
"nextControl": {
|
"nextControl": {
|
||||||
"x": 3.392520491803279,
|
"x": 3.392520491803279,
|
||||||
"y": 1.7293545081967203
|
"y": 1.7293545081967205
|
||||||
},
|
},
|
||||||
"isLocked": false,
|
"isLocked": false,
|
||||||
"linkedName": null
|
"linkedName": null
|
||||||
|
@ -65,15 +65,9 @@ public class RobotContainer {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Run SysId routines when holding back/start and X/Y.
|
|
||||||
// Note that each routine should be run exactly once in a single log.
|
|
||||||
manette1.back().and(manette1.y()).whileTrue(drivetrain.sysIdDynamic(Direction.kForward));
|
|
||||||
manette1.back().and(manette1.x()).whileTrue(drivetrain.sysIdDynamic(Direction.kReverse));
|
|
||||||
manette1.start().and(manette1.y()).whileTrue(drivetrain.sysIdQuasistatic(Direction.kForward));
|
|
||||||
manette1.start().and(manette1.x()).whileTrue(drivetrain.sysIdQuasistatic(Direction.kReverse));
|
|
||||||
|
|
||||||
// reset the field-centric heading on left bumper press
|
// reset the field-centric heading on left bumper press
|
||||||
manette1.leftBumper().onTrue(drivetrain.runOnce(() -> drivetrain.seedFieldCentric()));
|
manette1.start().onTrue(drivetrain.runOnce(() -> drivetrain.seedFieldCentric()));
|
||||||
|
|
||||||
drivetrain.registerTelemetry(logger::telemeterize);
|
drivetrain.registerTelemetry(logger::telemeterize);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user