setLastError

protected Unit setLastError(Pose2d lastError)

Robot pose error computed in the last update call.