You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/nextrunner/changes-from-rr.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,28 @@ such as `com.acmerobotics.roadrunner.paths`.
10
10
This is similar to, but not the same as, the RoadRunner 0.5 package layout.
11
11
12
12
Unfortunately, due to this change, NextRunner is not backwards compatible
13
-
with RoadRunner 1.0.
13
+
with RoadRunner 1.0 (though migration is very easy!).
14
14
However, IntelliJ IDEA and Android Studio will automatically import classes,
15
15
so you do not need to worry about the package locations.
16
16
17
17
## 2. Trajectory Creation
18
18
19
-
The [`Drive` interface](https://javadoc.io/doc/dev.nextftc.nextrunner/ftc/latest/ftc/com.acmerobotics.roadrunner.ftc/-drive/index.html)
19
+
The [`Drive` interface](http://rr.zharel.me/ftc/com.acmerobotics.roadrunner.ftc/-drive/index.html)
20
20
has a `trajectoryBuilder` method, allowing you to create trajectories without `Action`s.
21
21
The API of the [`TrajectoryBuilder` class](https://javadoc.io/doc/dev.nextftc.nextrunner/core/latest/core/com.acmerobotics.roadrunner.trajectories/-trajectory-builder/index.html)
22
22
is very similar to that of `TrajectoryActionBuilder`,
23
23
but its `build` method returns a `List<Trajectory>` instead of an `Action`.
24
24
Alternatively, the `buildToComposite` method returns a `CompositeTrajectory` object,
25
25
which may be easier to use.
26
26
27
+
We also offer methods to create and profile paths without a builder,
28
+
which is documented [here](traj-generation)
27
29
30
+
## 3. Action Improvements
31
+
32
+
NextRunner includes multiple improvements to RoadRunner's Action framework.
33
+
Notably, it includes an `ActionRunner` object to manage asynchronous action queues,
34
+
and requirements and interruption features for `Action`s themselves.
35
+
36
+
The [Creating](actions/creating-actions) and [Using Actions](actions/using-actions)
Copy file name to clipboardExpand all lines: src/nextrunner/examples/action-builder.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Both `TankDrive` and `MecanumDrive` have an `actionBuilder` method,
6
6
with an optional `startPose: Pose2d` parameter.
7
7
If `startPose` is not provided, it defaults to `localizer.pose`.
8
8
9
+
[All of the `TrajectoryActionBuilder` functions are documented here.](http://rr.zharel.me/actions/com.acmerobotics.roadrunner.actions/-trajectory-action-builder/index.html)
Copy file name to clipboardExpand all lines: src/nextrunner/examples/follower.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ which will eventually be discussed on a page of this guide.
16
16
The following (haha) example uses `TimeFollower`,
17
17
but it can be switched out for `DisplacementFollower` with no other changes to the `OpMode`.
18
18
19
+
[All of the `TrajectoryBuilder` functions are documented here](http://rr.zharel.me/core/com.acmerobotics.roadrunner.trajectories/-trajectory-builder/index.html).
Copy file name to clipboardExpand all lines: src/nextrunner/traj-generation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ We recommend using the `trajectoryBuilder` API's
85
85
86
86
## Types of `PosePath`
87
87
88
-
NextRunner also includes [three default functions](https://javadoc.io/static/dev.nextftc.nextrunner/core/2.4.0/core/com.acmerobotics.roadrunner.paths/-position-path/index.html#-1473791754%2FFunctions%2F-431355489)
88
+
NextRunner also includes [three default functions](http://rr.zharel.me/core/com.acmerobotics.roadrunner.paths/-position-path/index.html#1182961430%2FFunctions%2F-431355489)
89
89
in the `PositionPath` interface to add heading paths,
0 commit comments