Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9e01ed8
pre vision shooting
arcadeArchitect Mar 18, 2026
8639b36
pre intake pivot merge
arcadeArchitect Mar 18, 2026
1368047
Merge remote-tracking branch 'origin' into launch-calc
arcadeArchitect Mar 18, 2026
a5ddcb7
pre systems check
arcadeArchitect Mar 18, 2026
ab40d57
Merge remote-tracking branch 'origin' into launch-calc
arcadeArchitect Mar 18, 2026
4e2e0cc
initial test, code wip: drive 5 sec crash, loop overrun
arcadeArchitect Mar 18, 2026
f1b6ee5
pre launch calc tuning
arcadeArchitect Mar 21, 2026
da57b3a
add theoretical launch calc values, indexer wait on flywheel, works!!
arcadeArchitect Mar 22, 2026
4a5e04f
tuning mode off
arcadeArchitect Mar 22, 2026
7ed3a5e
deprecate left/right side of subsystems in implementation and constan…
arcadeArchitect Mar 24, 2026
31f7584
update flywheel to have 4 motors
arcadeArchitect Mar 25, 2026
32a6e2e
update launcher position (roughly accurate)
arcadeArchitect Mar 25, 2026
b42598b
make TalonFXConfigurators final, reformatting
arcadeArchitect Mar 25, 2026
043dd67
remove beam break constants
arcadeArchitect Mar 25, 2026
beae2f1
add disconnection + temp logging and alerts for flywheel
arcadeArchitect Mar 25, 2026
336f771
alert rename
arcadeArchitect Mar 25, 2026
89f9b8c
coderabbit fixes
arcadeArchitect Mar 25, 2026
17a7673
Merge pull request #2 from Team5924/launch-calc
arcadeArchitect Mar 25, 2026
5a320a1
Merge remote-tracking branch 'origin' into subsystem-deprecation
arcadeArchitect Mar 25, 2026
825fcf9
add intake follower
arcadeArchitect Mar 25, 2026
5eea72d
fixes, intake wip
arcadeArchitect Mar 26, 2026
49ac064
fixes, intake wip wip
arcadeArchitect Mar 26, 2026
a29d265
intake should work with two motors
arcadeArchitect Mar 28, 2026
e521b73
robot container formatting changes, add toggle for vision
arcadeArchitect Mar 28, 2026
b3809de
add shooting bindings
arcadeArchitect Mar 28, 2026
f430c17
fix shooter hood states and bindings
arcadeArchitect Mar 28, 2026
cf6d953
added documentation so we can merge
maiKuneho Mar 28, 2026
2b4ce7b
Merge pull request #3 from Team5924/subsystem-deprecation
arcadeArchitect Mar 28, 2026
5b7d73f
hopper elevator basic implementation
maiKuneho Mar 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@
null
],
"java.dependency.enableDependencyCheckup": false,
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx4G -Xms100m -Xlog:disable"
}
272 changes: 79 additions & 193 deletions src/main/java/org/team5924/frc2026/Constants.java

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions src/main/java/org/team5924/frc2026/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.littletonrobotics.junction.wpilog.WPILOGWriter;
import org.team5924.frc2026.generated.TunerConstants;
import org.team5924.frc2026.util.Elastic;
import org.team5924.frc2026.util.LaunchCalculator;

public class Robot extends LoggedRobot {
private static final double LOW_BATTERY_VOLTAGE = 11.0;
Expand Down Expand Up @@ -125,6 +126,12 @@ public Robot() {
// Reset alert timers
disabledTimer.restart();

// Low battery alert
if (DriverStation.isEnabled()) {
disabledTimer.reset();
lowBatteryAlert.set(false);
}
Comment thread
arcadeArchitect marked this conversation as resolved.

// Instantiate our RobotContainer. This will perform all our button bindings,
// and put our autonomous chooser on the dashboard.
robotContainer = new RobotContainer();
Expand All @@ -147,11 +154,6 @@ public void robotPeriodic() {
// Return to non-RT thread priority (do not modify the first argument)
// Threads.setCurrentThreadPriority(false, 10);

// Low battery alert
if (DriverStation.isEnabled()) {
disabledTimer.reset();
lowBatteryAlert.set(false);
}
double batteryVoltage = RobotController.getBatteryVoltage();
if (batteryVoltage > 0.0
&& batteryVoltage <= LOW_BATTERY_VOLTAGE
Expand All @@ -161,6 +163,8 @@ public void robotPeriodic() {
} else {
lowBatteryAlert.set(false);
}

LaunchCalculator.getInstance().clearLaunchingParameters();
}

/** This function is called once when the robot is disabled. */
Expand Down
Loading
Loading