Skip to content

Commit

Permalink
Update source/Tutorials/Intermediate/Writing-an-Action-Server-Client/…
Browse files Browse the repository at this point in the history
…Cpp.rst

Co-authored-by: Chris Lalancette <[email protected]>
Signed-off-by: Felipe Gomes de Melo <[email protected]>
  • Loading branch information
FelipeGdM and clalancette authored Jan 5, 2024
1 parent a818545 commit 6de3929
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ An action server requires 6 things:
5. A callback function for handling cancellation: ``handle_cancel``.
6. A callback function for handling goal accept: ``handle_accept``.

The implementation of the various callbacks is done with [lambda expressions](https://en.cppreference.com/w/cpp/language/lambda) whitin the constructor.
The implementation of the various callbacks is done with [lambda expressions](https://en.cppreference.com/w/cpp/language/lambda) within the constructor.
Note that all of the callbacks need to return quickly, otherwise we risk starving the executor.

We start with the callback for handling new goals:
Expand Down

0 comments on commit 6de3929

Please sign in to comment.