I am not familiar with Map Pilot either. But if there's really no way to control focus within that app then you might try using a lens that lets you disable autofocus, like the Olympus 12mm. It supports this via an easy to miss ring on the barrel of the lens; slide it to reveal focus setting marks, and you've also disabled autofocus. So you could prefocus the lens as usual, disable auto focus on the lens itself, and then fly your mapping mission under Map Pilot Control. Of course Map Pilot might balk at using the lens in this setting, so this is just speculation, and finding a way to exercise proper control while using Map Pilot would clearly be preferable.
Just in case you don't already know the ins and outs of depth of field control, especially while using a camera like the X5, I recommend this article:
Understanding Your Camera’s Hyperfocal Distance. It does not mention the X5, but the concepts presented there are relevant. Specifically, your P3P is not "prefocused on infinity." It is prefocused at its hyperfocal distance, so that a wide range of distances are acceptably in focus, including infinity. If you want to use your X5 in the same way from a focus perspective, you can focus it at its hyperfocal distance too, which varies depending on the focal length and aperture you are using at the time. And, of course, there are times when it is more appropriate to focus somewhere other than the hyperfocal distance, depending on your needs. The article referenced above does a nice job addressing that too.
Here are a couple of additional ideas just in case they apply here:
Pics sometimes look blurry for reasons other than bad focus: motion blur caused by shooting with too slow a shutter speed, non optimal aperture (between f5.6 and f8 are usually good), artifacts from shooting at an excessively high ISO, especially after applying noise reduction, which can really soften images.
Finally, sharpening X5 DNGs in post, which is preferable to using a high sharpening setting while shooting, can help a lot.
Good luck!