Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return code to CancelGoal service response #710

Merged
merged 4 commits into from
May 2, 2019

Conversation

jacobperron
Copy link
Member

Refactored the callback signature for canceling one goal. Now it is the same as the other cancel methods.
This makes it easier to communicate the error code to the user.

Connects to ros2/rcl_interfaces#63

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
…dd tests

Refactored the callback signature for canceling one goal. Now it is the same as the other cancel methods.
This makes it easier to communicate the error code to the user.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron jacobperron added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Apr 29, 2019
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM pending green CI

rclcpp_action/test/test_client.cpp Outdated Show resolved Hide resolved
rclcpp_action/test/test_client.cpp Show resolved Hide resolved
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

jacobperron commented Apr 30, 2019

CI with connected PRs

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

EDIT: retriggered due to unrelated failures

@jacobperron
Copy link
Member Author

CI failures look unrelated, so I'm going to go ahead and merge this and the connected PRs.

@jacobperron jacobperron merged commit ecf3511 into master May 2, 2019
@delete-merged-branch delete-merged-branch bot deleted the cancel_goal_response_code branch May 2, 2019 22:25
@jacobperron jacobperron removed the in review Waiting for review (Kanban column) label May 2, 2019
cho3 pushed a commit to cho3/rclcpp that referenced this pull request Jun 3, 2019
* Populate return code of CancelGoal service response

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Throw if there is an error processing a cancel goal request

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Make cancel callback signature consistent across cancel methods and add tests

Refactored the callback signature for canceling one goal. Now it is the same as the other cancel methods.
This makes it easier to communicate the error code to the user.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Address review

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
…TimeControllerClock (ros2#710)

* Enable thread safety analysis for rosbag2_cpp and add annotations in TimeControllerClock

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
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