core / com.acmerobotics.roadrunner.trajectory.config / TrajectoryConfigManager

TrajectoryConfigManager

object TrajectoryConfigManager (source)

Class containing methods for saving (loading) trajectory configurations to (from) YAML files.

Properties

GROUP_FILENAME

val GROUP_FILENAME: String

Functions

load

Loads a Trajectory from file.

fun load(file: File): Trajectory?

loadBuilder

Loads a TrajectoryBuilder from file.

fun loadBuilder(file: File): TrajectoryBuilder?

loadConfig

Loads a TrajectoryConfig from file.

fun loadConfig(file: File): TrajectoryConfig?

Loads a TrajectoryConfig from inputStream.

fun loadConfig(inputStream: InputStream): TrajectoryConfig?

loadGroupConfig

Loads the TrajectoryGroupConfig inside dir.

fun loadGroupConfig(dir: File): TrajectoryGroupConfig?

Loads the TrajectoryGroupConfig from inputStream.

fun loadGroupConfig(inputStream: InputStream): TrajectoryGroupConfig!

saveConfig

Saves a TrajectoryConfig to file.

fun saveConfig(trajectoryConfig: TrajectoryConfig, file: File): Unit

saveGroupConfig

Saves a TrajectoryGroupConfig to dir.

fun saveGroupConfig(trajectoryConfig: TrajectoryGroupConfig, dir: File): Unit