You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
fmros
changed the title
Race condition in imageCallback() and poseEstimateCallback()
Confusing variable access in imageCallback() and poseEstimateCallback()
Jan 27, 2022
Problem
There are variables like
corners
orids
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.The text was updated successfully, but these errors were encountered: