Skip to content

Commit

Permalink
Small variable fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyZe committed Dec 11, 2023
1 parent f878e3b commit 89a6be2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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::DynamicDOFs> ruckig_output{ num_dof };
ruckig::Trajectory<ruckig::DynamicDOFs, ruckig::StandardVector> ruckig_output(num_dof);

// This lib does not work properly when angles wrap, so we need to unwind the path first
trajectory.unwind();
Expand Down

0 comments on commit 89a6be2

Please sign in to comment.