getCurrentPath

open override fun getCurrentPath(constraints: PathConstraints, goalEndState: GoalEndState): PathPlannerPath?

Get the most recently calculated path. This method retrieves the current path based on the provided PathConstraints and GoalEndState.

Return

The PathPlannerPath created from the points calculated by the pathfinder.

Parameters

constraints

The PathConstraints to use when creating the path.

goalEndState

The GoalEndState to use when creating the path.