Skip to content

Commit

Permalink
rename to testing Auto
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelLesirge committed Jan 31, 2024
1 parent c86bdca commit 38f9192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class RobotContainer {

/** The container for the robot. Contains subsystems, OI devices, and commands. */
public RobotContainer() {
autoChooser.addOption("Example Auto", Autos.exampleAuto(drivetrain));
autoChooser.addOption("Testing Auto", Autos.testingAuto(drivetrain));

setUpDriveController();
configureBindings();
Expand All @@ -74,8 +74,8 @@ public void setUpDriveController() {
final HIDType genericHIDType = genericHID.getType();

SmartDashboard.putString("Drive Controller", genericHIDType.toString());
SmartDashboard.putString("Bot Name", Constants.currentBot.name());
SmartDashboard.putString("Bot Name", Constants.currentBot.toString());

if (genericHIDType.equals(GenericHID.HIDType.kHIDJoystick)) {
final CommandJoystick driverJoystick = new CommandJoystick(genericHID.getPort());
SwerveDriveJoystickControl control = new SwerveDriveJoystickControl(drivetrain, driverJoystick);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/Autos.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public final class Autos {
/** Example static factory for an autonomous command. */
public static Command exampleAuto(SwerveDrivetrain drivetrain) {
public static Command testingAuto(SwerveDrivetrain drivetrain) {
return Commands.sequence(
new AutoDriveTo(drivetrain, new Translation2d(1, 0))
// new WaitCommand(1),
Expand Down

0 comments on commit 38f9192

Please sign in to comment.