Function robot_controllers::spliceTrajectories

Function Documentation

inline bool robot_controllers::spliceTrajectories(const Trajectory &t1, const Trajectory &t2, const double time, Trajectory *t)

Splice two trajectories.

Parameters:
  • t1 – First trajectory to splice

  • t2 – Second trajectory to splice (will overwrite first)

  • time – The start time for the new trajectory (typically, current system time)

  • t – The new trajectory.