ihmcrobotics / ihmc-open-robotics-software

Robotics software featuring legged locomotion algorithms and a momentum-based controller core with optimization. Supporting software for world-class robots including humanoids, running birds, exoskeletons, mechs and more.
https://robots.ihmc.us
251 stars 89 forks source link

Fix Concurrent Modification in PersistentDetection #305

Closed TomaszTB closed 3 months ago

TomaszTB commented 3 months ago

Didn't realize using synchronized TreeSet can still lead to concurrent modification. Using a ConcurrentSkipListSet fixes that.