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

Confusing variable access in imageCallback() and poseEstimateCallback() #265

Open
fmros opened this issue Jan 27, 2022 · 0 comments
Open

Comments

@fmros
Copy link

fmros commented Jan 27, 2022

Problem

There are variables like corners or ids accessed in the imageCallback and in the poseEstimateCallback method that are not protected for race conditions. Allthough there is no parallel execution of the threads specified through e.g. MultiThreadedSpinner, i think these variables should be accessed through the incoming message in the poseEstimationCallback and not through the private class members.

@fmros fmros changed the title Race condition in imageCallback() and poseEstimateCallback() Confusing variable access in imageCallback() and poseEstimateCallback() Jan 27, 2022
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