Go to the documentation of this file.    1 #ifndef AIKIDO_TRAJECTORY_UTIL_HPP_ 
    2 #define AIKIDO_TRAJECTORY_UTIL_HPP_ 
   36     const Interpolated& traj1, 
const Interpolated& traj2);
 
   52     const Trajectory& traj,
 
   53     const statespace::StateSpace::State* referenceState,
 
   55     double timeStep = 0.01);
 
   71     const Spline& traj, 
double partialStartTime);
 
   83 #endif // AIKIDO_TRAJECTORY_UTIL_HPP_ 
 
 
A class representing multi-dimensional spline curves.
 
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
 
UniqueSplinePtr convertToSpline(const Interpolated &inputTrajectory)
Converts an interpolated trajectory to a piecewise linear spline trajectory.
 
std::unique_ptr< Interpolated > UniqueInterpolatedPtr
Definition: Interpolated.hpp:11
 
UniqueSplinePtr createPartialTrajectory(const Spline &traj, double partialStartTime)
Retrieves part of a given spline trajectory.
 
UniqueInterpolatedPtr toR1JointTrajectory(const Interpolated &trajectory)
Converts an interpolated trajectory from a Cartesian product space of SO(2) and R1 joints to a Cartes...
 
std::unique_ptr< Spline > UniqueSplinePtr
Definition: Spline.hpp:10
 
double findTimeOfClosestStateOnTrajectory(const Trajectory &traj, const statespace::StateSpace::State *referenceState, double &distance, double timeStep=0.01)
Finds the time of the closest state on a trajectory to a given state.
 
UniqueInterpolatedPtr concatenate(const Interpolated &traj1, const Interpolated &traj2)
Concatenates two interpolated trajectories.