From 698f0e76ea34962b15664af89609d3fd35631666 Mon Sep 17 00:00:00 2001 From: yutaka Date: Wed, 7 Dec 2022 16:37:39 +0900 Subject: [PATCH] fix(motion_utils): rename sampling function Signed-off-by: yutaka --- common/motion_utils/include/motion_utils/resample/resample.hpp | 2 +- common/motion_utils/src/resample/resample.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/motion_utils/include/motion_utils/resample/resample.hpp b/common/motion_utils/include/motion_utils/resample/resample.hpp index c13493e3fba39..6a987dc269e76 100644 --- a/common/motion_utils/include/motion_utils/resample/resample.hpp +++ b/common/motion_utils/include/motion_utils/resample/resample.hpp @@ -69,7 +69,7 @@ std::vector resamplePointVector( * Otherwise, it uses spline interpolation * @return resampled path(poses) */ -std::vector resamplePositionVector( +std::vector resamplePointVector( const std::vector & points, const double resample_interval, const bool use_lerp_for_xy = false, const bool use_lerp_for_z = true); diff --git a/common/motion_utils/src/resample/resample.cpp b/common/motion_utils/src/resample/resample.cpp index c918a5cf1f5b1..c49addeec1a01 100644 --- a/common/motion_utils/src/resample/resample.cpp +++ b/common/motion_utils/src/resample/resample.cpp @@ -80,7 +80,7 @@ std::vector resamplePointVector( return resampled_points; } -std::vector resamplePositionVector( +std::vector resamplePointVector( const std::vector & points, const double resample_interval, const bool use_lerp_for_xy, const bool use_lerp_for_z) {