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

Better driver controls #30

Merged
merged 6 commits into from
Mar 2, 2024
Merged

Better driver controls #30

merged 6 commits into from
Mar 2, 2024

Conversation

team6101
Copy link
Collaborator

@team6101 team6101 commented Mar 1, 2024

Description

Describe the changes in this PR and why they are needed.

Checklist before marking this PR as ready for review

  • All the PR checks are passing (you see the green checkmark)
  • I have written comments on the PR where reviewers may have questions

Once you have the PR ready for review, request reviewers from the upper-right of the screen with the cog on the reviewers section.

@team6101 team6101 marked this pull request as ready for review March 1, 2024 00:57
@team6101 team6101 merged commit a3d8781 into main Mar 2, 2024
2 checks passed
@team6101 team6101 deleted the better-driver-controls branch March 2, 2024 15:27
@@ -60,4 +62,5 @@ public class Constants {
/* ROTATION PID CONSTANTS */

public static final double ROTATION_ERROR_DEGREES = 5.;
public static final double SHOOTING_VELOCITY = 4000;
Copy link
Member

Choose a reason for hiding this comment

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

What is the unit on this number?

import frc.robot.auton.AutonShoot;
import frc.robot.auton.ExtendArms;
import frc.robot.auton.RetractArms;
import frc.robot.RobotComponents.Climber;
Copy link
Member

Choose a reason for hiding this comment

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

folders should have lowercase names

public class DriveTrain {

public static void driveTank(double leftY, double rightY) {
QuickActions.stopDriveMotors();
Copy link
Member

Choose a reason for hiding this comment

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

Why are we always stopping the motors?

@@ -64,6 +64,6 @@ public void initiate() {

@Override
public void shutdown() {
QuickActions.stopAll();
QuickActions.stopDriveMotors();
Copy link
Member

Choose a reason for hiding this comment

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

Nice

}
return false;

return Timer.getFPGATimestamp() >= revFinishedTime + 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.

You love to see it

@team6101 team6101 restored the better-driver-controls branch March 2, 2024 16:13
@team6101 team6101 deleted the better-driver-controls branch March 2, 2024 16:18
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