A system, comprising: - an apparatus (102, 116) configured to move along a track defined by rails (112, 114; 126, 128), the apparatus comprising two opposite ends (e 1, e 2), each end carried by two or more wheels (w1-w4; 118-124), - a drive logic for guiding driving arrangements of the wheels; - a control unit in operative connection with the apparatus; wherein: - the apparatus comprises at least two detectors (d1, d2, d3, d4) in each of the two opposite ends, the at least two detectors in each of the two opposite ends being in a known spatial connection with respective wheels (w1, w2, w3, w4), for generating to the control unit a signal that represents a measured lateral distance (I1, I2, I3, I4) of a specific part of the wheel from a respective rail; - the control unit is configured to receive signals (s1-s4) from the at least two detectors in each of the two opposite ends and to record the received signals with associated position data, the position data representing plural specific positions along the track where the lateral distance of the specific part of the wheel from the respective rail was measured; - the control unit is configured to use the received recorded signals from the at least two detectors in each of the two opposite ends and the associated position data to generate an indication (L(t)) representing lateral dimensional compatibility of the apparatus and the track in a position that the apparatus is moving into, wherein the indication representing lateral dimensional compatibility of the apparatus and the track is a variable value representing a lateral dimension of the track; - the control unit is configured to feed the indication representing lateral dimensional compatibility of the apparatus and the track to the drive logic; - the drive logic is configured to compute for each end of the apparatus a respective end flange value that represents lateral dimensional compatibility of the wheels with an underlying rail in the end of the apparatus, and a respective end skew value that represents a level of skew of a line connecting successive wheels in the end of the apparatus. - an apparatus (102, 116) configured to move along a track defined by rails (112, 114; 126, 128), the apparatus comprising two opposite ends (e 1, e 2), each end carried by two or more wheels (w1-w4; 118-124), - a drive logic for guiding driving arrangements of the wheels; - a control unit in operative connection with the apparatus; - the apparatus comprises at least two detectors (d1, d2, d3, d4) in each of the two opposite ends, the at least two detectors in each of the two opposite ends being in a known spatial connection with respective wheels (w1, w2, w3, w4), for generating to the control unit a signal that represents a measured lateral distance (I1, I2, I3, I4) of a specific part of the wheel from a respective rail; - the control unit is configured to receive signals (s1-s4) from the at least two detectors in each of the two opposite ends and to record the received signals with associated position data, the position data representing plural specific positions along the track where the lateral distance of the specific part of the wheel from the respective rail was measured; - the control unit is configured to use the received recorded signals from the at least two detectors in each of the two opposite ends and the associated position data to generate an indication (L(t)) representing lateral dimensional compatibility of the apparatus and the track in a position that the apparatus is moving into, wherein the indication representing lateral dimensional compatibility of the apparatus and the track is a variable value representing a lateral dimension of the track; - the control unit is configured to feed the indication representing lateral dimensional compatibility of the apparatus and the track to the drive logic; - the drive logic is configured to compute for each end of the apparatus a respective end flange value that represents lateral dimensional compatibility of the wheels with an underlying rail in the end of the apparatus, and a respective end skew value that represents a level of skew of a line connecting successive wheels in the end of the apparatus.