Class AssetsTrajectoryManager
java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.roadrunner.util.AssetsTrajectoryManager
Set of utilities for loading trajectories from assets (the plugin save location).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.acmerobotics.roadrunner.trajectory.Trajectory
Loads a trajectory with the given name.static com.acmerobotics.roadrunner.trajectory.TrajectoryBuilder
loadBuilder
(String name) Loads a trajectory builder with the given name.static com.acmerobotics.roadrunner.trajectory.config.TrajectoryConfig
loadConfig
(String name) Loads a trajectory config with the given name.static com.acmerobotics.roadrunner.trajectory.config.TrajectoryGroupConfig
Loads the group config.
-
Constructor Details
-
AssetsTrajectoryManager
public AssetsTrajectoryManager()
-
-
Method Details
-
loadGroupConfig
@Nullable public static com.acmerobotics.roadrunner.trajectory.config.TrajectoryGroupConfig loadGroupConfig()Loads the group config. -
loadConfig
@Nullable public static com.acmerobotics.roadrunner.trajectory.config.TrajectoryConfig loadConfig(String name) Loads a trajectory config with the given name. -
loadBuilder
@Nullable public static com.acmerobotics.roadrunner.trajectory.TrajectoryBuilder loadBuilder(String name) Loads a trajectory builder with the given name. -
load
Loads a trajectory with the given name.
-