diff --git a/moveit_core/trajectory_processing/src/ruckig_traj_smoothing.cpp b/moveit_core/trajectory_processing/src/ruckig_traj_smoothing.cpp index 7eb1dca4ad..31a72d3265 100644 --- a/moveit_core/trajectory_processing/src/ruckig_traj_smoothing.cpp +++ b/moveit_core/trajectory_processing/src/ruckig_traj_smoothing.cpp @@ -251,7 +251,7 @@ bool RuckigSmoothing::runRuckig(robot_trajectory::RobotTrajectory& trajectory, const size_t num_waypoints = trajectory.getWayPointCount(); const moveit::core::JointModelGroup* const group = trajectory.getGroup(); const size_t num_dof = group->getVariableCount(); - ruckig::OutputParameter ruckig_output{ num_dof }; + ruckig::Trajectory ruckig_output(num_dof); // This lib does not work properly when angles wrap, so we need to unwind the path first trajectory.unwind();