Skip to content

Commit

Permalink
Construct Ruckig with Paranetheses, work around errors with aggregate…
Browse files Browse the repository at this point in the history
… constructors
  • Loading branch information
henningkayser committed Sep 20, 2021
1 parent 095bcd1 commit 75a3d41
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ bool RuckigSmoothing::applySmoothing(robot_trajectory::RobotTrajectory& trajecto

// Instantiate the smoother
double timestep = trajectory.getAverageSegmentDuration();
ruckig::Ruckig<0> ruckig{ num_dof, timestep };
ruckig::InputParameter<0> ruckig_input{ num_dof };
ruckig::OutputParameter<0> ruckig_output{ num_dof };
ruckig::Ruckig<0> ruckig(num_dof, timestep);
ruckig::InputParameter<0> ruckig_input(num_dof);
ruckig::OutputParameter<0> ruckig_output(num_dof);

// Initialize the smoother
// ruckig_input.synchronization = ruckig::Synchronization::Time;
Expand Down

0 comments on commit 75a3d41

Please sign in to comment.