After a week of hard work we solved the problem with our communication by changing the way the threads function. Previously we were starting and killing threads in a while loop thus creating a large amount of overhead for the operating system. The new code uses only one thread for communication which loops as long as it's active thus reducing the amount of threads running and significantly increasing the performance of the rover.
Geen opmerkingen:
Een reactie posten