This repository was archived by the owner on Sep 5, 2025. It is now read-only.
v2.4.0
v2.4.0 focuses on making path and trajectory creation easier for end users. Its features are primarily documented here.
What's Changed
- 1D Bezier Curves can be created using
BezierCurve1d.fromRRSpline() - 2D Bezier Curves can be created using
fromPoints()with either a list or vararg ofVector2dobjects - Heading interpolation can be added to a
PositionPath(creating aPosePath) using the following functions:withTangentHeadingadds tangent heading interpolation; required for non-holonomic drive typeswithLinearHeadingaccepts a start and end heading, and linearly interpolates heading between themwithSplineHeadingaccepts a start and end heading, and generates a one-dimensional spline to use for heading interpolation
PosePaths can be profiled usingDrive.createProfile, which uses the constraints provided by theDriveimplementationPosePaths can be turned into aDisplacementTrajectoryusingDrive.createTrajectory, which usescreateProfileto generate the profilePosePaths can be added usingPosePath.plus, which returns aCompositePosePathof the receiver and its argument- For Kotlin users,
plusis an operator function, sopath1 + path2is perfectly valid
- For Kotlin users,
Full Changelog: v2.3.1...v2.4.0