Skip to content

Commit

Permalink
Add note to 3D field docs about unsupported WPILib types
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 30, 2023
1 parent 05ffc74 commit 4ae6b15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/tabs/3D-FIELD.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ Logger.recordOutput("MyPoseArray", poseA, poseB);
Logger.recordOutput("MyPoseArray", new Pose3d[] {poseA, poseB});
```

> Note: Without AdvantageKit, WPILib does not currently support structured logging of trajectories (as of 2024.1.1-beta-2). Keep an eye out for updates on this feature. In the meantime, trajectories can be logged using `Field2d` or as an array of poses.
WPILib's [`Field2d`](https://docs.wpilib.org/en/stable/docs/software/dashboards/glass/field2d-widget.html) class can also be used to log several sets of 2D pose data together.

### Legacy Format

Alternatively, pose data can be stored as a numeric array describing one or more poses with the formats shown below.
Expand Down

0 comments on commit 4ae6b15

Please sign in to comment.