List of Nasal extension functions: Difference between revisions

Jump to navigation Jump to search
aircraft.history: describe parameter
m (→‎flightplan(): https://gitorious.org/fg/flightgear/commit/0fc2d57211e57ea2f166d1f08dd3b9a765404f37)
(aircraft.history: describe parameter)
Line 341: Line 341:
Function to expose flight history as aircraft.history()
Function to expose flight history as aircraft.history()


Usage:
<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">
var hist = aircraft.history(); debug.dump(hist.pathForHistory(50));
var hist = aircraft.history();
 
# get history of aircraft position/orientation collapsing
# nodes with a distance smaller than the given minimum
# edge legth
debug.dump( hist.pathForHistory(<minimum-edge-length-meter>) );
</syntaxhighlight>
</syntaxhighlight>


166

edits

Navigation menu