From 3d093cdeef12ccec4ce48d40c8a5c55b74663343 Mon Sep 17 00:00:00 2001 From: ryo-0723 <98096559+ryo-0723@users.noreply.github.com> Date: Fri, 20 Dec 2024 08:41:12 +0900 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E5=B8=B8=E5=81=9C=E6=AD=A2=E3=82=92?= =?UTF-8?q?=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E3=81=A7false?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Udon/Algorithm/Trapezoidal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Udon/Algorithm/Trapezoidal.hpp b/src/Udon/Algorithm/Trapezoidal.hpp index 3044bfaa..72b24574 100644 --- a/src/Udon/Algorithm/Trapezoidal.hpp +++ b/src/Udon/Algorithm/Trapezoidal.hpp @@ -54,7 +54,7 @@ namespace Udon /// @brief 目標値を計算する /// @param target mm 目標値 /// @param endS mm/s 巡行後の終了スピード(デフォルトで0mm/s) - double operator()(const double target, bool isStop, const double endS = 0.0) + double operator()(const double target, bool isStop = false, const double endS = 0.0) { // X=Vot+(1/2)*at^2; // V=a*t +Vo;