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

[discussion][do not merge] actors + channels architecture #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fitzgen
Copy link
Contributor

@fitzgen fitzgen commented Nov 30, 2016

This gives a sketch of what I was imagining last night.

See src/fusion.rs and src/{mag,accel,gyro}.rs for details. See SensorInput in src/fusion.rs for how multiplexing across channels with strong typing works.

The use of traits to enable mocking/testing can be pretty much reused even if we don't want to go full threading with actor + channels and instead use polling on a single thread. The one trick is that things will need to be inverted a bit so that data is pushed through, rather than pulled through.

Thoughts @jameysharp @slnovak @jeenalee @malisas ?

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

Successfully merging this pull request may close these issues.

2 participants