-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added Passer! #131
Conversation
@Override | ||
public void execute() { | ||
if (storage.noteExitingStorage()) { | ||
scoring.feedForAmp(); |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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
@Griffin9881 Please review the changes I made. We will need to tune the following to make this efficient:
|
Pull Request
Issue Number
Closes #130
Comments