Skip to content

Commit

Permalink
fix(simple-action-server): info log instead of warn on cancel (ros-na…
Browse files Browse the repository at this point in the history
…vigation#4684) (ros-navigation#4686)

Cancelling a goal is nominal behavior and therefore it should not log
warning.

Signed-off-by: Rein Appeldoorn <[email protected]>
(cherry picked from commit d4c3faa)

Co-authored-by: Rein Appeldoorn <[email protected]>
  • Loading branch information
mergify[bot] and reinzor authored Sep 23, 2024
1 parent 6b43a79 commit 9f64098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_util/include/nav2_util/simple_action_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ class SimpleActionServer

if (is_active(handle)) {
if (handle->is_canceling()) {
warn_msg("Client requested to cancel the goal. Cancelling.");
info_msg("Client requested to cancel the goal. Cancelling.");
handle->canceled(result);
} else {
warn_msg("Aborting handle.");
Expand Down

0 comments on commit 9f64098

Please sign in to comment.