MarkerTrigger

fun interface MarkerTrigger

Functional interface representing a marker trigger. A marker trigger determines whether a specific condition is met during the execution of a trajectory, based on the robot's state, the trajectory, and the current progress along the trajectory.

Inheritors

Functions

Link copied to clipboard
abstract fun shouldTrigger(robotState: RobotState, trajectory: Trajectory<*>, s: Double): Boolean

Determines if the marker should trigger.