Enabling safe travel for vehicles with height restrictions