Nasal Flightplan: Difference between revisions

Jump to navigation Jump to search
Line 29: Line 29:
; getWP(index) : Returns the leg for specified index.
; getWP(index) : Returns the leg for specified index.
; currentWP() : Return current active leg.
; currentWP() : Return current active leg.
; nextWP() :  
; nextWP() : Make next waypoint active.
; getPlanSize() : Returns number of waypoints
; getPlanSize() : Returns number of waypoints
; appendWP(leg) : Add a leg to the end of the flightplan.
; appendWP(leg) : Add a leg to the end of the flightplan.
Line 40: Line 40:
; clone() : Return a copy of the flightplan.
; clone() : Return a copy of the flightplan.
; pathGeod() :  
; pathGeod() :  
; finish() :  
; finish() : Finish the plan. (a call to delegate will be made)
; indexOfWP() :
; indexOfWP(wp) : Returns the index of the passed waypoint/leg.
; destination : airport object as destination.
; destination : airport object as destination.
; destination_runway : rwy object as destination and its airport implicit.
; destination_runway : rwy object as destination and its airport implicit.
; departure : airport object as departure.
; departure : airport object as departure.
; departure_runway : rwy object as departure and its airport implicit.
; departure_runway : rwy object as departure and its airport implicit.
; id :
; id : optional name of plan.
; sid : procedure object for SID.
; sid : procedure object for SID.
; star : procedure object for STAR.
; star : procedure object for STAR.
Line 55: Line 55:
; aircraftCategory : ICAO aircraft category.
; aircraftCategory : ICAO aircraft category.
; followLegTrackToFix : Specific used by some procedures. It controls whether the system will fly on an intersection course (and hence, different track) to the end of the leg, or make a corrective S-turn to get back on the leg track immediately it becomes possible.
; followLegTrackToFix : Specific used by some procedures. It controls whether the system will fly on an intersection course (and hence, different track) to the end of the leg, or make a corrective S-turn to get back on the leg track immediately it becomes possible.
; activate() :
; activate() : This will make the flight plan the default (the one used in route-manager).
; save(path) : Save a plan to xml. Will return true or false for success.


== Leg methods and variables ==
== Leg methods and variables ==
574

edits

Navigation menu