Open
Conversation
… for autonomous shooting
Hannahjjj97
reviewed
Feb 22, 2026
src/main/java/frc/robot/commandgroups/AutoShootCommandGroup.java
Outdated
Show resolved
Hide resolved
Hannahjjj97
requested changes
Feb 24, 2026
kennhung
requested changes
Feb 25, 2026
BrianHu0925
reviewed
Feb 25, 2026
Comment on lines
+79
to
+84
| mainController.rightBumper().whileTrue( | ||
| Commands.either( | ||
| new AutoAlignCmd(shooterTracker, swerveDrive) | ||
| .andThen(new ShooterComboCmd(shooterSubsystem, transportSubsystem)), | ||
| Commands.none(), | ||
| () -> shooterTracker.isHubTag())); |
There was a problem hiding this comment.
想提個小想法?就是現在這樣是一定要先到了位置之後才開始那個 ShooterComboCmd,我在想或許可以在前面先偷用一個shootCmd讓它偷跑,用alongWith 串起來,這樣 andThen 後面開始的時候,如果轉速夠了,他就可以直接射出,可以增加效率之類的?我不知道我這樣講可不可行
…en 後面開始的時候,如果轉速夠了,就可以直接射出,增加效率
BrianHu0925
reviewed
Mar 2, 2026
| Commands.either( | ||
| shooterSubsystem.shootCmd() | ||
| .alongWith(new AutoAlignCmd(shooterTracker, swerveDrive)) | ||
| .andThen(new ShooterComboCmd(shooterSubsystem, transportSubsystem)), |
There was a problem hiding this comment.
這個 andThen 應該要直接接在 AutoAlignCmd 後面?這樣才會對準完就執行
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.