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

Elevator #23

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open

Elevator #23

wants to merge 52 commits into from

Conversation

txrnqt
Copy link

@txrnqt txrnqt commented Jan 20, 2025

No description provided.

@txrnqt txrnqt linked an issue Jan 20, 2025 that may be closed by this pull request
@txrnqt txrnqt marked this pull request as ready for review January 22, 2025 19:56
@txrnqt txrnqt closed this Jan 22, 2025
@txrnqt txrnqt reopened this Jan 22, 2025
@txrnqt txrnqt marked this pull request as draft January 22, 2025 19:56
@txrnqt txrnqt self-assigned this Jan 22, 2025
@legoguy1000
Copy link
Member

If this is ready for final review and merge, make sure to take it out of draft

@txrnqt txrnqt marked this pull request as ready for review January 31, 2025 17:44
Copy link
Member

@legoguy1000 legoguy1000 left a 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

src/main/java/frc/robot/RobotContainer.java Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/RobotContainer.java Outdated Show resolved Hide resolved
Comment on lines 61 to 64
public Command home() {
return raise(Constants.Elevator.HOME).andThen(() -> io.setVoltage(-0.1))
.until(() -> (inputs.limitSwitch == true));
}
Copy link
Member

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???

Copy link
Author

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

src/main/java/frc/robot/subsystems/Elevator/Elevator.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/subsystems/Elevator/Elevator.java Outdated Show resolved Hide resolved
src/main/java/frc/robot/subsystems/swerve/Swerve.java Outdated Show resolved Hide resolved
simgui-ds.json Outdated Show resolved Hide resolved
driver.povDown().onTrue(elevator.home());
driver.povLeft().onTrue(elevator.p1());
driver.leftTrigger().onTrue(elevator.p2());
SmartDashboard.putNumber("elevatorVoltage", 1.0);
Copy link
Member

Choose a reason for hiding this comment

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

whats this for?

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Elevator Subsytem
2 participants