-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rumble subsystem + redside supplier * moved all arm commands to ArmToAngle factories * deleted unused files that caused chaos and confusion * more deletion for those who cause chaos * return if interrupted command * ratchette disengage * ritvik ratchette (RR) * bundt shot (rsetty + alu) * Bundt Shot working (yes) * intake returns back up * auton start pos and current limits * intermap change + removing unnecessary comments * remove rumble * kalman tweak (trust vision more) * changed from xboxcontroller to our own implementation * reduces cpu usage * updated defualt arm angle to 56.12 deg * updated rachette and added rumble back * updated intake current lim (as per Jeff's request) * got ratchette working and added timeout to intake for auton * changed intermap and introduced logging for arm angle * updated arm constants to reflect updated weight * added constant to improve arm aiming * updated arm angle and logging * commit for the intermap + * intermap changes (working from far) * fixed arm alignment shooting issue. WE ARE CONSISTIENT (except when odo is off) * added commented constant voltage control for preshooter mtoro * added square drive and changed preshooter motor to constant voltage for shoot * updated preshooter wheel voltage * added reset arm position and fixed square input * added SignalLogger Logs * changed signallogger * changed mihir controls to change arm angles to pov buttons * spotless and removed fireauton error * simplified intermap code * added comment to shooting speed * added LED code --------- Co-authored-by: pastamaple73 <[email protected]> Co-authored-by: Rawpower9 <[email protected]> Co-authored-by: chivesonions <[email protected]> Co-authored-by: ritvik <[email protected]>
- Loading branch information
1 parent
e003c6b
commit 8bba71a
Showing
16 changed files
with
339 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/main/java/frc/robot/commands/DebugCommands/AlterArmValues.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package frc.robot.commands.DebugCommands; | ||
|
||
import edu.wpi.first.wpilibj2.command.Command; | ||
import frc.robot.Constants; | ||
|
||
public class AlterArmValues extends Command { | ||
private double increaseBy; | ||
|
||
public AlterArmValues(double increaseBy) { | ||
this.increaseBy = increaseBy; | ||
} | ||
|
||
// Called when the command is initially scheduled. | ||
@Override | ||
public void initialize() { | ||
Constants.Arm.ARM_INTERMAP_OFFSET += increaseBy; | ||
Constants.Arm.UPDATE_INTERMAP(); | ||
} | ||
|
||
// Called every time the scheduler runs while the command is scheduled. | ||
@Override | ||
public void execute() {} | ||
|
||
// Called once the command ends or is interrupted. | ||
@Override | ||
public void end(boolean interrupted) {} | ||
|
||
// Returns true when the command should end. | ||
@Override | ||
public boolean isFinished() { | ||
return true; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/main/java/frc/robot/commands/DebugCommands/ResetArm.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package frc.robot.commands.DebugCommands; | ||
|
||
import edu.wpi.first.wpilibj2.command.Command; | ||
import frc.robot.subsystems.ArmSubsystem; | ||
|
||
public class ResetArm extends Command { | ||
private ArmSubsystem armSubsystem; | ||
|
||
public ResetArm(ArmSubsystem armSubsystem) { | ||
this.armSubsystem = armSubsystem; | ||
} | ||
|
||
// Called when the command is initially scheduled. | ||
@Override | ||
public void initialize() { | ||
armSubsystem.resetPosition(); | ||
} | ||
|
||
// Called every time the scheduler runs while the command is scheduled. | ||
@Override | ||
public void execute() {} | ||
|
||
// Called once the command ends or is interrupted. | ||
@Override | ||
public void end(boolean interrupted) {} | ||
|
||
// Returns true when the command should end. | ||
@Override | ||
public boolean isFinished() { | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.