core / com.acmerobotics.roadrunner.trajectory / SpatialMarker

SpatialMarker

data class SpatialMarker

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

Constructors

<init>

SpatialMarker(point: Vector2d, callback: () -> Unit)

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

Properties

callback

val callback: () -> Unit

point

val point: Vector2d