-
Notifications
You must be signed in to change notification settings - Fork 1
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
Race condition in cetautomatix causing global robots failure #47
Labels
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
#39 reverted a mitigation against this race condition
The ideal design would be prevent cetautomatix initialization completion as long as an odom message hasn't been received. We can't block the constructor's completion as this would result onto the odom callback handler not being called. We could instead use a boolean semaphore within the node to let know each subroutine if the node is ready and early return if it is not / report as not not ready yet.
Short term mitigation was to position with dummy values but this is impractical and can cause side effects.
The text was updated successfully, but these errors were encountered: