Aero.FlightGearAnimation
Construct FlightGear animation object
Syntax
h = Aero.FlightGearAnimation
Description
h = Aero.FlightGearAnimation
constructs a
FlightGear animation object. The FlightGear animation object is returned to
h
.
Limitations
These capabilities are not available for Aerospace Toolbox Online:
The
Aero.FlightGearAnimation
objectThe related example, Create a Flight Animation from Trajectory Data
Constructor
Method | Description |
---|---|
Construct FlightGear animation object. |
Method Summary
Method | Description |
---|---|
Clear and delete timer for animation of FlightGear flight simulator. | |
Destroy FlightGear animation object. | |
Generate run script for FlightGear flight simulator. | |
Set up FlightGear animation object. | |
Animate FlightGear flight simulator using given position/angle time series. | |
Set name of timer for animation of FlightGear flight simulator. | |
Update position data to FlightGear animation object. | |
Wait until animation is done playing |
Property Summary
Properties | Description |
---|---|
| Specify variable that contains the time series data. |
| Specify the type of time series data stored in
|
| Specify a function to read the time series data if
|
| Specify the seconds of animation data per second of wall-clock
time. The default ratio is |
| Specify the number of frames per second used to animate the
|
| Specify the name of the output file. The file name is the name
of the command you will use to start FlightGear with these initial
parameters. The default value is Note The run script file name must be composed of ASCII characters. |
| Specify the name of your FlightGear installation folder. The
default value is Note FlightGear must be installed in a folder path name composed of ASCII characters. |
| Specify the name of the folder containing the desired model
geometry in the
|
| Specify your destination IP address. The default value is
|
| Specify your network flight dynamics model (fdm) port. This
destination port should be an unused port that you can use when you
launch FlightGear. The default value is |
| Specify the airport ID. The list of supported airports is
available in the FlightGear interface, under
Location. The default value is
|
| Specify the runway ID. The default value is
|
| Specify the initial altitude of the aircraft, in feet. The
default value is |
| Specify the initial heading of the aircraft, in degrees. The
default value is |
| Specify the offset distance of the aircraft from the airport,
in miles. The default value is |
| Specify the offset azimuth of the aircraft, in degrees. The
default value is |
| Specify start time as a double. |
| Specify end time as a double. |
| Specify the architecture the FlightGear software is running on.
|
The time series data, stored in the property 'TimeSeriesSource'
, is
interpreted according to the 'TimeSeriesSourceType'
property, which
can be one of:
TimeSeriesSourceType Properties
Property | Description |
---|---|
| MATLAB
The values are resampled. |
| MATLAB
The values are resampled. |
| Simulink struct with time (for example, Simulink root outport
logging
Signals are linearly interpolated vs. time using
|
| A double-precision array in n rows and 7 columns
for 6-DoF data: time lat lon alt phi theta psi . If a
double-precision array of 8 or more columns is in
'TimeSeriesSource' , the first 7 columns are used
as 6-DoF data. |
| A double-precision array in n rows and 4 columns
for 3-DoF data: time lat alt theta . If a
double-precision array of 5 or more columns is in
'TimeSeriesSource' , the first 4 columns are used
as 3-DoF data. |
| Position and angle data is retrieved from
'TimeSeriesSource' by the currently registered
'TimeseriesReadFcn' . |
Specify one of these values for the Architecture
property:
Architecture Properties
Property | Description |
---|---|
| Architecture the MATLAB® software is currently running on. If the property has
this value, |
| Windows® (64-bit) architecture. |
| Mac OS X (64-bit) architecture. |
| Linux® (64-bit) architecture. |
| Architecture the MATLAB software is currently running on. If the property has
this value, |
| Windows (64-bit) architecture. |
| Mac OS X (64-bit) architecture. |
| Linux (64-bit) architecture. |
Examples
Construct a FlightGear animation object, h
:
h = fganimation
Version History
Introduced in R2007a