Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
de0948c
Reformat autonloader and moved non-pathplanned auton commands to new …
DragonflyRobotics Apr 12, 2023
30926d7
Added the PhotonSybsystem
DragonflyRobotics Apr 12, 2023
96c2a0b
Fixed issue with Null Pointers
marvalarva2929 Apr 13, 2023
11c1131
rid of ModuleGroup, moved ModuleState to Module
marvalarva2929 Apr 16, 2023
a3842f2
Update README.md
marvalarva2929 Apr 16, 2023
bef6d84
Attempted to fix the 5-radian problem to no avail
DragonflyRobotics Apr 17, 2023
2ab60e3
Added some basic Suffleboard stuffgit add .!
DragonflyRobotics Apr 17, 2023
1446a20
made small changes
DragonflyRobotics Apr 17, 2023
7e97afe
Added decelleration and fixed resetMotors; All is wellgit add .!
DragonflyRobotics Apr 21, 2023
40e9f0f
Added wheel autoresetgit add .!
DragonflyRobotics Apr 25, 2023
78bdbb8
Auton worksgit add .!
DragonflyRobotics Apr 25, 2023
a3afac5
Tune starting angles and work on the angle stuff.
InvisibleTiger Apr 26, 2023
b8264aa
Got swerveautonbuilder working and auton but need to implement odom
DragonflyRobotics Apr 28, 2023
c198960
Merge pull request #1 from frc5417/Reformatting
DragonflyRobotics Apr 28, 2023
8cb8435
Gradle files
DragonflyRobotics Apr 28, 2023
4e796e3
Added odometry
roboticsDev1584 Apr 28, 2023
f73e644
Bunch of changes with custom pose exponentiation
DragonflyRobotics May 2, 2023
391e84f
Refactores
marvalarva2929 May 2, 2023
2cd750f
Changed Kinematics, 180 turn code, odom prototype
marvalarva2929 May 3, 2023
c7b5036
removed some unecessary code
marvalarva2929 May 3, 2023
f0a4148
180 code changes
roboticsDev1584 May 8, 2023
3047b30
Merged current changes
roboticsDev1584 May 8, 2023
1c4fa53
Modified custom odometry wheel delta code
roboticsDev1584 May 10, 2023
e5e538d
old update
marvalarva2929 May 10, 2023
7443726
Merge branch 'PathPlannerAuton' of https://github.com/frc5417/CustomS…
marvalarva2929 May 11, 2023
23e18b9
Various refactors + changed AHRS angle to radians
marvalarva2929 May 12, 2023
285fb99
Moved fieldcentric code to driveBase, scaled joystick vels
marvalarva2929 May 12, 2023
f1d71ce
Odometry updates and test linear auton
roboticsDev1584 May 12, 2023
ebffea6
made prototype for 180 degree turn optimization
marvalarva2929 May 16, 2023
2f439db
Changed wheelDeltas to be positive or negative
marvalarva2929 May 15, 2023
9d6a5e9
Fixed 180 code and delta dist
roboticsDev1584 May 16, 2023
21055b9
Minor fix
marvalarva2929 May 17, 2023
c69dc80
Fixed module 4 angle motor issues
roboticsDev1584 May 18, 2023
f4370f0
Merge branch 'PathPlannerAuton' of https://github.com/frc5417/CustomS…
roboticsDev1584 May 18, 2023
2b0cacb
Update README.md
team5417 May 19, 2023
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
Binary file modified .gradle/7.5.1/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/7.5.1/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/7.5.1/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/7.5.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/7.5.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/7.5.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/7.5.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/7.5.1/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ Team 5417's code for the swerve bot, _Vira_!
[![CI](https://github.com/frc5417/CustomSwerve/actions/workflows/main.yml/badge.svg)](https://github.com/frc5417/CustomSwerve/actions/workflows/main.yml)

This is our custom algorithm for swerve. Here are the developers:
* Krishna Shah
* Jordan Escobedo
* Rupak Bhattacharya
* Pranav Gattineni
* Brennan Coil
* Lucas Hatcher
* Joshua Vigel
* Matthew Caldarola
* Jeevan Adhya Vinoth Babu
* Ethan Wallraven

Krishna Shah
Jordan Escobedo
Rupak Bhattacharya
Pranav Gattineni
Brennan Coil
Lucas Hatcher
Joshua Vigel
Matthew Caldarola
Jeevan Adhya Vinoth Babu
Ethan Wallraven
Boden Smith
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def deployArtifact = deploy.targets.roborio.artifacts.frcJava
wpi.java.debugJni = false

// Set this to true to enable desktop support.
def includeDesktopSupport = false
def includeDesktopSupport = true

// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
// Also defines JUnit 5.
Expand Down
Empty file modified gradlew.bat
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions networktables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
103 changes: 103 additions & 0 deletions simgui-ds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"Keyboard 0 Settings": {
"window": {
"visible": true
}
},
"keyboardJoysticks": [
{
"axisConfig": [
{
"decKey": 65,
"incKey": 68
},
{
"decKey": 87,
"incKey": 83
},
{
"decKey": 69,
"decayRate": 0.0,
"incKey": 82,
"keyRate": 0.009999999776482582
},
{},
{
"decKey": 264,
"incKey": 265
}
],
"axisCount": 5,
"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
}
],
"axisCount": 2,
"buttonCount": 6,
"buttonKeys": [
260,
268,
266,
261,
269,
267
],
"povCount": 0
},
{
"axisCount": 0,
"buttonCount": 0,
"povCount": 0
}
],
"robotJoysticks": [
{
"guid": "Keyboard0"
}
]
}
103 changes: 103 additions & 0 deletions simgui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"HALProvider": {
"Other Devices": {
"SPARK MAX [10]": {
"header": {
"open": true
}
},
"SPARK MAX [11]": {
"header": {
"open": true
}
},
"SPARK MAX [20]": {
"header": {
"open": true
}
},
"SPARK MAX [21]": {
"header": {
"open": true
}
},
"SPARK MAX [30]": {
"header": {
"open": true
}
},
"SPARK MAX [31]": {
"header": {
"open": true
}
},
"SPARK MAX [40]": {
"header": {
"open": true
}
},
"SPARK MAX [41]": {
"header": {
"open": true
}
},
"navX-Sensor[0]": {
"header": {
"open": true
}
}
},
"RoboRIO": {
"5V Rail": {
"open": true
},
"6V Rail": {
"open": true
},
"RoboRIO Input": {
"open": true
},
"window": {
"visible": true
}
}
},
"NTProvider": {
"types": {
"/FMSInfo": "FMSInfo",
"/SmartDashboard/SendableChooser[0]": "String Chooser"
},
"windows": {
"/SmartDashboard/SendableChooser[0]": {
"window": {
"visible": true
}
}
}
},
"NetworkTables View": {
"visible": false
},
"Plot": {
"Plot <0>": {
"plots": [
{
"height": 332
}
],
"window": {
"visible": false
}
},
"Plot <1>": {
"plots": [
{
"height": 332
}
],
"window": {
"visible": false
}
}
}
}
74 changes: 74 additions & 0 deletions src/main/deploy/pathplanner/deploy/pathplanner/New Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.0,
"y": 3.0
},
"prevControl": null,
"nextControl": {
"x": 2.0,
"y": 3.0
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 3.0,
"y": 5.0
},
"prevControl": {
"x": 3.0,
"y": 4.0
},
"nextControl": {
"x": 3.0,
"y": 4.0
},
"holonomicAngle": 0,
"isReversal": true,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.0,
"y": 3.0
},
"prevControl": {
"x": 4.0,
"y": 3.0
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": []
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/straight_line.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.0,
"y": 1.0
},
"prevControl": null,
"nextControl": {
"x": 1.0,
"y": 1.486914226526235
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.0,
"y": 2.0
},
"prevControl": {
"x": 0.9999999999999999,
"y": 1.0
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": []
}
Loading