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

Action result not updated due to race condition with RealtimeServerGoalHandle #174

Open
dcconner opened this issue Apr 20, 2015 · 0 comments

Comments

@dcconner
Copy link

See discussion at #48 for joint_trajectory_controller

It appears that after the rt_active_goal_ is reset on success or aborting, the RealtimeServerGoalHandle is destroyed and sometimes the runNonRealtime function is not called to publish the result.

This would apparently be a race condition between the checkTolerances function exiting and the runNonRealtime getting called by the timer.

One idea I had was to pass the rt_sement_goal_ pointer into the setAborted/Succeded function instead of just the result, storing that with the req_result_, then resetting that self referencing pointer after the runNonRealtime is called.

Thoughts?

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

No branches or pull requests

1 participant