From 0f5d6edf7566aa4f722eb0ed2c66761ddd91b9f6 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sat, 7 Dec 2024 09:16:58 +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())); }