Skip to content

Commit

Permalink
add result->error_msg for new CONTROLLER_TIMED_OUT (#4341)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Wake <[email protected]>
  • Loading branch information
aosmw committed Oct 4, 2024
1 parent 47a8538 commit b305e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nav2_controller/src/controller_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ void ControllerServer::computeControl()
onGoalExit();
std::shared_ptr<Action::Result> result = std::make_shared<Action::Result>();
result->error_code = Action::Result::CONTROLLER_TIMED_OUT;
result->error_msg = e.what();
action_server_->terminate_current(result);
return;
} catch (nav2_core::ControllerException & e) {
Expand Down

0 comments on commit b305e08

Please sign in to comment.