In this scenario, the NXT Robot has to push a cube through a labyrinth. It does this by following the right path while avoiding obstacles (walls) to get out of the labyrinth. As the NXT robot moves out of the labyrinth, it moves closer to the Dobot arm pushing the cube close to the Dobot arm. If the cube is within range, the Dobot arm garbs it, picks it up and stacks it on a shelf. Else, that is the end of the operation.
Illustration of the scenario: