core / com.acmerobotics.roadrunner.trajectory / BaseTrajectoryBuilder / addSpatialMarker

addSpatialMarker

fun addSpatialMarker(point: Vector2d, callback: MarkerCallback): T (source)

Adds a marker that will be triggered at the closest trajectory point to point.