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

Add support for querying the current camera configuration #27

Open
GregMefford opened this issue Feb 17, 2018 · 0 comments
Open

Add support for querying the current camera configuration #27

GregMefford opened this issue Feb 17, 2018 · 0 comments

Comments

@GregMefford
Copy link
Collaborator

As I was working on my training materials for LoneStar, I really wanted to have a way that I could ask the camera what its current configuration is, so I started my own GenServer to keep track of the config commands it's sending to Picam, but this is the wrong way to go because it'll get inconsistent with crashes, has to know too much about the Picam API, etc.

I think the Picam.Camera is the right place to store the current state, since it's already handling all the messages coming through, and it's already a GenServer.

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