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 @@ -64,7 +64,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 @@ -138,7 +138,7 @@ repos:
exclude: CHANGELOG\.rst|\.(svg|pyc|drawio)$

- 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
7 changes: 4 additions & 3 deletions forward_command_controller/src/forward_controllers_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ controller_interface::return_type ForwardControllersBase::update(
}

// no command received yet
if (std::all_of(
joint_commands_.data.cbegin(), joint_commands_.data.cend(),
[](const auto & value) { return std::isnan(value); }))
if (
std::all_of(
joint_commands_.data.cbegin(), joint_commands_.data.cend(),
[](const auto & value) { return std::isnan(value); }))
{
return controller_interface::return_type::OK;
}
Expand Down