Changes between Version 20 and Version 21 of aircraft


Ignore:
Timestamp:
Feb 26, 2016, 6:06:08 AM (3 years ago)
Author:
GNU
Comment:

changed initialize(reload) to initialize(param)

Legend:

Unmodified
Added
Removed
Modified
  • aircraft

    v20 v21  
    1515Aircraft script, referenced from objdef file of a model, is used to define the link between the JSBSim model, 3D model and the input system.
    1616
    17 The script should define two functions that are invoked internally: **initialize**(reload) and **update_frame**(dt). Initialize with reload=false is called before any other call to the script; it's expected that the script global variables are set up here.
     17The script should define two functions that are invoked internally: **initialize**(param) and **update_frame**(dt). Initialize with reload=false is called before any other call to the script; it's expected that the script global variables are set up here.
    1818The update_frame event is called each frame to handle the internal state of the model instance.
    1919