-
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
Coral intake + algae pivot #27
Conversation
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.
Overall looks good! Great job! I just had a few formatting things, and we need to make sure to revert the x swerve code and pull from main.
@@ -0,0 +1,27 @@ | |||
package frc.robot.commands.drive; |
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.
Eject and Intake shouldn't be in the drive folder. Put them in the intake folder
this.intakeSubsystem = intakeSubsystem; | ||
addRequirements(this.intakeSubsystem); | ||
} | ||
|
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.
make sure to put the @OverRide tag above the methods inherited from Command.
intakeConfig.MotorOutput.NeutralMode = NeutralModeValue.Brake; | ||
intakeConfig.MotorOutput.DutyCycleNeutralDeadband = HardwareConstants.MIN_FALCON_DEADBAND; | ||
|
||
intakeConfig.CurrentLimits.StatorCurrentLimit = 0.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.
I would make these current limits constants. We should try our best to avoid magic numbers
@JacksonElia ready for review |
/format |
All ya gotta do here is pull from main and rename motor to intakeMotor @junocapra |
@junocapra the coral pivot is now the algae pivot, sorry! |
good job juno! this will be ready to merge after you finish up simulation, clean up and format the code, and add docstrings to the methods in the interface and the subsystem. Thanks :) I can help with these things if you need it. |
Finished algae pivot |
No description provided.