Skip to content

Commit fef4406

Browse files
Made CTRE stuff reflective. (#20)
* Made CTRE stuff reflective. Signed-off-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com> * Removed required vdep on CTRE. Signed-off-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com> --------- Signed-off-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com> Co-authored-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com>
1 parent 9e81e39 commit fef4406

File tree

13 files changed

+267
-393
lines changed

13 files changed

+267
-393
lines changed

examples/drivebase_only_2026/src/main/deploy/swerve/falcon/swervedrive.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"$schema": "https://broncbotz3481.github.io/YAGSL-Example/schemas/swervedrive_schema.json",
32
"imu": {
4-
"type": "navx",
3+
"type": "pigeon2",
54
"id": 13,
65
"canbus": "canivore"
76
},

examples/drivebase_only_2026/src/main/deploy/swerve/neo/modules/backleft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"canbus": null
1111
},
1212
"encoder": {
13-
"type": "cancoder",
13+
"type": "canandmag",
1414
"id": 12,
1515
"canbus": null
1616
},

examples/drivebase_only_2026/src/main/deploy/swerve/neo/modules/backright.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"canbus": null
1111
},
1212
"encoder": {
13-
"type": "cancoder",
13+
"type": "canandmag",
1414
"id": 11,
1515
"canbus": null
1616
},

examples/drivebase_only_2026/src/main/deploy/swerve/neo/modules/frontleft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"canbus": null
1111
},
1212
"encoder": {
13-
"type": "cancoder",
13+
"type": "canandmag",
1414
"id": 9,
1515
"canbus": null
1616
},

examples/drivebase_only_2026/src/main/deploy/swerve/neo/modules/frontright.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"canbus": null
1111
},
1212
"encoder": {
13-
"type": "cancoder",
13+
"type": "canandmag",
1414
"id": 10,
1515
"canbus": null
1616
},

examples/drivebase_only_2026/src/main/java/frc/robot/RobotContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class RobotContainer
3737
final CommandXboxController driverXbox = new CommandXboxController(0);
3838
// The robot's subsystems and commands are defined here...
3939
private final SwerveSubsystem drivebase = new SwerveSubsystem(new File(Filesystem.getDeployDirectory(),
40-
"swerve/neo"));
40+
"swerve/falcon"));
4141

4242
// Establish a Sendable Chooser that will be able to be sent to the SmartDashboard, allowing selection of desired auto
4343
private final SendableChooser<Command> autoChooser = new SendableChooser<>();

examples/drivebase_only_2026/vendordeps/Phoenix5-replay-5.36.0.json

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)