Fixed synchronization bug when master runs at a different FPS than slaves.

Scripts are now queued when received and then executed,
This commit is contained in:
Joakim Kilby
2015-02-19 10:02:07 +01:00
parent 3d04af03a3
commit 417f5c8f6c
2 changed files with 15 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ private:
//sync variables
std::mutex _mutex;
std::vector<std::string> _queuedScripts;
std::vector<std::string> _receivedScripts;
std::string _currentSyncedScript;
};