-
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
Better driver controls #30
Conversation
@@ -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; |
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.
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; |
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.
folders should have lowercase names
public class DriveTrain { | ||
|
||
public static void driveTank(double leftY, double rightY) { | ||
QuickActions.stopDriveMotors(); |
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.
Why are we always stopping the motors?
@@ -64,6 +64,6 @@ public void initiate() { | |||
|
|||
@Override | |||
public void shutdown() { | |||
QuickActions.stopAll(); | |||
QuickActions.stopDriveMotors(); |
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.
Nice
} | ||
return false; | ||
|
||
return Timer.getFPGATimestamp() >= revFinishedTime + 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.
You love to see it
Description
Describe the changes in this PR and why they are needed.
Checklist before marking this PR as ready for review
Once you have the PR ready for review, request reviewers from the upper-right of the screen with the cog on the reviewers section.