Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b6b8b72
Add basic subsystem folders
joshuaharding2 Jan 20, 2026
d95209b
Started programming flywheel subsystem
joshuaharding2 Jan 21, 2026
238ebdf
Flywheel subsystem simulation
joshuaharding2 Jan 22, 2026
aa75d97
Flywheel subsystemformatting and motor adjustment
joshuaharding2 Jan 24, 2026
4c14123
Hood subsystem simulation almost working
joshuaharding2 Jan 24, 2026
f80b208
indexer base files made
codperson-cyber Jan 24, 2026
c767a49
indexer SPARKFLEX created with Constants.java
codperson-cyber Jan 24, 2026
1eaa16a
Flywheel sparkflex file
joshuaharding2 Jan 24, 2026
1096f07
Flywheel mapped to controller keybinds and bug fixes caused by merge
joshuaharding2 Jan 25, 2026
2d78e11
Flywheel SparkFlex Updates
joshuaharding2 Jan 27, 2026
55bf80c
fixed variables
codperson-cyber Jan 29, 2026
18ffd4d
Climb base setup?
Low-Debug Jan 29, 2026
96ce8cc
fixed files
codperson-cyber Jan 29, 2026
2a9d258
fixed files
codperson-cyber Jan 29, 2026
32954ae
Merge remote-tracking branch 'origin/main' into dev
joshuaharding2 Jan 29, 2026
4d049e5
Finished merging main branch into dev
joshuaharding2 Jan 29, 2026
b014574
Climb Sub Branch builded self
Low-Debug Jan 29, 2026
0b2172d
Got Motor hypotherically working
Low-Debug Jan 31, 2026
4fda026
Working Climb test Motor 1 works on test board
Low-Debug Jan 31, 2026
ff26140
Climb work 2/7/2026
Low-Debug Feb 7, 2026
d550eca
Climb
Low-Debug Feb 7, 2026
0248de6
Might have fixed my gihub
Low-Debug Feb 7, 2026
a3675ea
Git working? Randomley? PLease?
Low-Debug Feb 10, 2026
f112bc5
Git Folder made?
Low-Debug Feb 10, 2026
6873b46
Slapdown Setup
Low-Debug Feb 10, 2026
4c40382
Slapdown with all files
Low-Debug Feb 12, 2026
c551be0
Slapdown toggle 3 commands needs controls setup
Low-Debug Feb 14, 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
1 change: 1 addition & 0 deletions Dreadbots2026
Submodule Dreadbots2026 added at d11e29
92 changes: 92 additions & 0 deletions simgui-ds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"keyboardJoysticks": [
{
"axisConfig": [
{
"decKey": 65,
"incKey": 68
},
{
"decKey": 87,
"incKey": 83
},
{
"decKey": 69,
"decayRate": 0.0,
"incKey": 82,
"keyRate": 0.009999999776482582
}
],
"axisCount": 3,
"buttonCount": 4,
"buttonKeys": [
90,
88,
67,
86
],
"povConfig": [
{
"key0": 328,
"key135": 323,
"key180": 322,
"key225": 321,
"key270": 324,
"key315": 327,
"key45": 329,
"key90": 326
}
],
"povCount": 1
},
{
"axisConfig": [
{
"decKey": 74,
"incKey": 76
},
{
"decKey": 73,
"incKey": 75
}
],
"axisCount": 2,
"buttonCount": 4,
"buttonKeys": [
77,
44,
46,
47
],
"povCount": 0
},
{
"axisConfig": [
{
"decKey": 263,
"incKey": 262
},
{
"decKey": 265,
"incKey": 264
}
],
"axisCount": 2,
"buttonCount": 6,
"buttonKeys": [
260,
268,
266,
261,
269,
267
],
"povCount": 0
},
{
"axisCount": 0,
"buttonCount": 0,
"povCount": 0
}
]
}
12 changes: 6 additions & 6 deletions src/main/java/frc/robot/BuildConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ public final class BuildConstants {
public static final String MAVEN_GROUP = "";
public static final String MAVEN_NAME = "Dreadbots2026";
public static final String VERSION = "unspecified";
public static final int GIT_REVISION = 12;
public static final String GIT_SHA = "7b13ffa48be066b1546d17fa83b739acae12826e";
public static final String GIT_DATE = "2026-01-27 18:12:48 EST";
public static final String GIT_BRANCH = "main";
public static final String BUILD_DATE = "2026-01-28 12:56:56 EST";
public static final long BUILD_UNIX_TIME = 1769623016280L;
public static final int GIT_REVISION = 40;
public static final String GIT_SHA = "4c40382dd26c43ed87d2d8efdc9a7018bf93e481";
public static final String GIT_DATE = "2026-02-12 16:07:04 EST";
public static final String GIT_BRANCH = "Slapdown";
public static final String BUILD_DATE = "2026-02-14 10:26:57 EST";
public static final long BUILD_UNIX_TIME = 1771082817325L;
public static final int DIRTY = 1;

private BuildConstants(){}
Expand Down
63 changes: 50 additions & 13 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,55 @@ public static enum Mode {
REPLAY
}

public static final class AutoAlignConstants {
public static final double TRANSLATION_KP = 0.5;
public static final double TRANSLATION_KD = 0.0;
public static final double TRANSLATION_VELOCITY = 3.5; // Meters/Sec
public static final double TRANSLATION_ACCELERATION = 3.5; // Meters/Sec^2
public static final double TRANSLATION_JERK = 3.0; // Meters/Sec^3
public static final double ROTATION_KP = 2.0;
public static final double ROTATION_KD = 0.0;
public static final double ROTATION_MAX_VELOCITY = 5.0;
public static final double ROTATION_MAX_ACCELERATION = 10.0;
public static final double LEFT_REEF_BRANCH_OFFSET = Units.inchesToMeters(11.5 / 2.0);
public static final double RIGHT_REEF_BRANCH_OFFSET = Units.inchesToMeters(13.5 / 2.0);
public static class IndexerConstants {
public static final double INTAKE_VOLTAGE = 1.5;
public static final double OUTAKE_VOLTAGE = -5.0;
public static final int MOTOR_ID = 1;
}

public static class SlapdownConstants {
public static final double INTAKE_VOLTAGE = -5.0;
public static final double OUTAKE_VOLTAGE = 5.0;
public static final int SLAPDOWN_DUTY_CYCLE_ENCODER = 8;
public static final double ENCODER_OFFSET = 108.125;
public static final double HOME_ANGLE_DEGREES = 0;
public static final double OUTTAKE_ANGLE_DEGREES = 3;
public static final double INTAKE_ANGLE_DEGREES = 60.0;
public static final double HOLD_ANGLE_DEGREES = 14.0;
public static final double MAX_ANGLE_DEGREES = 80.0;
public static final double ENCODER_FREQUENCY = 975.6;
public static final int INTAKE_MOTOR_ID = 20;
public static final int PIVOT_MOTOR_ID = 18;

public static final double SIM_INTAKE_MOI = 0.00011264;
public static final double SIM_PIVOT_MOI = 0.15180934;

}
}


public static class FlywheelConstants {
public static final double SHOOT_VOLTAGE = 3.0;
public static final int MOTOR_ID_1 = 13;
public static final int MOTOR_ID_2 = 14;
}

public static class ClimbConstants {
public static final double INTAKE_VOLTAGE = 1.5;
public static final double OUTAKE_VOLTAGE = -1.5;
public static final int MOTOR_ID = 1;
}

public static final class AutoAlignConstants {
public static final double TRANSLATION_KP = 0.5;
public static final double TRANSLATION_KD = 0.0;
public static final double TRANSLATION_VELOCITY = 3.5; // Meters/Sec
public static final double TRANSLATION_ACCELERATION = 3.5; // Meters/Sec^2
public static final double TRANSLATION_JERK = 3.0; // Meters/Sec^3
public static final double ROTATION_KP = 2.0;
public static final double ROTATION_KD = 0.0;
public static final double ROTATION_MAX_VELOCITY = 5.0;
public static final double ROTATION_MAX_ACCELERATION = 10.0;
public static final double LEFT_REEF_BRANCH_OFFSET = Units.inchesToMeters(11.5 / 2.0);
public static final double RIGHT_REEF_BRANCH_OFFSET = Units.inchesToMeters(13.5 / 2.0);
}
}
8 changes: 2 additions & 6 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ public void robotPeriodic() {
Threads.setCurrentThreadPriority(false, 10);
}

/** This function is called once when the robot is disabled. */
@Override
public void disabledInit() {}

/** This function is called periodically when disabled. */
@Override
public void disabledPeriodic() {}

Expand Down Expand Up @@ -138,7 +133,6 @@ public void teleopInit() {
@Override
public void teleopPeriodic() {}

/** This function is called once when test mode is enabled. */
@Override
public void testInit() {
// Cancels all running commands at the start of test mode.
Expand All @@ -156,4 +150,6 @@ public void simulationInit() {}
/** This function is called periodically whilst in simulation. */
@Override
public void simulationPeriodic() {}


}
Loading