Path Groups
Using AutoBuilder
and PathPlannerAuto
is the preferred way to utilize autos created in PathPlanner. See Build an Auto. However, you can still use autos to mimic the path group functionality available in previous PathPlanner versions.
// Use the PathPlannerAuto class to get a path group from an auto
List<PathPlannerPath> pathGroup = PathPlannerAuto.getPathGroupFromAutoFile("Example Auto");
#include <pathplanner/lib/auto/PathPlannerAuto.h>
using namespace pathplanner;
// Use the PathPlannerAuto class to get a path group from an auto
auto pathGroup = PathPlannerAuto::getPathGroupFromAutoFile("Example Auto");
from pathplannerlib.auto import PathPlannerAuto
# Use the PathPlannerAuto class to get a path group from an auto
pathGroup = PathPlannerAuto.getPathGroupFromAutoFile('Example Auto');
Last modified: 28 November 2024