Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Passer! #131

Merged
merged 14 commits into from
Mar 26, 2024
Merged

Added Passer! #131

merged 14 commits into from
Mar 26, 2024

Conversation

Griffin9881
Copy link
Contributor

Pull Request


Issue Number

Closes #130

Comments

@Griffin9881 Griffin9881 self-assigned this Mar 18, 2024
@Griffin9881 Griffin9881 linked an issue Mar 18, 2024 that may be closed by this pull request
4 tasks
@Override
public void execute() {
if (storage.noteExitingStorage()) {
scoring.feedForAmp();
Copy link
Member

Choose a reason for hiding this comment

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

Why not just use feed for passer all the time?

public static final int leftStoragePort = 11;
public static final int rightStoragePort = 8;
public static final int storagePort = 11;
// public static final int rightStoragePort = 8;
Copy link
Member

Choose a reason for hiding this comment

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

Please remove, not comment


private Passer() {
passerMotor.restoreFactoryDefaults();
passerMotor.setIdleMode(IdleMode.kBrake);
Copy link
Member

Choose a reason for hiding this comment

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

Probably should be coast like shooter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

isn't shooter brake? or is that a different motor than the roller motor?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe I’m wrong but I thought it was in coast. If not this is fine


@Override
public void execute() {
scoring.feedForAmp();
Copy link
Member

Choose a reason for hiding this comment

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

Calling both feed for amp and feed for passer seems redundant here

@reediculous456
Copy link
Member

@Griffin9881 Please review the changes I made. We will need to tune the following to make this efficient:

  • Height of scoring elevator
  • Feed speed of scoring motor
  • A delay between starting the passer motor and beginning the feed

@reediculous456 reediculous456 merged commit 53becc1 into main Mar 26, 2024
1 check passed
@reediculous456 reediculous456 deleted the 130-make-passer branch March 26, 2024 01:10
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.

Make passer
2 participants