Closed MrChaz closed 6 years ago
Hi @MrChaz, I am reviewing this today. The screen freezing issue is caused by the error handling section we accepted from you. As a result, the UI gets the same image over and over again instead of crashing and restarting. We have two options here:
We are still unable to accept code that exposes the temperature to the UI. It's a debugging feature that can easily be deployed in advanced users' implementations. I hope that makes sense!
Full camera module restart routine has been cherry-picked and implemented in v0.4.1.
Adds in a simple temperature display to the web UI Removes the write lock from saving images because I think that was causing blank images. Completely re-init the camera if there is a crash so things start back up again fully. Reduce log spam by only logging out the first error. Use copy() before sending the data off to other threads just in case there is some kind of issue there