update

public final DriveSignal update(Pose2d currentPose, Pose2d currentRobotVel)
public final DriveSignal update(Pose2d currentPose)

Run a single iteration of the trajectory follower.

Parameters

currentPose

current field frame pose

currentRobotVel

current robot frame velocity