Skip to content
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

Mechanism testing #1

Merged
merged 123 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
3965f7f
elevator io done and elevator other stuff skelton
ColinH0 Jan 7, 2025
0c8ebaa
intake started (Kathy + Kayla)
ozziexyz Jan 7, 2025
dc2083f
Drive started
MikhailSaeed Jan 8, 2025
268b5af
Merge remote-tracking branch 'origin/main' into Intake
ozziexyz Jan 8, 2025
d5b2243
more elevator stuff
ozziexyz Jan 9, 2025
3325be1
some intake code changes (trying to get sim to work)
Bob1272001 Jan 13, 2025
c53acf1
Merge branch 'main' into Intake
Pouman1 Jan 13, 2025
7140073
tried to fix sim
Pouman1 Jan 13, 2025
aab2de8
update elevator code
ozziexyz Jan 13, 2025
3637bd9
elevator changes
ozziexyz Jan 13, 2025
83f31b9
Merge remote-tracking branch 'origin/main' into Elevator
ozziexyz Jan 13, 2025
a0738ff
fixed intake motor sim argument issues
ozziexyz Jan 13, 2025
3255874
start an arm subsystem
ColinH0 Jan 13, 2025
cd10bde
Swerve code written
MikhailSaeed Jan 13, 2025
3a60322
Swerve written
MikhailSaeed Jan 13, 2025
e646b20
elevator code update (more constant reference later
ozziexyz Jan 13, 2025
f521b67
Merge remote-tracking branch 'origin/main' into Drive
MikhailSaeed Jan 13, 2025
77d05ed
Intake sim works, working on real
ColinH0 Jan 14, 2025
42d1fd6
Talon code written
Arenacloserr Jan 14, 2025
ea12046
more elevtor stuff
ColinH0 Jan 14, 2025
0671de3
arm stuff
ozziexyz Jan 16, 2025
6247d15
Robot should drive
MikhailSaeed Jan 16, 2025
ed10518
setModuleStates
Arenacloserr Jan 16, 2025
586df67
elevator code update
ozziexyz Jan 16, 2025
d9b6f61
Some Code Clean up
MikhailSaeed Jan 17, 2025
098e59b
code clean up
MikhailSaeed Jan 17, 2025
0ff9e86
Code clean up
MikhailSaeed Jan 17, 2025
ca2a29e
Button Binding in Process
MikhailSaeed Jan 18, 2025
330c789
Buttons Configured
MikhailSaeed Jan 18, 2025
e7e8b3b
updated sim
MikhailSaeed Jan 18, 2025
fa42a35
Arm sim + preliminary talon code
ozziexyz Jan 18, 2025
3d4e4a2
drive sim work but not turn yet
ozziexyz Jan 18, 2025
ba3ca0a
changed sim motors
ozziexyz Jan 18, 2025
19bf4b7
only 1 current mode now in constants
ozziexyz Jan 18, 2025
92e5f56
motion profiling in sim
ozziexyz Jan 20, 2025
ec5e495
started visualization
ozziexyz Jan 21, 2025
d0b59e6
elevator sim (might need to fix)
elsaroni Jan 21, 2025
e911db5
switched arm code to sparkflex
ozziexyz Jan 25, 2025
0ab7c37
apply motor config
ozziexyz Jan 25, 2025
9dcc706
fixed turning sim
ozziexyz Jan 25, 2025
64253e0
elevatorIOReal stuff
elsaroni Jan 26, 2025
c0e9a89
added current sensing in case we want to do that
Bob1272001 Jan 26, 2025
046226c
elevator code stuff
ColinH0 Jan 26, 2025
a7ebee0
some cleaning up, still not updating some values like elevatorPosition
Bob1272001 Jan 27, 2025
c2f671d
basic moving command
MikhailSaeed Jan 27, 2025
0d2a916
CAN IDs+ small config changes
Pouman1 Jan 27, 2025
2c4366f
elevator stuff
ColinH0 Jan 27, 2025
36891f5
added vortex intake code
ColinH0 Jan 28, 2025
b6ee165
arm physical constants
ozziexyz Jan 28, 2025
65dde42
Arm conversion factors
ozziexyz Jan 28, 2025
45ac376
Zero encoder method
ozziexyz Jan 28, 2025
cb6f31d
arm CANID
ozziexyz Jan 28, 2025
5a6c21c
soft limits
ozziexyz Jan 28, 2025
b121330
pigeon CAN ID
ozziexyz Jan 28, 2025
9df7c95
zeroing, soft limits, inverted follower motor, separately logs veloci…
GooseJuice898 Jan 28, 2025
ec3561d
stuff
ColinH0 Jan 30, 2025
fff5584
Intake game piece detection
Arenacloserr Jan 30, 2025
30b6de1
stuff
ColinH0 Jan 30, 2025
aaac269
stuff
ColinH0 Jan 30, 2025
da5aa92
more stuff
ColinH0 Jan 30, 2025
ccc7c05
got rid of absolute encoder
ColinH0 Feb 1, 2025
282a2d0
Code cleanup and variables change
MikhailSaeed Feb 1, 2025
7f3f053
binded buttons
ColinH0 Feb 1, 2025
adf024c
Switched to void methods instead of commands in Arm.java
ozziexyz Feb 1, 2025
45c9463
Merge branch 'Elevator' into Mechanism-testing
Bob1272001 Feb 2, 2025
692047a
merge clean up
Bob1272001 Feb 2, 2025
ad7025c
intake merged in
Bob1272001 Feb 2, 2025
83e150b
arm merged in
Bob1272001 Feb 2, 2025
de5ddc4
forgot to commit arm commands
Bob1272001 Feb 2, 2025
be8c786
Constants change
MikhailSaeed Feb 3, 2025
0a80f3b
Switch ffmodel based on gamepiece
ozziexyz Feb 3, 2025
4434a79
Merge branch 'Arm' into Mechanism-testing
ozziexyz Feb 3, 2025
381f543
fixed binding conflicts
ozziexyz Feb 3, 2025
b51bcc2
Module adjustments
MikhailSaeed Feb 3, 2025
3e6fb3a
Merge branch 'Drive' into Mechanism-testing
Bob1272001 Feb 3, 2025
bdf7db7
Formatting
MikhailSaeed Feb 3, 2025
7b68c62
Code Cleanup
MikhailSaeed Feb 3, 2025
ccca8e3
Merge branch 'Drive' into Mechanism-testing
Bob1272001 Feb 3, 2025
79de689
mode real and button binding additions for arm for mor delicate control
Bob1272001 Feb 3, 2025
910bf09
drive testing
ColinH0 Feb 3, 2025
7af9661
drive changes
ColinH0 Feb 3, 2025
4822be6
added onboard PID control and conversion factors
MikhailSaeed Feb 4, 2025
8ce4ffd
Merge branch 'Mechanism-testing' of https://github.com/Team-4795/2025…
MikhailSaeed Feb 4, 2025
752f50e
robot scores
ColinH0 Feb 4, 2025
61499a8
FF parameter changes for arm and elevator
Bob1272001 Feb 5, 2025
aa180ea
made constants final, changed elevator ff to use most recent version
Bob1272001 Feb 5, 2025
ff44db8
Log intake gampiece detection
ozziexyz Feb 5, 2025
9683832
only use setpoints if open loop mode is off
ozziexyz Feb 5, 2025
a48c839
right and left elevator inputs
ozziexyz Feb 5, 2025
62f04d4
arm offset and voltage inputs
ozziexyz Feb 5, 2025
3215530
onboard arm PID
ozziexyz Feb 6, 2025
129122a
new arm controls and fixed dumb voltage mistake
ozziexyz Feb 6, 2025
c6c5679
use encoder position instead of setpoint position in motion profile
ozziexyz Feb 6, 2025
1e156b5
some of amals changes my computer is about to die
Bob1272001 Feb 6, 2025
96ce230
More merge request changes
ozziexyz Feb 6, 2025
ad2970d
Elevator onboard control, soft limits, and default command
ozziexyz Feb 6, 2025
e9178a4
Use absolute encoder for onboard pid on arm
ozziexyz Feb 6, 2025
ad7a167
Arm setpoints
ozziexyz Feb 6, 2025
0796b75
onboard turnPID added
MikhailSaeed Feb 6, 2025
da942b3
onboard turning PID
MikhailSaeed Feb 7, 2025
b5f1864
Turning configuration implemented and code cleanup
MikhailSaeed Feb 7, 2025
df1cf2c
onboard pid added
MikhailSaeed Feb 8, 2025
2708b3d
Elevator and arm setGoal commands
ozziexyz Feb 8, 2025
77756b5
updated control implementation and initialization
MikhailSaeed Feb 8, 2025
d31a442
Passed in new control
ozziexyz Feb 8, 2025
bf9e1b2
updated conversion
ozziexyz Feb 8, 2025
845e83f
removed drive
ColinH0 Feb 8, 2025
81b87e1
Testing changes 2/8/2025
ColinH0 Feb 9, 2025
6d9b1fb
new arm goal command and sim updates
ozziexyz Feb 9, 2025
4a42cd1
visualizer and arm/elevator sequence
ozziexyz Feb 9, 2025
f70e5b8
Log arm relative encoder values
ozziexyz Feb 9, 2025
6147994
New elevator goal command
ozziexyz Feb 9, 2025
fded3f0
3d pose with intake sim
ozziexyz Feb 9, 2025
dcc9d9f
arm weirdness
ColinH0 Feb 10, 2025
d919adc
We can score with setpoints (about 50% accuracy)
ColinH0 Feb 11, 2025
cf3a65a
ctre generated swerve
ColinH0 Feb 11, 2025
77dd2b4
changes from meetig 2/11
ColinH0 Feb 12, 2025
8a55791
Merge branch 'swerve' into Mechanism-testing
Bob1272001 Feb 12, 2025
f77a676
merge clean up
Bob1272001 Feb 12, 2025
b773ddc
No manual set goal
ozziexyz Feb 12, 2025
11e567d
Merge branch 'Mechanism-testing' of https://github.com/Team-4795/2025…
Bob1272001 Feb 12, 2025
0ea9662
fixed button bindings and added arm requirement for run once.
Bob1272001 Feb 12, 2025
fec1a39
cleaned up button bindings
ozziexyz Feb 12, 2025
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
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@
"edu.wpi.first.math.proto.*",
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
]
],
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx16G -Xms100m -Xlog:disable"
}
9 changes: 9 additions & 0 deletions simgui-ds.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,14 @@
"buttonCount": 0,
"povCount": 0
}
],
"robotJoysticks": [
{
"useGamepad": true
},
{
"guid": "78696e70757401000000000000000000",
"useGamepad": true
}
]
}
1 change: 1 addition & 0 deletions src/main/deploy/pathplanner/navgrid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"field_size":{"x":17.548,"y":8.052},"nodeSizeMeters":0.3,"grid":[[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],[true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true],[true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true],[true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,true,true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,true,true,true,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true],[true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true],[true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true],[true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true],[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]]}
54 changes: 54 additions & 0 deletions src/main/deploy/pathplanner/paths/Example Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 2.0,
"y": 7.0
},
"prevControl": null,
"nextControl": {
"x": 3.0,
"y": 7.0
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.0,
"y": 6.0
},
"prevControl": {
"x": 3.0,
"y": 6.0
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.0,
"maxAcceleration": 5.6,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0,
"nominalVoltage": 12.0,
"unlimited": false
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0,
"rotation": 0.0
},
"useDefaultConstraints": true
}
32 changes: 32 additions & 0 deletions src/main/deploy/pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"robotWidth": 0.9,
"robotLength": 0.9,
"holonomicMode": true,
"pathFolders": [],
"autoFolders": [],
"defaultMaxVel": 5.0,
"defaultMaxAccel": 5.6,
"defaultMaxAngVel": 540.0,
"defaultMaxAngAccel": 720.0,
"defaultNominalVoltage": 12.0,
"robotMass": 48.0,
"robotMOI": 6.883,
"robotTrackwidth": 0.546,
"driveWheelRadius": 0.048,
"driveGearing": 5.143,
"maxDriveSpeed": 5.45,
"driveMotorType": "krakenX60",
"driveCurrentLimit": 60.0,
"wheelCOF": 1.2,
"flModuleX": 0.273,
"flModuleY": 0.273,
"frModuleX": 0.273,
"frModuleY": -0.273,
"blModuleX": -0.273,
"blModuleY": 0.273,
"brModuleX": -0.273,
"brModuleY": -0.273,
"bumperOffsetX": 0.0,
"bumperOffsetY": 0.0,
"robotFeatures": []
}
23 changes: 22 additions & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
package frc.robot;

