I’ve looked through the Dexter Industries Forums and spent some time on Stack Overflow, but I’m not sure I’ve found “best practices” to have the Raspberry Pi based robots complete different actions relatively simultaneously.
Threading seems to be the most obvious approach, but there are other options such as queueing or asyncio.
For my intended application, I’m using BrickPi and want to:
- Monitor sensors
- Run Motors
- work with sensor values - probably lots of math
- write files
- connect with other wi-fi enabled devices
Sorry if I’ve missed the question in other parts of the forum - pointers welcome.