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 bump commands #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added bump commands #37

wants to merge 2 commits into from

Conversation

challisconnally
Copy link
Contributor

No description provided.

@challisconnally challisconnally changed the title Lift bumps added bump commands Feb 16, 2018
protected boolean step() {
lift.setDesiredHeight(lift.getCurrentHeight() + bumpheight);
return true;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you override the initialize and finish methods, and replace the logging that is in Command with something more specific to this command. (eg. "Bumping lift [number] inches")

import org.teamtators.levitator.TatorRobot;
import org.teamtators.levitator.subsystems.Lift;

public class BumpLift extends Command{
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be "LiftBump"?

import org.teamtators.levitator.TatorRobot;
import org.teamtators.levitator.subsystems.Lift;

public class BumpPivot extends Command {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same thing for this one

@amikhalev
Copy link
Contributor

Fixes #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.

2 participants