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

Incongruity between Force Wrench Length and Force Timestamp Length #18

Open
nnagururu opened this issue Apr 15, 2024 · 1 comment
Open

Comments

@nnagururu
Copy link
Collaborator

Number of force timestamps exceeds number of force wrenches by varying amounts.

"This seems to be a classical case of thread synchronizination, and not using proper locks (mutex). We have a ROS callback where the data is incoming, and that is being appended to two global lists, then in another thread, we are writing this data to the HDF5 and then emptying that same lists. Since there is no synchronization / mutex here, we may have one thread add some data to one of the global list, which wasn't written to the HDF5 but was still deleted." - Per Adnan in convo with Nimesh on 4/15/24

adnanmunawar added a commit that referenced this issue Apr 16, 2024
@adnanmunawar
Copy link
Collaborator

The above commit should fix the mismatch between the size of timestamp and wrench data.

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

2 participants