This article describes a data fusion algorithm that uses fuzzy logic techniques. The algorithm involves weighting factors, the values of which change depending on whether the conditions dictated by processes of fuzzy logic have been met. By modifying the values of weighting factors, one can achieve a measurement signal with expected properties. The article includes a general description of the algorithm and an example of its application. The algorithm was developed for the purposes of data fusion for contactless measurement of the linear and angular position of an automatic laparoscopic device or a laparoscopic camera (hereinafter Laparoscope sleeve or LS).These measurements are used in the article to close the feedback loop on the position within a servomechanism with two degrees of freedom.