Skip to content

Commit

Permalink
Check action before calling
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Jan 31, 2024
1 parent e52663a commit f5513d8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ template<class T> inline
};
//--------------------

// Check if server is ready
if(!action_client_->action_server_is_ready())
return onFailure(SERVER_UNREACHABLE);

future_goal_handle_ = action_client_->async_send_goal( goal, goal_options );
time_goal_sent_ = node_->now();

Expand Down

0 comments on commit f5513d8

Please sign in to comment.