Skip to content

Commit 4599cac

Browse files
authored
Fix: Fix Trajectory template usage for checkOvershoot with StandardVector (#3617)
Signed-off-by: Dhruv Patel <[email protected]>
1 parent c639959 commit 4599cac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

moveit_core/trajectory_processing/include/moveit/trajectory_processing/ruckig_traj_smoothing.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ class RuckigSmoothing
159159
robot_trajectory::RobotTrajectory& trajectory);
160160

161161
/** \brief Check if a trajectory out of Ruckig overshoots the target state */
162-
static bool checkOvershoot(ruckig::Trajectory<ruckig::DynamicDOFs, ruckig::StandardVector>& ruckig_trajectory,
163-
const size_t num_dof, ruckig::InputParameter<ruckig::DynamicDOFs>& ruckig_input,
162+
static bool checkOvershoot(ruckig::Trajectory<ruckig::DynamicDOFs>& ruckig_trajectory, const size_t num_dof,
163+
ruckig::InputParameter<ruckig::DynamicDOFs>& ruckig_input,
164164
const double overshoot_threshold);
165165
};
166166
} // namespace trajectory_processing

moveit_core/trajectory_processing/src/ruckig_traj_smoothing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ void RuckigSmoothing::getNextRuckigInput(const moveit::core::RobotStateConstPtr&
422422
}
423423
}
424424

425-
bool RuckigSmoothing::checkOvershoot(ruckig::Trajectory<ruckig::DynamicDOFs, ruckig::StandardVector>& ruckig_trajectory,
426-
const size_t num_dof, ruckig::InputParameter<ruckig::DynamicDOFs>& ruckig_input,
425+
bool RuckigSmoothing::checkOvershoot(ruckig::Trajectory<ruckig::DynamicDOFs>& ruckig_trajectory, const size_t num_dof,
426+
ruckig::InputParameter<ruckig::DynamicDOFs>& ruckig_input,
427427
const double overshoot_threshold)
428428
{
429429
// For every timestep

0 commit comments

Comments
 (0)