3#include <frc/DriverStation.h>
4#include <frc/Filesystem.h>
5#include <frc2/command/CommandPtr.h>
6#include <frc2/command/WaitCommand.h>
7#include <pathplanner/lib/commands/FollowPathHolonomic.h>
8#include <wpi/MemoryBuffer.h>
35 const std::map<T, std::string> &m_autos;
37 bool AutoFileExists(
const std::string fileName);
39 frc2::CommandPtr PathPlannerPathFromName(
const std::string autoName);
Safely get an auto command from PPLib without the risk of crashing from a missing auto file.
frc2::CommandPtr GetAuto(T type)
Get the auto command specified by the key.
AutoFactory(const std::map< T, std::string > &autos)