der-On / X-Plane-Flight-Planner

A web-based flight planning tool for the flight simulator X-Plane.
https://der-on.github.io/X-Plane-Flight-Planner/
47 stars 14 forks source link

Calculate ETE and Fuel in Realtime #6

Open der-On opened 12 years ago

der-On commented 12 years ago

The server needs to send current fuel of aircraft to make fuel calculations work. On each cycle the left flight time and left fuel consumption should be calculated and display somewhere on the interface.

der-On commented 11 years ago

On each aircraft poll we need to calculate ETE and Fuel to the first next waypoint (first in waypoints list) and the totals. We also need to check if the aircraft is within a minimal distance to the first next waypoint. If so the first next waypoint can be removed or set as "passed" and the the next waypoint will become the waypoint to calculate ETE and Fuel to.