A novel shared control algorithm for industrial robots