-
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
Elevator #23
base: main
Are you sure you want to change the base?
Conversation
If this is ready for final review and merge, make sure to take it out of draft |
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.
minor things mainly but gotta test the limit switch if we haven't yet
public Command home() { | ||
return raise(Constants.Elevator.HOME).andThen(() -> io.setVoltage(-0.1)) | ||
.until(() -> (inputs.limitSwitch == true)); | ||
} |
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.
Have we tested teh limit switch yet???
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.
no forgot about it will do either today or Saturday
driver.povDown().onTrue(elevator.home()); | ||
driver.povLeft().onTrue(elevator.p1()); | ||
driver.leftTrigger().onTrue(elevator.p2()); | ||
SmartDashboard.putNumber("elevatorVoltage", 1.0); |
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.
whats this for?
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.
line 118-120 are the bind used to tune pid and line 121 was used for feedforward stuff
No description provided.