import au.grapplerobotics.CanBridge;
import edu.wpi.first.net.PortForwarder;
import edu.wpi.first.wpilibj.DriverStation;
-import edu.wpi.first.wpilibj.RobotController;
import edu.wpi.first.wpilibj.DriverStation.Alliance;
+import edu.wpi.first.wpilibj.RobotController;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.CommandScheduler;
-import frc.robot.commands.vision.ShutdownAllPis;
import frc.robot.constants.Constants;
import frc.robot.constants.VisionConstants;
import frc.robot.constants.swerve.DriveConstants;
@Override
public void teleopInit() {
robotContainer.setVisionEnabled(true);
- CommandScheduler.getInstance().schedule(new ShutdownAllPis());
// This makes sure that the autonomous stops running when
// teleop starts running. If you want the autonomous to
LiveWindow.disableAllTelemetry();
LiveWindow.setEnabled(false);
- SmartDashboard.putData("Shutdown back Orange Pi", new ShutdownAllPis());
+ SmartDashboard.putData("Shutdown Orange Pis", new ShutdownAllPis());
}
/**
* Run the ssh command to shutdown a single Orange Pi.
- * Uses the username and password set in {@link frc.robot.constantsVisionConstants}.
+ * Uses the username and password set in {@link frc.robot.constants.VisionConstants}.
*/
public class ShutdownOrangePi extends Command {
private String hostname;