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)

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

Signed-off-by: Rein Appeldoorn <[email protected]>
Signed-off-by: Tony Najjar <[email protected]>
  • Loading branch information
reinzor authored and tonynajjar committed Dec 9, 2024
1 parent 771eca4 commit 0a3f7e6
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 0a3f7e6

Please sign in to comment.