diff --git a/include/control_toolbox/pid.hpp b/include/control_toolbox/pid.hpp index 6cfcd0f..251767f 100644 --- a/include/control_toolbox/pid.hpp +++ b/include/control_toolbox/pid.hpp @@ -356,7 +356,8 @@ class CONTROL_TOOLBOX_PUBLIC Pid * * \returns PID command */ - [[nodiscard]] double computeCommand(double error, double error_dot, std::chrono::nanoseconds dt_ns) { + [[nodiscard]] double computeCommand( + double error, double error_dot, std::chrono::nanoseconds dt_ns) { return computeCommand(error, error_dot, static_cast(dt_ns.count())); }