import edu.wpi.first.wpilibj2.command.button.CommandXboxController;

public class Constants {
public static final boolean tuningMode = false;
public static final class IntakeSetpoints{
public static final double intake = -0.6;
public static final double slow = -0.3;
public static final double reverse = 0.7;
}
public static Mode currentMode = Mode.REAL;
public static enum Mode {
REAL,
SIM,
REAL,
REPLAY
}

public static class OIConstants {
public static final CommandXboxController driverController = new CommandXboxController(0);
public static final CommandXboxController operatorController = new CommandXboxController(1);
public static final double KAxisDeadband = 0.1;
}

public static enum Gamepiece {
ALGAE,
CORAL,
NONE,
SIM,
}
}
16 changes: 14 additions & 2 deletions src/main/java/frc/robot/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@

package frc.robot;

import java.io.IOException;

import edu.wpi.first.wpilibj.RobotBase;

public final class Main {
public final class Main {
private Main() {}

public String Bruh = "Bruh";

public static void main(String... args) {
RobotBase.startRobot(Robot::new);
RobotBase.startRobot(() -> {
try {
return new Robot();
} catch (IOException | org.json.simple.parser.ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
});
}
}
15 changes: 12 additions & 3 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,28 @@

package frc.robot;

import java.io.IOException;

import org.json.simple.parser.ParseException;
import org.littletonrobotics.junction.LogFileUtil;
import org.littletonrobotics.junction.LoggedRobot;
import org.littletonrobotics.junction.Logger;
import org.littletonrobotics.junction.networktables.NT4Publisher;
import org.littletonrobotics.junction.wpilog.WPILOGReader;
import org.littletonrobotics.junction.wpilog.WPILOGWriter;

import edu.wpi.first.wpilibj.PowerDistribution;
import edu.wpi.first.wpilibj.PowerDistribution.ModuleType;
import com.pathplanner.lib.pathfinding.Pathfinding;

import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.CommandScheduler;
import frc.robot.Util.LocalADStarAK;

public class Robot extends LoggedRobot {
private Command m_autonomousCommand;

private final RobotContainer m_robotContainer;

public Robot() {
public Robot() throws IOException, ParseException {
Logger.recordMetadata("ProjectName", "2025-Reefscape");
switch (Constants.currentMode) {
case REAL:
Expand Down Expand Up @@ -50,6 +54,11 @@ public void robotPeriodic() {
CommandScheduler.getInstance().run();
}

@Override
public void robotInit(){
Pathfinding.setPathfinder(new LocalADStarAK());
}

@Override
public void disabledInit() {}

Expand Down
Loading
Loading