Skip to content

Commit

Permalink
feat: added bunnybots map
Browse files Browse the repository at this point in the history
  • Loading branch information
RealSirLancelot committed Nov 12, 2024
1 parent e9fe301 commit 700093d
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
```
./gradlew spotlessApply
```

## Autonomous Documentation

Set field image to bunnybotsmap.png with a scale of 68
Binary file added bunnybotsmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/main/deploy/pathplanner/autos/New Auto.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Test Path"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
54 changes: 54 additions & 0 deletions src/main/deploy/pathplanner/paths/Test Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 1.0,
"y": 5.0
},
"prevControl": null,
"nextControl": {
"x": 0.5625,
"y": 4.953125
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.0,
"y": 5.0
},
"prevControl": {
"x": 2.0,
"y": 5.0
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"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
}
54 changes: 54 additions & 0 deletions src/main/deploy/pathplanner/paths/Top Bucket Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 0.4429442528408664,
"y": 2.87806054281588
},
"prevControl": null,
"nextControl": {
"x": 1.4429442528408662,
"y": 2.87806054281588
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.302773111664035,
"y": 2.87806054281588
},
"prevControl": {
"x": 3.3027731116640346,
"y": 2.87806054281588
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"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
}
23 changes: 23 additions & 0 deletions src/main/deploy/pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"robotWidth": 0.648,
"robotLength": 0.648,
"holonomicMode": true,
"pathFolders": [],
"autoFolders": [
"New Folder"
],
"defaultMaxVel": 3.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 540.0,
"defaultMaxAngAccel": 720.0,
"robotMass": 74.088,
"robotMOI": 6.883,
"robotWheelbase": 0.6477,
"robotTrackwidth": 0.648,
"driveWheelRadius": 0.05,
"driveGearing": 6.0,
"maxDriveSpeed": 5.45,
"driveMotorType": "vortex",
"driveCurrentLimit": 60.0,
"wheelCOF": 1.19
}
2 changes: 1 addition & 1 deletion src/main/deploy/swerve/modules/physicalproperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"drive": {
"diameter": 3.9,
"gearRatio": 16.9,
"gearRatio": 6,
"factor": 0
}
},
Expand Down

0 comments on commit 700093d

Please sign in to comment.