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

Updated RT goal handle to handle cancel requests #22

Merged
merged 1 commit into from
Nov 1, 2017

Conversation

nlamprian
Copy link
Contributor

With the proposed changes, the real time goal handle allows for a cancel request to happen and the action to be terminated at a later time from within the real time thread.

Copy link
Contributor

@mathias-luedtke mathias-luedtke left a comment

Choose a reason for hiding this comment

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

Code looks good, apart from the missing initiliazation.
We should enable CI tests ASAP (#20)

@@ -55,6 +55,7 @@ class RealtimeServerGoalHandle
uint8_t state_;

bool req_abort_;
bool req_cancel_;
Copy link
Contributor

Choose a reason for hiding this comment

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

needs to be initialized in constructor

@mathias-luedtke
Copy link
Contributor

This might help to fix some problems with canceling in joint_trajectory_controller, perhaps even ros-controls/ros_controllers#48

@bmagyar
Copy link
Member

bmagyar commented Oct 30, 2017

I'm not sure what is the best way to force travis to re-parse the CI configuration... Could you please rebase the PR on the latest kinetic-devel?

@bmagyar
Copy link
Member

bmagyar commented Nov 1, 2017

Great, thank you! 👍

@bmagyar bmagyar merged commit 011d1c5 into ros-controls:kinetic-devel Nov 1, 2017
@bmagyar
Copy link
Member

bmagyar commented Nov 6, 2017

Should we cherry-pick this back into Indigo?

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.

None yet

3 participants