Thanks Oskar. It works now
Here is my first timing:
Noofy_01.jpg
One comment about the average altitude:
It shows the average altitude above sea level, not above ground. It increases over time because we are flying uphill.
The altitude of the first cone is 48 meters, and that of the last cone is 304 meters.
It would have made more sense to fly the canyon the opposite way, starting south from the "mountain" top and flying North, downhill towards the sea.
In order to get the proper average altitude above ground, we should average the difference between the flying altitude and the ground altitude.
One way of doing it is to have triggers at each cone along the way, and at the trigger take the plane altitude minus the altitude of the cone triggered...
Unless there is a way to know both the aircraft altitude and the ground altitude at the position of each altitude count point, and average the difference between the two instead of the plane altitude only...
I wish I could write in C# to help you out ...
Bookmarks