From d883ab36d6784e87f4cdeff401c606df1a787d05 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 7 Dec 2024 17:41:24 +0000 Subject: [PATCH] Format code --- include/control_toolbox/pid.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())); }