vortexntnu / rov-control

Complete control system for Vortex' ROV
13 stars 9 forks source link

Replace spinonce() in loop with simple spin() #17

Closed mortenfyhn closed 7 years ago

mortenfyhn commented 7 years ago

This appears to be much more efficient. With spinonce() in a while loop, each node (allocator and estimator) would run a core at 100 % cpu. Using simply spin(), the processes use very little cpu when idle.