This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

update (Aero.FlightGearAnimation)

Update position data to FlightGear animation object




update(h,time) and h.update(time) update the position data to the FlightGear animation object via UDP. It sets the new position and attitude of body h. time is a scalar in seconds.

    Note:   This function requires that you load the time series data and run FlightGear first.


Configure a body with TimeSeriesSource set to simdata, then update the body with time time equal to 0.

h = Aero.FlightGearAnimation;
h.FramesPerSecond = 10;
h.TimeScaling = 5;
load simdata;
h.TimeSeriesSource = simdata;
t = 0;

Introduced in R2007a

Was this topic helpful?