Auto Path
constructor(inputFile: File, swerveAuto: SwerveAuto, gyro: GenericGyro, commandsList: HashMap<Int, CommandBase> = HashMap())
Creates a new AutoPath object.
Parameters
input File
The file that contains the path.
swerve Auto
The SwerveAuto object that the robot is using.
gyro
The gyro that the robot is using.
commands List
A HashMap of commands that the robot can execute at certain points in the path. The key is the index of points at which the command should be executed. These attached commands will run concurrently with the robot point movement in a blocking way.