v0.2.1 #11
zachwaffle4
announced in
Announcements
v0.2.1
#11
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This release focuses on Trajectory Markers.
What's Changed
RobotState
contains apose: Pose2d
,vel: PoseVelocity2d
, andaccel: Acceleration2d
objectPose2dDual<Time>
in theVelConstraint
andAccelConstraint
functional interfaces, and will be used in the future to prevent unnecessary dual number exposureMarkerTrigger
functional interface:(RobotState, Trajectory, Double) -> Boolean
MarkerCallback
functional interface:() -> Unit
(equivalent toRunnable
)Marker
class includes a trigger and callbackAfterDispMarker
,AfterTimeMarker
,AtPointMarker
, andAtPoseMarker
are provided; see KDoc for detailsTrajectoryWithMarkers<Param>
class simply wraps aTrajectory<Param>
to include aList<Marker>
build()
now returns aTrajectoryWithMarkers<Arclength>
object (no longer equivalent tobuildToList()
)buildToList()
still returns a list ofCancelableTrajectory
objects (no change)buildToComposite()
now returns aCompositeCancelableTrajectory
, allowing for cancelation at any displacementtrajectory
property of thebuild()
return value is this objectFollower
s to cancel the trajectoryFollower
interface mandates aTrajectoryWithMarkers
objectFull Changelog: v0.2.0...v0.2.1
This discussion was created from the release v0.2.1.
Beta Was this translation helpful? Give feedback.
All reactions