This article follows on from Osmo panoramas using DronePan
The settings view in DronePan has a fair few options - there's a lot of devices it works with and they need different options available.
So I wanted to do some changes to the settings view. First off - I wanted to only show the relevant information for the currently connected device - hide the settings that are not in use.
Secondly - I wanted to replace the concept of "sky row".
Sky Row/Max Pitch
Sky Row
A normal drone panorama with DronePan runs from a start pitch of 0˚ down to the nadir at -90˚.
Originally we supported only 0˚, -30˚, -60˚ then the nadir at -90˚.
But the Inspire 1 allows you to point above the horizon - to a maximum pitch of +30˚. So we added a "Sky Row" concept that meant "if you choose sky row then we'll add a row at +30˚".
Max Pitch
But here's the issue with that - we also added the ability to add more rows. And so - you can get more rows in the 30˚-0˚ than just one.
So - this is a change - we're removing "Sky Row" - and adding instead "Max Pitch" if the gimbal we see tells us it can go above 0˚.
You can therefore choose the max pitch (for all known DJI drones right now that's a +30˚ setting) or "Horizon".
It won't automatically add an extra row - you can set whatever row count you want and that will be the row count instead of having to remember "oh - I chose sky row - that means it's this number + 1".
Notes
Bugs/Updates
While working on this I caught a bug that is likely affecting the X5/X5R Inspire 1 users.
You see - we added more rows for them - their lenses are narrower. But - by mistake - we then took the number of rows and created an evenly spaced set of rows from the start point to 60˚ then always jumped 30˚ for the nadir.
So - that's going to cause issues stitching along the base of the image - not good.
So - now we space them evenly all the way thru the pitch movement.
Lastly - we wanted to add an option of 1, 2, 3 or 4 nadir/zenith shots.
This bug fix and nadir option together may mean that X5/X5R users can in fact reduce the number of rows - someone with an X5/X5R will have to test - mine's an X3 so I have no idea.
Two new panos
Here's a couple of stitches in progress (note for these two I didn't take extra ground shots):
You can see in both the zenith shots in place - and also I hope - that the rows are evenly spaced - including the space between the top row and the zenith shots. That last part is the fixed pitch bug.