Skip to content

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

@madfrog54321

Description

@madfrog54321

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions