This repository was archived by the owner on Jan 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-17
lines changed
Expand file tree Collapse file tree 2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -105,17 +105,18 @@ public class RobotContainer {
105105 new BeamBreakIOAdafruit (SpindexConstants .kSpindexBeamBreakDIO ));
106106 private final Vision vision = new Vision (new VisionIOLimelight ());
107107
108- // private final Superstructure superstructure =
109- // new Superstructure(
110- // ampevator,
111- // ampevatorRollers,
112- // turret,
113- // climb,
114- // intake,
115- // spindex,
116- // pivotShooter,
117- // shooter,
118- // vision);
108+ // private final Superstructure superstructure = // TODO: when uncommented also uncomment the
109+ // periodic
110+ // new Superstructure(
111+ // ampevator,
112+ // ampevatorRollers,
113+ // turret,
114+ // climb,
115+ // intake,
116+ // spindex,
117+ // pivotShooter,
118+ // shooter,
119+ // vision);
119120
120121 // Replace with CommandPS4Controller or CommandJoystick if needed
121122 public final MappedXboxController m_driverController =
@@ -398,5 +399,6 @@ public Command getAutonomousCommand() {
398399
399400 public void periodic () {
400401 autoChooser .update ();
402+ // superstructure.periodic();
401403 }
402404}
Original file line number Diff line number Diff line change @@ -83,12 +83,8 @@ public Pose2d getNotePose(Pose2d robotPose) {
8383 new Transform2d (
8484 new Translation2d (
8585 Units .inchesToMeters (getDistanceToNote ()),
86- robotPose
87- .getRotation ()
88- .plus (Rotation2d .fromDegrees (visionIOAutoLogged .ampevatorLimelightX ))),
89- robotPose
90- .getRotation ()
91- .plus (Rotation2d .fromDegrees (visionIOAutoLogged .ampevatorLimelightX ))));
86+ Rotation2d .fromDegrees (visionIOAutoLogged .ampevatorLimelightX )),
87+ Rotation2d .fromDegrees (visionIOAutoLogged .ampevatorLimelightX )));
9288 }
9389
9490 @ AutoLogOutput
You can’t perform that action at this time.
0 commit comments