Skip to content

removed indexer limit switches and preloading functionality#424

Merged
ajain389 merged 3 commits intoopusfrom
indexer-v2
Mar 20, 2026
Merged

removed indexer limit switches and preloading functionality#424
ajain389 merged 3 commits intoopusfrom
indexer-v2

Conversation

@ajain389
Copy link
Copy Markdown
Contributor

removed indexer limit switches and preloading functionality

Commands.parallel(
intake.holdAngleAndIntake(IntakeConstants.EXTEND_POS), orchestrator.preloadBalls())
.withTimeout(10.0));
Commands.parallel(intake.holdAngleAndIntake(IntakeConstants.EXTEND_POS)).withTimeout(10.0));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need to be in a parallel() because there's just one command.

Commands.parallel(
intake.holdAngleAndIntake(IntakeConstants.EXTEND_POS),
orchestrator.preloadBalls())));
Commands.parallel(intake.holdAngleAndIntake(IntakeConstants.EXTEND_POS))));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one command, so remove it from parallel() - a few places in this file.

package frc.robot.subsystems.indexer;

import static frc.robot.Schematic.indexerFeedupCanId;
import static frc.robot.Schematic.indexerLeftLimitSwitchDIO;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these from Schematic too.

@ajain389 ajain389 merged commit 4fb6667 into opus Mar 20, 2026
2 checks passed
@ajain389 ajain389 deleted the indexer-v2 branch March 20, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants