I park my Tesla X in a carport. To be sure it doesn't hit the 2-by-4's 226 cm above the floor, I put up a white panel zone where I am sure the sensors will see where to stop. Default when the doors see obstacles, it open half way if the obstacles is not to close. Extending the doors closer to the panel-sealing, the control panel will after a few times ask if the door height should be extended as for this particular location - GPS location. It will then override the default safety distance for the doors and extend to the wanted height. But remember to also set the same suspension as well, to ex. Low or Very Low.
This blog will take you through the experience a family of 5 will have with the Tesla Model X in Norway.