Class AssetsTrajectoryManager

java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.roadrunner.util.AssetsTrajectoryManager

public class AssetsTrajectoryManager extends Object
Set of utilities for loading trajectories from assets (the plugin save location).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.acmerobotics.roadrunner.trajectory.Trajectory
    load(String name)
    Loads a trajectory with the given name.
    static com.acmerobotics.roadrunner.trajectory.TrajectoryBuilder
    Loads a trajectory builder with the given name.
    static com.acmerobotics.roadrunner.trajectory.config.TrajectoryConfig
    Loads a trajectory config with the given name.
    static com.acmerobotics.roadrunner.trajectory.config.TrajectoryGroupConfig
    Loads the group config.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      @Nullable public static com.acmerobotics.roadrunner.trajectory.Trajectory load(String name)
      Loads a trajectory with the given name.