12 #include <wpi/StringRef.h>
13 #include <wpi/Twine.h>
15 #include "frc/trajectory/Trajectory.h"
static Trajectory DeserializeTrajectory(wpi::StringRef json_str)
Serializes a Trajectory to PathWeaver-style JSON.
static void ToPathweaverJson(const Trajectory &trajectory, const wpi::Twine &path)
Exports a Trajectory to a PathWeaver-style JSON file.
static std::string SerializeTrajectory(const Trajectory &trajectory)
Deserializes a Trajectory from PathWeaver-style JSON.
static Trajectory FromPathweaverJson(const wpi::Twine &path)
Imports a Trajectory from a PathWeaver-style JSON file.
Definition: TrajectoryUtil.h:18
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
Represents a time-parameterized trajectory.
Definition: Trajectory.h:34
A class that enforces constraints on the differential drive kinematics.
Definition: SPIAccelerometerSim.h:16
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:85