Products & Services Solutions Academia Support User Community Company

Learn more about Aerospace Toolbox   

update (Aero.FlightGearAnimation) - Update position data to FlightGear animation object

Syntax

update(h,time)
h.update(time)

Description

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.

Examples

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;
h.update(t);

See Also

GenerateRunScript, initialize, play

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS