Skip to content

Fix two small bugs in the fibonacci C++ tutorial.#564

Merged
clalancette merged 1 commit intomasterfrom
clalancette/fix-action-tutorials-bugs
May 18, 2022
Merged

Fix two small bugs in the fibonacci C++ tutorial.#564
clalancette merged 1 commit intomasterfrom
clalancette/fix-action-tutorials-bugs

Conversation

@clalancette
Copy link
Copy Markdown
Contributor

The first bug has to do with the action client, and what happens
if the server rejects the goal. In the current code, the
client would just hang around forever. If the server rejects
the goal, make sure the client shuts down.

The second bug has to do with the size that the action server
can support. The code has more information, but essentially
because of the Fibonacci action message, we can only support
sequences up to order 46; anything larger than that will cause
integer wrapping.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

The first bug has to do with the action client, and what happens
if the server rejects the goal.  In the current code, the
client would just hang around forever.  If the server rejects
the goal, make sure the client shuts down.

The second bug has to do with the size that the action server
can support.  The code has more information, but essentially
because of the Fibonacci action message, we can only support
sequences up to order 46; anything larger than that will cause
integer wrapping.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Copy link
Copy Markdown
Member

@audrow audrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@clalancette
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit bd49f4b into master May 18, 2022
@clalancette clalancette deleted the clalancette/fix-action-tutorials-bugs branch May 18, 2022 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants