core / com.acmerobotics.roadrunner.trajectory / TemporalMarker

TemporalMarker

data class TemporalMarker (source)

Trajectory marker that is triggered when the specified time passes. The exact time is determined at generation-time by calling time with the profile duration.

Constructors

<init>

Trajectory marker that is triggered when the specified time passes. The exact time is determined at generation-time by calling time with the profile duration.

TemporalMarker(time: (Double) -> Double, callback: MarkerCallback)

Properties

callback

val callback: MarkerCallback

time

val time: (Double) -> Double