Route Manager internals: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Robot: Cosmetic changes)
No edit summary
Line 4: Line 4:


Since most real navigation systems deal in ''legs'', not waypoints, the active leg is defined as that between <tt>waypoints[currentWpt - 1]</tt> and <tt>waypoints[currentWpt]</tt>. This is why current waypoint property is initialised to '1' on activating a route, and why activating a route adds the current location (usually the departure runway) as waypoint 0 - taken together, the user and GPS see the expected first leg from the runway to the first waypoint they entered.
Since most real navigation systems deal in ''legs'', not waypoints, the active leg is defined as that between <tt>waypoints[currentWpt - 1]</tt> and <tt>waypoints[currentWpt]</tt>. This is why current waypoint property is initialised to '1' on activating a route, and why activating a route adds the current location (usually the departure runway) as waypoint 0 - taken together, the user and GPS see the expected first leg from the runway to the first waypoint they entered.
Also see, [[Nasal Flightplan]]


=== Activation ===
=== Activation ===
580

edits

Navigation menu