Localization of semi-trailers