Application Programming
To benefit my final project I decided to make a virtuel flower wall, so that I could test algorithms/strategies without having to debug hardware. I used matlab scripting, because it allows easy visualization. I figured I would eventually make matlab output voltage signals to engage with the physical flower wall, but I don't have that part working yet (I have done it before though)...
Virtual flower wall
Matlab code is here.
It works like the final real system. I.e. each flower is updated independently, and in random order for every time step.
In this VIDEO I'm updating flowers based on input signals from their neighbors (rated 0.2), their own previous value (rated 0.7) and their sensor values. (Not summing up to 1 makes the values decay over time.) The simulation currently spikes sensor values of one randomly picked flower every 4 seconds.
This simulation has actually already made it much simpler to debug behaviors of the wall. :)