From 8c494942aaacf1b6cbfcdc6592e2ddc86f6a35ae Mon Sep 17 00:00:00 2001 From: Joseph Eng Date: Thu, 18 Jul 2024 12:03:20 -0700 Subject: [PATCH] Fix C++ getDt() return type --- .../main/native/include/frc/controller/SimpleMotorFeedforward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpimath/src/main/native/include/frc/controller/SimpleMotorFeedforward.h b/wpimath/src/main/native/include/frc/controller/SimpleMotorFeedforward.h index 69d474b0437..8fd597d9c80 100644 --- a/wpimath/src/main/native/include/frc/controller/SimpleMotorFeedforward.h +++ b/wpimath/src/main/native/include/frc/controller/SimpleMotorFeedforward.h @@ -271,7 +271,7 @@ class SimpleMotorFeedforward { * * @return The period. */ - units::volt_t getDt() const { return m_dt; } + units::second_t getDt() const { return m_dt; } private: /** The static gain. */