Text this: Development of an on-board system for diagnosing the technical condition of the tread surface of the wheels of wagons