Skip to content

TurtleRunner

The TurtleRunner class is a tool that streams together your config choices and the path for your .turt file and will run the path for you. No need to mess with anything code really, just run this and your path will start assuming you give the correct information.


Property Value
Package Path org.firstinspires.ftc.teamcode.Paths
Type Utility / Runner / Autonomous

public static void run(String assetPath, Follower follower, LinearOpMode opMode, AutoConfiguration config)

This method is used to run all the corect tools to compiler your .turt file into a pedropathing path chain and then run it automatically.

Parameter Type Description
assetPath String Location of the .turt file you need
follower Follower Follower instance, passed and not recreated to ensure only one instance
opMode LinearOpMode Used to check Autonomous Status and to obtain the .turt file
config AutoConfiguration Used to feed your config choices into the path compiling
Type Description
void Runs the stuff for you so no need