conservationtechlab / dencam

Polar bear maternal den observation system.
MIT License
3 stars 2 forks source link

decoupling timestamp update from gui loop #7

Open icr-ctl opened 3 years ago

icr-ctl commented 3 years ago

Currently the timestamp on the video is updated inside the Controller. This is probably not desirable. For one: that means the timestamp updating is subject to whatever rate we choose for this loop (currently at 10 Hz so actually sort of slow for a timestamp). But more importantly, if the Controller thread crashes, timestamp sticks. Long story short: we might want to consider doing this differently. Since recorder itself isn't run as a thread, maybe we should even have a special thread that only updates the timestamp.