| Aerospace Blockset™ | ![]() |
Animation/Flight Simulator Interfaces

The FlightGear Preconfigured 6DoF Animation
block lets you drive position and attitude values to a FlightGear
flight simulator vehicle given double precision values for longitude
(l), latitude (μ), altitude (h),
roll
, pitch
,
and yaw
respectively.
The block is a masked subsystem containing principally a Pack net_fdm Packet for FlightGear block set for 6DoF inputs, a Send net_fdm Packet to FlightGear block, and a Simulation Pace block. To access the full capabilities of these blocks, use the individual corresponding blocks from the Aerospace Blockset library.
The block is additionally configured as a SimViewingDevice, so that if you generate code for your model using the Real-Time Workshop product and connect to the running target code using theReal-Time Workshop External Mode available from the model's toolbar, then the Simulink software can obtain the data from the target on the fly and transmit position and attitude data to FlightGear. The SimViewingDevice facility is described in the Simulink documentation.
This block does not produce deployable code, but can be used with Real-Time Workshop external mode as a SimViewingDevice.

Select your FlightGear software version.
Supported versions: v0.9.3, v0.9.8/0.9.8a, v0.9.9, v0.9.10, v1.0.
Specify your destination IP address.
Specify your destination port.
Specify the sample time (-1 for inherited).
| Input | Dimension Type | Description |
|---|---|---|
First | Vector | Contains the longitude, latitude, altitude, roll, pitch, and yaw, in double precision. Units are degrees west/north for longitude and latitude, meters above mean sea level for altitude, and radians for attitude values. |
Bowditch, N., American Practical Navigator, An Epitome of Navigation, US Navy Hydrographic Office, 1802.
Pack net_fdm Packet for FlightGear
Send net_fdm Packet to FlightGear
![]() | Flat Earth to LLA | Force Conversion | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |