shouldTrigger

open override fun shouldTrigger(robotState: RobotState, trajectory: Trajectory<*>, s: Double): Boolean

Determines if the marker should trigger.

Parameters

robotState

The current state of the robot.

trajectory

The trajectory being followed, parameterized by arclength.

s

The current progress along the trajectory, typically represented as arclength.