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

Create Launch Subsystem with Solenoid #97

Closed
wants to merge 4 commits into from

Conversation

ecmoser
Copy link
Contributor

@ecmoser ecmoser commented Jan 24, 2024

No description provided.

public Launcher() {
SmartDashboard.putNumber("Launch P", upper.getPIDController().getP());
SmartDashboard.putNumber("Launch I", upper.getPIDController().getI());
SmartDashboard.putNumber("Launch D", upper.getPIDController().getD());
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think you ever set the pid vaules unless you are in tuningPIDs mode.

Copy link
Collaborator

@smoser-frc smoser-frc left a comment

Choose a reason for hiding this comment

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

one comment in-line.
Second overall comment. Here you chose to use the CANSparkMax builtin pid controller, which in theory should have better resolution and response time.

Could you try it with just PIDController from WPILIB?

The reason I'm asking is that may give you the option to tune PID in the test mode like described here with a nice widget rather than lots and lots of smart dashboard boxes .

the

@smoser-frc
Copy link
Collaborator

This is superceded by the other later #99

@smoser-frc smoser-frc closed this Jan 27, 2024
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