core / com.acmerobotics.roadrunner.trajectory / SpatialMarker

SpatialMarker

data class SpatialMarker (source)

Trajectory marker that is triggered when the trajectory passes the specified point.

Constructors

<init>

Trajectory marker that is triggered when the trajectory passes the specified point.

SpatialMarker(point: Vector2d, callback: MarkerCallback)

Properties

callback

val callback: MarkerCallback

point

val point: Vector2d