You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 toPicam
, but this is the wrong way to go because it'll get inconsistent with crashes, has to know too much about thePicam
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 aGenServer
.The text was updated successfully, but these errors were encountered: