Currently the flask server just pops the instruction on top of the stack and sends it to whichever tank sent a get request.
This won't work when all 4 tanks are connected, need some sort of algorithm to send tanks the same instructions at the same time. As the tanks are currently sending get requests to the flask server, instead of the flask server pushing instructions to them, might need to either go back to a "push" set up somehow, or find some way on the flask side to ensure all 4 tanks get the same instructions at the same time.
Currently the flask server just pops the instruction on top of the stack and sends it to whichever tank sent a get request. This won't work when all 4 tanks are connected, need some sort of algorithm to send tanks the same instructions at the same time. As the tanks are currently sending get requests to the flask server, instead of the flask server pushing instructions to them, might need to either go back to a "push" set up somehow, or find some way on the flask side to ensure all 4 tanks get the same instructions at the same time.