[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continual update loop is needed in C++ code #179

Open
2 tasks
madfrog54321 opened this issue Jan 6, 2017 · 0 comments
Open
2 tasks

Continual update loop is needed in C++ code #179

madfrog54321 opened this issue Jan 6, 2017 · 0 comments

Comments

@madfrog54321
Copy link
Collaborator

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant