Willmish / comp0016-farmbeats

Raspberry Pi based IoT project on smart farming with @Avanade
http://students.cs.ucl.ac.uk/2021/group28/
MIT License
2 stars 1 forks source link

Concurrent data logging and PID control #61

Closed Willmish closed 2 years ago

Willmish commented 2 years ago

Description

This PR adds support for data storing/logging while constantly sending PID control updates. The initial idea was to run it in concurrent threads, but this introduced same problems, and currently is solved by adding a simple waiting if statement, triggered every once in a while in the loop (may be moved to multithreading still later). It also restructures the Pubsub topic architecture (new diagram to be uploaded later to README). It also adds PID analysers.

Continuation of the #52 PR.

Issues

Closes #39 Works towards #40