if OS == Linux && MQTT Broker NOT localhost && NumRemoteRobots >= 4:
RemoteRobots are DELAYED
Tested scenarios:
- Windows 10, 11 Desktops, Laptops
- Remote broker
- 1,4,100,200 Robots --> NO DELAYS
- Ubuntu 22.04, 24.05 Laptops
- Remote broker
- 1 robot --> NO DELAY
- 4 robot --> 15s DELAY
- more than 4 robots --> MINUTES of DELAY
- Local broker
- 1,4,100 Robots --> NO DELAYS
Test methods:
- SAM robots publishing mock waraps stuff to mqtt.
- Check remote robot states in Unity
- Check MQTT Explorer
- Published time into mqtt
- Used SAM to produce "load"
- Check Unity remote robot states
- Check MQTT Explorer
In every case, MQTT Explorer seems to receive everything just fine, all the time, even when Unity is delayed by minutes.
Meaning:
- publications are fine
- Hardware is fine
- Broker is fine
Because if any of these 3 had a problem, MQTT Explorer would not see the data either.
The problem seems to be specifically in the network-->Unity path.
I can not fix this. Problem happens before Unity but after network card, only on Linux.
Tested scenarios:
Test methods:
In every case, MQTT Explorer seems to receive everything just fine, all the time, even when Unity is delayed by minutes.
Meaning:
Because if any of these 3 had a problem, MQTT Explorer would not see the data either.
The problem seems to be specifically in the network-->Unity path.
I can not fix this. Problem happens before Unity but after network card, only on Linux.