Skip to content

Commit

Permalink
Fixed hyperlinks on right branch this time
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushYadlapati committed Aug 17, 2024
1 parent 7a1e9fe commit c461059
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/TrajectoryBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@ The current [TrajectoryBuilder Reference](https://rr.brott.dev/docs/v1-0/builder

### Table of Contents

#### [Path Primitives:](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#path-primitives-1)
1. [`waitSeconds(double: seconds)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#waitsecondsdouble-seconds)
2. [`turn(Math.toRadians(double: angle))`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#turnmathtoradiansdouble-angle)
3. [`turnTo(Math.toRadians(double: heading))`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#turntomathtoradiansdouble-heading)
4. [`setTangent(double: r)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#settangentdouble-r)
5. [`setReversed(boolean: reversed)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#setreversedboolean-reversed)
6. [`.strafeTo(new Vector2d(double: x, double: y))` & `.strafeToConstantHeading(new Vector2d(x: double, y: double))`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#strafetonew-vector2ddouble-x-double-y--strafetoconstantheadingnew-vector2dx-double-y-double)
7. [`strafeToLinearHeading(new Vector2d(x, y), Math.toRadians(heading))`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#strafetolinearheadingnew-vector2dx-y-mathtoradiansheading)
8. [`strafeToSplineHeading(new Vector2d(x, y), Math.toRadians(heading))`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#strafetosplineheadingnew-vector2dx-y-mathtoradiansheading)
9. [`lineToX(x: double) & .lineToXConstantHeading(x: double)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#linetoxx-double--linetoxconstantheadingx-double)
10. [`lineToY(y: double) & .lineToYConstantHeading(y: double)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#linetoyy-double--linetoyconstantheadingy-double)
11. [`splineTo(new Vector2d(x, y), tangent)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#splinetonew-vector2dx-y-tangent--heading-is--fracpi6-)

#### [Heading Primitives:](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#heading-primitives-1)
12. [`Tangent Heading (default)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#tangent-heading-default)
13. [`Constant Heading`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#constant-heading)
14. [`Linear Heading`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#linear-heading)
15. [`Spline Heading`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#spline-heading)
#### [Path Primitives:](https://ftc-23511.github.io/TrajectoryBuilder#path-primitives-1)
1. [`waitSeconds(double: seconds)`](https://ftc-23511.github.io/TrajectoryBuilder#waitsecondsdouble-seconds)
2. [`turn(Math.toRadians(double: angle))`](https://ftc-23511.github.io/TrajectoryBuilder#turnmathtoradiansdouble-angle)
3. [`turnTo(Math.toRadians(double: heading))`](https://ftc-23511.github.io/TrajectoryBuilder#turntomathtoradiansdouble-heading)
4. [`setTangent(double: r)`](https://ftc-23511.github.io/TrajectoryBuilder#settangentdouble-r)
5. [`setReversed(boolean: reversed)`](https://ftc-23511.github.io/TrajectoryBuilder#setreversedboolean-reversed)
6. [`.strafeTo(new Vector2d(double: x, double: y))` & `.strafeToConstantHeading(new Vector2d(x: double, y: double))`](https://ftc-23511.github.io/TrajectoryBuilder#strafetonew-vector2ddouble-x-double-y--strafetoconstantheadingnew-vector2dx-double-y-double)
7. [`strafeToLinearHeading(new Vector2d(x, y), Math.toRadians(heading))`](https://ftc-23511.github.io/TrajectoryBuilder#strafetolinearheadingnew-vector2dx-y-mathtoradiansheading)
8. [`strafeToSplineHeading(new Vector2d(x, y), Math.toRadians(heading))`](https://ftc-23511.github.io/TrajectoryBuilder#strafetosplineheadingnew-vector2dx-y-mathtoradiansheading)
9. [`lineToX(x: double) & .lineToXConstantHeading(x: double)`](https://ftc-23511.github.io/TrajectoryBuilder#linetoxx-double--linetoxconstantheadingx-double)
10. [`lineToY(y: double) & .lineToYConstantHeading(y: double)`](https://ftc-23511.github.io/TrajectoryBuilder#linetoyy-double--linetoyconstantheadingy-double)
11. [`splineTo(new Vector2d(x, y), tangent)`](https://ftc-23511.github.io/TrajectoryBuilder#splinetonew-vector2dx-y-tangent--heading-is--fracpi6-)

#### [Heading Primitives:](https://ftc-23511.github.io/TrajectoryBuilder#heading-primitives-1)
12. [`Tangent Heading (default)`](https://ftc-23511.github.io/TrajectoryBuilder#tangent-heading-default)
13. [`Constant Heading`](https://ftc-23511.github.io/TrajectoryBuilder#constant-heading)
14. [`Linear Heading`](https://ftc-23511.github.io/TrajectoryBuilder#linear-heading)
15. [`Spline Heading`](https://ftc-23511.github.io/TrajectoryBuilder#spline-heading)

### Path Primitives

The begin pose is the origin `(0,0)` with a heading of \\( \frac{\pi}{6} \\), with the exception of [`splineTo(new Vector2d(x, y), tangent)`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html#splinetonew-vector2dx-y-tangent--heading-is--fracpi6-), which has a heading of \\( \frac{\pi}{2} \\).
The begin pose is the origin `(0,0)` with a heading of \\( \frac{\pi}{6} \\), with the exception of [`splineTo(new Vector2d(x, y), tangent)`](https://ftc-23511.github.io/TrajectoryBuilder#splinetonew-vector2dx-y-tangent--heading-is--fracpi6-), which has a heading of \\( \frac{\pi}{2} \\).


#### `waitSeconds(double: seconds)`
Expand Down Expand Up @@ -359,7 +359,7 @@ The begin pose is the origin `(0,0)` with a heading of \\( \frac{\pi}{6} \\), wi
#### `lineToX(x: double)` & `.lineToXConstantHeading(x: double)`

> 🚨 **WARNING:** 🚨
> It is **HIGHLY RECOMMENDED** to use [`.strafeTo()`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html) instead of any `lineTo()`'s! 🚨
> It is **HIGHLY RECOMMENDED** to use [`.strafeTo()`](https://ftc-23511.github.io/TrajectoryBuilder) instead of any `lineTo()`'s! 🚨
```java
{{#rustdoc_include BuilderReference.java:90:95}}
Expand Down Expand Up @@ -399,7 +399,7 @@ The begin pose is the origin `(0,0)` with a heading of \\( \frac{\pi}{6} \\), wi
#### `lineToY(y: double)` & `.lineToYConstantHeading(y: double)`

> 🚨 **WARNING:** 🚨
> It is **HIGHLY RECOMMENDED** to use [`.strafeTo()`](https://arushyadlapati.github.io/cookbook/roadrunner_10/complete_trajectorybuilder_reference.html) instead of any `lineTo()`'s! 🚨
> It is **HIGHLY RECOMMENDED** to use [`.strafeTo()`](https://ftc-23511.github.io/TrajectoryBuilder) instead of any `lineTo()`'s! 🚨
```java
{{#rustdoc_include BuilderReference.java:99:104}}
Expand Down

0 comments on commit c461059

Please sign in to comment.