Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy96 committed Jun 27, 2024
2 parents da047d0 + 6a84ab6 commit ac24eb2
Show file tree
Hide file tree
Showing 64 changed files with 436 additions and 244 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,7 @@ simgui-ds.json
src/main/java/frc/robot/BuildConstants.java

# Battery Tracker
previous_battery.txt
previous_battery.txt

# Odometer
*-odometer.txt
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"pose estimation testing autos"
],
"defaultMaxVel": 5.1,
"defaultMaxAccel": 4.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 2160.0,
"defaultMaxAngAccel": 2160.0,
"maxModuleSpeed": 4.5
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.1.1
2024.1.2
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ dependencies {
nativeRelease wpi.java.vendor.jniRelease(wpi.platforms.desktop)
simulationRelease wpi.sim.enableRelease()

implementation 'com.github.lasarobotics:PurpleLib:2024.4.6'
implementation 'com.github.lasarobotics:PurpleLib:cf9cba2e03'

implementation 'org.apache.commons:commons-math3:3.+'

testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
testImplementation 'org.mockito:mockito-core:3.+'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.+'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'

annotationProcessor "org.littletonrobotics.akit.junction:junction-autolog:$AdvantageKitJSON.version"
}
Expand Down
Binary file added logs/sim_2024-06-06_18-30-56.hoot
Binary file not shown.
42 changes: 42 additions & 0 deletions src/main/deploy/pathplanner/autos/sideways auto.auto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,48 @@
"data": {
"pathName": "go sideways"
}
},
{
"type": "path",
"data": {
"pathName": "sideways opposite "
}
},
{
"type": "path",
"data": {
"pathName": "go sideways"
}
},
{
"type": "path",
"data": {
"pathName": "sideways opposite "
}
},
{
"type": "path",
"data": {
"pathName": "go sideways"
}
},
{
"type": "path",
"data": {
"pathName": "sideways opposite "
}
},
{
"type": "path",
"data": {
"pathName": "go sideways"
}
},
{
"type": "path",
"data": {
"pathName": "sideways opposite "
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Anywhere_Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Center_CloseBottom.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Center_CloseBottom2.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Center_CloseTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Center_CloseTop2.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseBottom_Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseBottom_Center2.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseMid_Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseMid_CloseTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseMid_FarMid.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseMid_FarTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseTop_Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseTop_CloseMid.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseTop_FarTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CloseTop_FarTop2.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/FarMidTop_LeftStage.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/FarMid_LeftStage.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/FarTop_LeftStage.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Leave from speaker.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/LeftStage_FarMidTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Left_CloseMid.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Left_CloseTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Left_CloseTop2.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Left_FarTop.path
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Right_CloseBottom.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.1,
"maxAcceleration": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 2160.0,
"maxAngularAcceleration": 2160.0
},
Expand Down
Loading

0 comments on commit ac24eb2

Please sign in to comment.