Skip to content

Commit 8f79069

Browse files
committed
add path export
1 parent 212b0a3 commit 8f79069

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

TeamCode/src/main/java/org/firstinspires/ftc/teamcode/opmode/auton/CloseAuton.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ open class CloseAuton(val isRed: Boolean) : OpMode() {
4242

4343
val preRowOne = PedroPath(
4444
pedro.follower, Line(
45-
p(Vec2d(48, 96)), p(Vec2d(48, 92))
45+
p(Vec2d(48, 104)), p(Vec2d(48, 92))
4646
),
4747
LinearHeading(p(135.0), p(5.0))
4848
)
@@ -56,7 +56,7 @@ open class CloseAuton(val isRed: Boolean) : OpMode() {
5656

5757
val shootRowOne = PedroPath(
5858
pedro.follower, CubicBezier(
59-
p(Vec2d(26, 92)),
59+
p(Vec2d(26, 94)),
6060
p(Vec2d(28, 96)),
6161
p(Vec2d(32, 96)),
6262
p(Vec2d(48, 110))
@@ -82,7 +82,7 @@ open class CloseAuton(val isRed: Boolean) : OpMode() {
8282

8383
val shootRowTwo = PedroPath(
8484
pedro.follower, CubicBezier(
85-
p(Vec2d(9, 70)),
85+
p(Vec2d(16, 70)),
8686
p(Vec2d(48, 70)),
8787
p(Vec2d(48, 70)),
8888
p(Vec2d(48, 120)),

paths/closeAuton.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"startPoint":{"x":26,"y":129,"heading":"linear","startDeg":90,"endDeg":180},"lines":[{"name":"shootBallOne","endPoint":{"x":48,"y":104,"heading":"linear","startDeg":145,"endDeg":135},"controlPoints":[],"color":"#586C75"},{"name":"preRowOne","endPoint":{"x":48,"y":92,"heading":"linear","reverse":false,"startDeg":135,"endDeg":0},"controlPoints":[],"color":"#B959D9"},{"name":"intakeRowOne","endPoint":{"x":25,"y":94,"heading":"linear","reverse":false,"startDeg":0,"endDeg":0},"controlPoints":[],"color":"#8BB8D7"},{"name":"shootRowOne","endPoint":{"x":48,"y":110,"heading":"linear","reverse":false,"startDeg":0,"endDeg":140},"controlPoints":[{"x":28,"y":96},{"x":32,"y":96}],"color":"#988685"},{"name":"preRowTwo","endPoint":{"x":48,"y":78,"heading":"linear","reverse":false,"startDeg":135,"endDeg":0},"controlPoints":[{"x":60,"y":76},{"x":54,"y":76}],"color":"#686B55"},{"name":"intakeRowTwo","endPoint":{"x":16,"y":70,"heading":"linear","reverse":false,"startDeg":5,"endDeg":10},"controlPoints":[],"color":"#CA9B89"},{"name":"shootRowTwo","endPoint":{"x":48,"y":120,"heading":"tangential","reverse":false},"controlPoints":[{"x":48,"y":70},{"x":48,"y":70}],"color":"#D99876"}],"shapes":[]}

0 commit comments

Comments
 (0)