4 ms·
10 years ago I built a streetlight system, we implemented and tested the protocol by build a simple simulator in a qt app and embedding the same software stack
by Taniwha 9y ago
10 years ago I built a streetlight system, we implemented and tested the protocol by build a simple simulator in a qt app and embedding the same software stack inside it, it allowed us to create models that modelled x/y locations, distance signal drop off, random noise, exit points etc
Large randomly placed simulations only started to slow with ~15k nodes ... In other words it's not hard
- solotronics 9y agoawesome. it's probably not a reasonable request but if any of this was open sourced it would be a great asset to humanity!
- Taniwha 9y agoProbably not that useful in that it was an old QT, no longer compiles. More importantly I have a tiny OS that doesn't have real threads (code had to run on 8k), I port it all over it simply consists of a timer queue, and one stack - threadlets are a queue entry with a data pointer - running 14k instances of this tiny OS in one simulator is pretty easy (you still just have one timer queue ....) - so you can see it's all pretty dependant on the uOS The only hard part is making packet delivery not O(N2)