Trajectory
Trajectories combine the concepts of paths and motion profiles to create smooth, efficient, and accurate robot movements. A trajectory defines not only the path the robot should follow, but also how fast it should move along that path at any given time.
(This example code is bad, working on it)
TrajectoryConstraints::defaultConstraints = TrajectoryConstraints{
.maxVelocity = 50.0f
};
auto slowSpeed = TrajectoryConstraints{.maxVelocity = 15.0f};
TrajectoryConstraints::defaultConstraints = slowSpeed;