This Lightroom tutorial shows you how to use Guided Upright to fix vertical and horizontal lines that are bent. The images were shot with a DJI Inspire 1 Pro drone.
You can get rid of barreling and keystoning in your aerial panoramas. This Lightroom tutorial also works in Photoshop Camera the same way, using the latest guided upright feature.
This image was shot using a DJI Inspire 1 with the X5 camera.