Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 7, 2024
1 parent 59b65c6 commit d883ab3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/control_toolbox/pid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint64_t>(dt_ns.count()));
}

Expand Down

0 comments on commit d883ab3

Please sign in to comment.