mirror of
https://github.com/Team4388/2025RidgeScape.git
synced 2026-06-08 16:28:04 -06:00
update robot container
This commit is contained in:
@@ -227,11 +227,11 @@ public class RobotContainer {
|
||||
//return new GotoPositionCommand(m_robotSwerveDrive, m_vision);
|
||||
//try{
|
||||
// // Load the path you want to follow using its name in the GUI
|
||||
/ return new PathPlannerAuto("Example Auto");
|
||||
} catch (Exception e) {
|
||||
DriverStation.reportError("Big oops: " + e.getMessage(), e.getStackTrace());
|
||||
return Commands.none();
|
||||
}
|
||||
// return new PathPlannerAuto("Example Auto");
|
||||
//} catch (Exception e) {
|
||||
// DriverStation.reportError("Big oops: " + e.getMessage(), e.getStackTrace());
|
||||
// return Commands.none();
|
||||
//}
|
||||
// zach told me to do the below comment
|
||||
//return new GotoPositionCommand(m_robotSwerveDrive, m_vision);
|
||||
return new GotoPositionCommand(m_robotSwerveDrive, m_vision, AutoConstants.targetpos);
|
||||
|
||||
Reference in New Issue
Block a user