generated from StuyPulse/Phil
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from StuyPulse/se/swerve
Swerve subsystem and commands
- Loading branch information
Showing
22 changed files
with
24,754 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
{ | ||
"NetworkTables": { | ||
"Persistent Values": { | ||
"open": false | ||
}, | ||
"transitory": { | ||
"SmartDashboard": { | ||
"Odometry": { | ||
"open": true | ||
}, | ||
"Swerve": { | ||
"Drive": { | ||
"open": true | ||
}, | ||
"Modules": { | ||
"Back Left": { | ||
"open": true | ||
}, | ||
"Back Right": { | ||
"open": true | ||
}, | ||
"Front Left": { | ||
"open": true | ||
}, | ||
"Front Right": { | ||
"open": true | ||
}, | ||
"open": true | ||
}, | ||
"Turn": { | ||
"open": true | ||
}, | ||
"open": true | ||
}, | ||
"open": true | ||
} | ||
}, | ||
"types": { | ||
"/FMSInfo": "FMSInfo", | ||
"/SmartDashboard/Autonomous": "String Chooser", | ||
"/SmartDashboard/Field": "Field2d" | ||
} | ||
}, | ||
"NetworkTables Settings": { | ||
"mode": "Client (NT3)", | ||
"serverTeam": "694" | ||
}, | ||
"Plots": { | ||
"Plot <0>": { | ||
"plots": [ | ||
{ | ||
"height": 474, | ||
"series": [ | ||
{ | ||
"color": [ | ||
0.2980392277240753, | ||
0.44705885648727417, | ||
0.6901960968971252, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Left/Turn Voltage" | ||
} | ||
] | ||
} | ||
], | ||
"window": { | ||
"visible": false | ||
} | ||
}, | ||
"Plot <1>": { | ||
"plots": [ | ||
{ | ||
"height": 769, | ||
"series": [ | ||
{ | ||
"color": [ | ||
0.2980392277240753, | ||
0.44705885648727417, | ||
0.6901960968971252, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Left/Angle" | ||
}, | ||
{ | ||
"color": [ | ||
0.3333333432674408, | ||
0.658823549747467, | ||
0.4078431725502014, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Right/Angle" | ||
}, | ||
{ | ||
"color": [ | ||
0.3333333432674408, | ||
0.658823549747467, | ||
0.4078431725502014, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Left/Angle" | ||
}, | ||
{ | ||
"color": [ | ||
0.7686275243759155, | ||
0.30588236451148987, | ||
0.32156863808631897, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Right/Angle" | ||
}, | ||
{ | ||
"color": [ | ||
0.5058823823928833, | ||
0.44705885648727417, | ||
0.7019608020782471, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Left/Target Angle" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"Plot <2>": { | ||
"plots": [ | ||
{ | ||
"height": 726, | ||
"series": [ | ||
{ | ||
"color": [ | ||
0.8666667342185974, | ||
0.5176470875740051, | ||
0.32156863808631897, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Right/Turn Voltage" | ||
}, | ||
{ | ||
"color": [ | ||
0.3333333432674408, | ||
0.658823549747467, | ||
0.4078431725502014, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Left/Turn Voltage" | ||
}, | ||
{ | ||
"color": [ | ||
0.7686275243759155, | ||
0.30588236451148987, | ||
0.32156863808631897, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Right/Turn Voltage" | ||
}, | ||
{ | ||
"color": [ | ||
0.5058823823928833, | ||
0.44705885648727417, | ||
0.7019608020782471, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Left/Turn Voltage" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
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,127 @@ | ||
{ | ||
"NTProvider": { | ||
"types": { | ||
"/FMSInfo": "FMSInfo", | ||
"/LiveWindow/SimModule": "Subsystem", | ||
"/LiveWindow/Ungrouped/Scheduler": "Scheduler", | ||
"/LiveWindow/Ungrouped/navX-Sensor[4]": "Gyro", | ||
"/SmartDashboard/Autonomous": "String Chooser", | ||
"/SmartDashboard/Field": "Field2d" | ||
}, | ||
"windows": { | ||
"/SmartDashboard/Autonomous": { | ||
"window": { | ||
"visible": true | ||
} | ||
}, | ||
"/SmartDashboard/Field": { | ||
"window": { | ||
"visible": true | ||
} | ||
} | ||
} | ||
}, | ||
"NetworkTables": { | ||
"transitory": { | ||
"SmartDashboard": { | ||
"Driver Settings": { | ||
"Turn": { | ||
"open": true | ||
} | ||
}, | ||
"Field": { | ||
"open": true | ||
}, | ||
"Swerve": { | ||
"Back Left": { | ||
"open": true | ||
}, | ||
"Modules": { | ||
"Back Left": { | ||
"open": true | ||
}, | ||
"Back Right": { | ||
"open": true | ||
}, | ||
"Front Left": { | ||
"open": true | ||
}, | ||
"Front Right": { | ||
"open": true | ||
}, | ||
"open": true | ||
}, | ||
"open": true | ||
}, | ||
"open": true | ||
} | ||
} | ||
}, | ||
"NetworkTables Info": { | ||
"Clients": { | ||
"open": true | ||
}, | ||
"Connections": { | ||
"open": true | ||
}, | ||
"Server": { | ||
"open": true | ||
}, | ||
"visible": true | ||
}, | ||
"Plot": { | ||
"Plot <0>": { | ||
"plots": [ | ||
{ | ||
"height": 351, | ||
"series": [ | ||
{ | ||
"color": [ | ||
0.2980392277240753, | ||
0.44705885648727417, | ||
0.6901960968971252, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Left/Drive Voltage" | ||
}, | ||
{ | ||
"color": [ | ||
0.8666667342185974, | ||
0.5176470875740051, | ||
0.32156863808631897, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Back Right/Drive Voltage" | ||
}, | ||
{ | ||
"color": [ | ||
0.3333333432674408, | ||
0.658823549747467, | ||
0.4078431725502014, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Left/Drive Voltage" | ||
}, | ||
{ | ||
"color": [ | ||
0.7686275243759155, | ||
0.30588236451148987, | ||
0.32156863808631897, | ||
1.0 | ||
], | ||
"id": "NT:/SmartDashboard/Swerve/Modules/Front Right/Drive Voltage" | ||
} | ||
] | ||
} | ||
], | ||
"window": { | ||
"name": "Drive Voltage" | ||
} | ||
}, | ||
"Plot <1>": { | ||
"window": { | ||
"visible": false | ||
} | ||
} | ||
} | ||
} |
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,99 @@ | ||
{ | ||
"waypoints": [ | ||
{ | ||
"anchorPoint": { | ||
"x": 2.0, | ||
"y": 0.7536650970737852 | ||
}, | ||
"prevControl": null, | ||
"nextControl": { | ||
"x": 3.0, | ||
"y": 0.7536650970737852 | ||
}, | ||
"holonomicAngle": 0, | ||
"isReversal": false, | ||
"velOverride": null, | ||
"isLocked": false, | ||
"isStopPoint": false, | ||
"stopEvent": { | ||
"names": [], | ||
"executionBehavior": "parallel", | ||
"waitBehavior": "none", | ||
"waitTime": 0 | ||
} | ||
}, | ||
{ | ||
"anchorPoint": { | ||
"x": 6.0, | ||
"y": 0.75 | ||
}, | ||
"prevControl": { | ||
"x": 6.0, | ||
"y": 0.7385808318625183 | ||
}, | ||
"nextControl": { | ||
"x": 6.0, | ||
"y": 0.7614191681374817 | ||
}, | ||
"holonomicAngle": 0, | ||
"isReversal": false, | ||
"velOverride": null, | ||
"isLocked": false, | ||
"isStopPoint": false, | ||
"stopEvent": { | ||
"names": [], | ||
"executionBehavior": "parallel", | ||
"waitBehavior": "none", | ||
"waitTime": 0 | ||
} | ||
}, | ||
{ | ||
"anchorPoint": { | ||
"x": 6.0, | ||
"y": 0.75 | ||
}, | ||
"prevControl": { | ||
"x": 6.00681785124254, | ||
"y": 0.7308267607988216 | ||
}, | ||
"nextControl": { | ||
"x": 6.00681785124254, | ||
"y": 0.7308267607988216 | ||
}, | ||
"holonomicAngle": 90.0, | ||
"isReversal": true, | ||
"velOverride": null, | ||
"isLocked": false, | ||
"isStopPoint": true, | ||
"stopEvent": { | ||
"names": [], | ||
"executionBehavior": "parallel", | ||
"waitBehavior": "none", | ||
"waitTime": 0 | ||
} | ||
}, | ||
{ | ||
"anchorPoint": { | ||
"x": 6.0, | ||
"y": 3.0 | ||
}, | ||
"prevControl": { | ||
"x": 6.0, | ||
"y": 2.1185800412541402 | ||
}, | ||
"nextControl": null, | ||
"holonomicAngle": 90.0, | ||
"isReversal": false, | ||
"velOverride": null, | ||
"isLocked": false, | ||
"isStopPoint": false, | ||
"stopEvent": { | ||
"names": [], | ||
"executionBehavior": "parallel", | ||
"waitBehavior": "none", | ||
"waitTime": 0 | ||
} | ||
} | ||
], | ||
"markers": [] | ||
} |
Oops, something went wrong.