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

Collecting #13

Merged
merged 2 commits into from
Jan 20, 2024
Merged

Collecting #13

merged 2 commits into from
Jan 20, 2024

Conversation

Yair4586
Copy link

adding CollectingSubsystem and adding setSpeedCommand and setSpeedUntilFeedCommand and adding CollectingConstants

adding CollectingSubsystem and adding setSpeedCommand and setSpeedUntilFeedCommand and adding CollectingConstants
Comment on lines 21 to 22
public void initialize() {}

Copy link
Contributor

Choose a reason for hiding this comment

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

You need to set motor speed

Comment on lines 35 to 41
public boolean isFinished() {
if (collectingSubsystem.getSwitch()){
return true;
}
else{
return false;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be shorten to
return (collectingSubsystem.getSwitch());

changing to instant command changing limitswithc to lazersensor giving setspeeduntilfeedCommand speed variable
@ori-coval ori-coval merged commit e320db8 into main Jan 20, 2024
1 check passed
@ori-coval ori-coval deleted the Collecting branch January 20, 2024 11:32
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.

3 participants