Poseidon icon indicating copy to clipboard operation
Poseidon copied to clipboard

Continual update loop is needed in C++ code

Open madfrog54321 opened this issue 8 years ago • 0 comments

Summary

For the sub to calculate its current pose, it needs to continually pull data from the gyroscope, accelerator, compass, etc. Currently the CommandDispatcher uses getLine() to receive commands from the JavaScript code. The getLine() function blocks the current thread until a full line of data is available for processing. Another thread or a non-blocking version of the CommandDispatcher's loop is needed.

Acceptance Criteria

  • [ ] Discuss options, and decided on solution.
  • [ ] Implement new loop structure.

madfrog54321 avatar Jan 06 '17 23:01 madfrog54321