Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
JadedHearth committed Feb 20, 2024
1 parent 70dbca8 commit 50ca74c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,25 +194,26 @@ private void configureButtonBindings() {
() -> -driverController.getLeftX(),
() -> -driverController.getRightX()));

driverController // TODO change to operatorController later
driverController // TODO change to operatorController
.a()
.whileTrue(
Commands.startEnd(
() -> sFlywheel.runVelocity(-flywheelSpeedInput.get()),
sFlywheel::stop,
sFlywheel));
driverController // TODO change to operatorController later
driverController // TODO change to operatorController
.a()
.whileFalse(Commands.startEnd(() -> sFlywheel.runVelocity(0), sFlywheel::stop, sFlywheel));

driverController // TODO change to operatorController later
driverController // TODO Reverse intake needed, also it stops randomly after a bit, get rid of
// PID?
.b()
.whileTrue(
Commands.startEnd(
() -> sIntake.runVelocity(-Constants.IntakeConstants.velocity),
sIntake::stop,
sIntake));
driverController // TODO change to operatorController later
driverController
.b()
.whileFalse(Commands.startEnd(() -> sIntake.runVelocity(0), sIntake::stop, sIntake));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class ArmCommands {
private static final double DEADBAND = 0.3;
private static final double MAXRPM =
5; // TODO idk what a realistic one is so this is roughly 90 degrees per 2 seconds
0.1; // TODO idk what a realistic one is so this is roughly 90 degrees per 2 seconds

private ArmCommands() {}

Expand Down

0 comments on commit 50ca74c

Please sign in to comment.