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

Fix action cancellation by passing status from JSON #953

Merged
merged 8 commits into from
Oct 2, 2024

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Sep 29, 2024

Public API Changes
This slightly changes the protocol, specifically that the action_result message now contains an additional status field which contains an integer corresponding to the enum in https://docs.ros2.org/latest/api/action_msgs/msg/GoalStatus.html.

This does mean that the client libraries (namely, roslibjs which has the only working implementation) need to be updated as well.

Description
As described above, this PR adds a new status field to the action_result message to handle action cancellation properly.


Closes #920 ... maybe?

@sea-bass
Copy link
Contributor Author

sea-bass commented Sep 29, 2024

Meh, I guess CI doesn't set the ROS_DISTRO variable.

Since Iron is EOL in like 2 months, I'm kind of okay working around this problem by removing the Iron CI job or continuing to have this test skipped for a bit longer. As people prefer.

Copy link
Contributor

@EzraBrooks EzraBrooks left a comment

Choose a reason for hiding this comment

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

Do we squash in this repo? if so, we probably should separate the pre-commit changes from the functional changes for commit traceability

@sea-bass
Copy link
Contributor Author

sea-bass commented Oct 1, 2024

Do we squash in this repo? if so, we probably should separate the pre-commit changes from the functional changes for commit traceability

Yeah, good idea. Will do!

@sea-bass sea-bass changed the base branch from ros2 to update-pre-commit October 1, 2024 22:46
@sea-bass
Copy link
Contributor Author

sea-bass commented Oct 1, 2024

Offloaded pre-commit stuff to #954 -- that should be merged before this one to keep history clean.

Copy link
Contributor

@EzraBrooks EzraBrooks left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from update-pre-commit to ros2 October 2, 2024 19:25
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.

cancel_action_goal results in action_result with no status
2 participants