In the previous section we gathered our inputs and prepared some support functions for the trajectory computation. We are now ready to start the compute.
Output:
Compute attempt 0assessing trajectoryTrajectory computed successfully.The trajectory has been returned as a dataframe. To inspect the results we can export it to .csv and load it into a GIS viewer like Google Earth.
Note that when we load, we can set the height by choosing the altitude field.
Here is the trajectory, with the vertical scale exaggerated:
We can click any of the points along the trajectory to inspect the state vector attributes:
In this chapter we wrote code to compute the vertical component of the flight plan, using a simple loop to simulate the flight trajectory between the departure and arrival waypoints. We saved the computed trajectory in a data table called a dataframe. In the next chapter we will show how to distill the trajectory dataframe into a summarized navigation log for the pilot.