added robot-robot collision checking.