Skip to content

Commit d321e3f

Browse files
committed
edit autos to include note filtering stuff
1 parent 37cc387 commit d321e3f

12 files changed

Lines changed: 123 additions & 15 deletions

File tree

src/main/deploy/pathplanner/autos/$a!p-b1-c1-c2.auto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"pathName": "get the note"
3030
}
3131
},
32+
{
33+
"type": "named",
34+
"data": {
35+
"name": "B1"
36+
}
37+
},
3238
{
3339
"type": "named",
3440
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$apb1c(12)!score b1 c1"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C1"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {
@@ -83,6 +95,12 @@
8395
"pathName": "$apb1c(12)!c2"
8496
}
8597
},
98+
{
99+
"type": "named",
100+
"data": {
101+
"name": "C2"
102+
}
103+
},
86104
{
87105
"type": "named",
88106
"data": {

src/main/deploy/pathplanner/autos/$a!p-b1-c2-c3.auto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"pathName": "get the note"
3030
}
3131
},
32+
{
33+
"type": "named",
34+
"data": {
35+
"name": "B1"
36+
}
37+
},
3238
{
3339
"type": "named",
3440
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$apb1c(23)!c2"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C2"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {
@@ -83,6 +95,12 @@
8395
"pathName": "$apb1c(23)!c3"
8496
}
8597
},
98+
{
99+
"type": "named",
100+
"data": {
101+
"name": "C3"
102+
}
103+
},
86104
{
87105
"type": "named",
88106
"data": {

src/main/deploy/pathplanner/autos/$c!p-b2-c3.auto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
"type": "sequential",
1212
"data": {
1313
"commands": [
14+
{
15+
"type": "named",
16+
"data": {
17+
"name": "B2"
18+
}
19+
},
1420
{
1521
"type": "sequential",
1622
"data": {
@@ -78,6 +84,12 @@
7884
"pathName": "$cpb2c3!c3"
7985
}
8086
},
87+
{
88+
"type": "named",
89+
"data": {
90+
"name": "C3"
91+
}
92+
},
8193
{
8294
"type": "named",
8395
"data": {

src/main/deploy/pathplanner/autos/$s!p-c3-c4.auto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"pathName": "$spc(34)!p-c3"
2424
}
2525
},
26+
{
27+
"type": "named",
28+
"data": {
29+
"name": "C3"
30+
}
31+
},
2632
{
2733
"type": "named",
2834
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$spc(34)!c4"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C4"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {

src/main/deploy/pathplanner/autos/$s!p-c3-c5.auto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"pathName": "$spc(35)!p-c3"
2424
}
2525
},
26+
{
27+
"type": "named",
28+
"data": {
29+
"name": "C3"
30+
}
31+
},
2632
{
2733
"type": "named",
2834
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$spc(35)!c5"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C5"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {

src/main/deploy/pathplanner/autos/$s!p-c4-c3.auto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"pathName": "$spc(43)!p-c4"
2424
}
2525
},
26+
{
27+
"type": "named",
28+
"data": {
29+
"name": "C4"
30+
}
31+
},
2632
{
2733
"type": "named",
2834
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$spc(43)!c3"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C3"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {

src/main/deploy/pathplanner/autos/$s!p-c4-c5.auto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"pathName": "$spc(45)!p-c4"
2424
}
2525
},
26+
{
27+
"type": "named",
28+
"data": {
29+
"name": "C4"
30+
}
31+
},
2632
{
2733
"type": "named",
2834
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$spc(45)!c5"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C5"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {

src/main/deploy/pathplanner/autos/$s!p-c5-c3.auto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"pathName": "$spc(53)!p-c5"
2424
}
2525
},
26+
{
27+
"type": "named",
28+
"data": {
29+
"name": "C5"
30+
}
31+
},
2632
{
2733
"type": "named",
2834
"data": {
@@ -53,6 +59,12 @@
5359
"pathName": "$spc(53)!c3"
5460
}
5561
},
62+
{
63+
"type": "named",
64+
"data": {
65+
"name": "C3"
66+
}
67+
},
5668
{
5769
"type": "named",
5870
"data": {

src/main/java/frc/robot/BuildConstants.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ public final class BuildConstants {
55
public static final String MAVEN_GROUP = "";
66
public static final String MAVEN_NAME = "2024RobotCode";
77
public static final String VERSION = "unspecified";
8-
public static final int GIT_REVISION = 320;
9-
public static final String GIT_SHA = "7e4a0469a390a05483a79d80ab72f641679887d4";
10-
public static final String GIT_DATE = "2024-08-16 13:52:21 EDT";
8+
public static final int GIT_REVISION = 321;
9+
public static final String GIT_SHA = "37cc387fc312ccfeee5787b06b5d201dc503fda5";
10+
public static final String GIT_DATE = "2024-08-16 14:13:15 EDT";
1111
public static final String GIT_BRANCH = "note-filtering";
12-
public static final String BUILD_DATE = "2024-08-16 14:12:54 EDT";
13-
public static final long BUILD_UNIX_TIME = 1723831974633L;
12+
public static final String BUILD_DATE = "2024-08-16 14:41:26 EDT";
13+
public static final long BUILD_UNIX_TIME = 1723833686448L;
1414
public static final int DIRTY = 1;
1515

1616
private BuildConstants() {}

src/main/java/frc/robot/commands/AimbotStatic.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,5 +258,6 @@ public boolean isFinished() {
258258
Logger.recordOutput("i am currently this angle", drive.getRotation().getDegrees());
259259
return pid.atSetpoint() && shooter.atFlywheelSetpoints() && pivot.atGoal()
260260
|| (Timer.getFPGATimestamp() - startTime > 1.323);
261+
// return true;
261262
}
262263
}

0 commit comments

Comments
 (0)