core / com.acmerobotics.roadrunner.followers / TrajectoryFollower / update

update

@JvmOverloads fun update(currentPose: Pose2d, currentRobotVel: Pose2d? = null): DriveSignal (source)

Run a single iteration of the trajectory follower.

Parameters

currentPose - current field frame pose

currentRobotVel - current robot frame velocity