Got a small query surrounding the use of WiFi as a medium of communication between 3 Raspberry Pis. Essentially I am creating a lidar system that has 3 independent subsystems, each controlled by a Pi. The subsystems are: 1) stepper motor control for rotation 2) distance measurement 3) touchscreen UI. All of these Pis need to be able to ideally communicate with one another and not be bogged down by one of them being the server etc. An overview of the flow of data can be found attached.
Also note that the data is just text (distance and rotational position), but it would be quite neat to extend the project to use a Pi camera as well, so preferably images would be able to be sent over the network between the Pis too.
What is the best way to network 3 Pis in Python that would facilitate both text and image communication?