Function robot_controllers::windupTrajectory

Function Documentation

inline bool robot_controllers::windupTrajectory(std::vector<bool> continuous, Trajectory &trajectory)

Windup the trajectory so that continuous joints do not wrap.

Parameters:
  • continuous – Which joints in each TrajectoryPoint are continuous.

  • trajectory – The trajectory to unwind.