robot closed loop diagram