Hi Albert, shuffling the commands does not solve the issue. In the order you propose:
I'd like be able to provide commands to R1 and R2, and have them execute the commands consecutively regardless of the other robot's status.
Also, I would need a generic solution, which works for any number of commands and any time duration of a move command. While the order of consecutive commands to an individual robot is inherent when a new command is queued, the combined order of consecutive commands for both robots will be unknown in advance. But since both robots should operate independently, the combined order should be irrelevant: each robot simply executes its own list of consecutive commands independently.
- Command #3 to R1 will not execute until R1 has finished command #1, which is as expected.
- Command #4 to R2 will not execute until R2 has finished command #2, which is as expected.
- Command #4 to R2 will not execute until R1 has finished command #1,which is the remaining issue.
I'd like be able to provide commands to R1 and R2, and have them execute the commands consecutively regardless of the other robot's status.
Also, I would need a generic solution, which works for any number of commands and any time duration of a move command. While the order of consecutive commands to an individual robot is inherent when a new command is queued, the combined order of consecutive commands for both robots will be unknown in advance. But since both robots should operate independently, the combined order should be irrelevant: each robot simply executes its own list of consecutive commands independently.