LouKordos / walking_controller

The main walking controller code for the Bipedal Robot.
13 stars 2 forks source link

Consider options for making gets and sets threadsafe without without affecting performance too much #22

Open LouKordos opened 3 years ago

LouKordos commented 3 years ago

The current solution for passing values around from thread to thread and logging etc. is hacky at best. The obvious solution would be to wrap all values into a seperate class with its own mutex but I am fairly positive this will result in a significant performance loss.

LouKordos commented 3 years ago

A start would be to just make the currently thread-unsafe variables private at least?

LouKordos commented 3 years ago

Commit e1409fd0dd88846b6a486d7486d342bead8939cc improves the threading situation.