public void fctPlay(NLX.Robot.Kuka.Controller.RobotController rob) { if (listPos.Count() != 0) { // play the list, then empty it rob.PlayTrajectory(listPos); listPos.Clear(); } }