From 8f493e3021d6b93ec15ed8e587545cae22b3132d Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Mon, 21 Jun 2021 19:14:50 +0930 Subject: [PATCH] AC_AttitudeControl: Add shaping_tc_z_s accessor --- libraries/AC_AttitudeControl/AC_PosControl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AC_AttitudeControl/AC_PosControl.h b/libraries/AC_AttitudeControl/AC_PosControl.h index 17afd3d0f5..484b646a1d 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.h +++ b/libraries/AC_AttitudeControl/AC_PosControl.h @@ -46,6 +46,9 @@ public: /// get_dt - gets time delta in seconds for all position controllers float get_dt() const { return _dt; } + /// get_shaping_tc_z_s - gets the time constant of the z kinimatic path generation in seconds + float get_shaping_tc_z_s() const { return _shaping_tc_z_s; } + /// /// 3D position shaper