Update PhysicalRobot

Code changed  so closing arm doesn't get stuck in a while loop.