core / com.acmerobotics.roadrunner.trajectory / DisplacementMarker

DisplacementMarker

data class DisplacementMarker (source)

Trajectory marker that is triggered when the specified displacement passes.

Constructors

<init>

Trajectory marker that is triggered when the specified displacement passes.

DisplacementMarker(producer: DisplacementProducer, callback: MarkerCallback)

Properties

callback

val callback: MarkerCallback

producer

val producer: DisplacementProducer