Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ repos:

# CPP hooks
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v21.1.8
rev: v22.1.0
hooks:
- id: clang-format
args: ['-fallback-style=none', '-i']
Expand Down Expand Up @@ -136,7 +136,7 @@ repos:
exclude: CHANGELOG\.rst|\.(svg|pyc)$

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.36.1
rev: 0.37.0
hooks:
- id: check-github-workflows
args: ["--verbose"]
Expand Down
5 changes: 3 additions & 2 deletions control_toolbox/test/pid_ros_parameters_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,9 @@ TEST(PidParametersTest, PrintValuesLogsExpectedContent)
anti.tracking_time_constant = 0.3;

const double U_MAX = 1e9, U_MIN = -1e9; // avoid clamping
ASSERT_TRUE(pid.initialize_from_args(/*p=*/1.0, /*i=*/1.0, /*d=*/0.0, U_MAX, U_MIN, anti,
/*save_i_term=*/false));
ASSERT_TRUE(pid.initialize_from_args(
/*p=*/1.0, /*i=*/1.0, /*d=*/0.0, U_MAX, U_MIN, anti,
/*save_i_term=*/false));

// Make the internal errors non-trivial
const auto dt = rclcpp::Duration::from_seconds(0.2);
Expand Down