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

The Pack net_fdm Packet for FlightGear block creates, from separate inputs, a FlightGear net_fdm data packet compatible with a particular version of FlightGear flight simulator. All the signals supported by the FlightGear net_fdm data packet are supported by this block. The signals are arranged into six groups. Any group can be turned on or off. Zeros are inserted for packet values that are part of inactive signal groups.
See Inputs and Outputs for details on signals and signal groups.
Supported FlightGear versions: v0.9.3, v0.9.8/0.9.8a, v0.9.9, v0.9.10, v1.0

Select your FlightGear software version.
Supported FlightGear versions: v0.9.3, v0.9.8/0.9.8a, v0.9.9, v0.9.10, v1.0.
Select this check box to include the position and altitude inputs (signal group 1) into the FlightGear net_fdm data packet.
Select this check box to include the velocity and acceleration inputs (signal group 2) into the FlightGear net_fdm data packet.
Select this check box to include the control surface position inputs (signal group 3) into the FlightGear net_fdm data packet.
Select this check box to include the engine and fuel inputs (signal group 4) into the FlightGear net_fdm data packet.
Select this check box to include the landing gear inputs (signal group 5) into the FlightGear net_fdm data packet.
Select this check box to include the environment inputs (signal group 6) into the FlightGear net_fdm data packet.
Specify the sample time (-1 for inherited).
This table lists all the input signals supported for Version 0.9.3:
Name | Units | Type | Width | Description |
|---|---|---|---|---|
Signal Group 1: ShowPositionAttitudeInputs | ||||
l | rad | double | 1 | Geodetic longitude |
μ | rad | double | 1 | Geodetic altitude |
h | m | double | 1 | Altitude above sea level |
Φ | rad | single | 1 | Roll |
Θ | rad | single | 1 | Pitch |
ψ | rad | single | 1 | Yaw or true heading |
Signal Group 2: ShowVelocityAccelerationInputs | ||||
dΦ/dt | rad/sec | single | 1 | Roll rate |
dΦ/dt | rad/sec | single | 1 | Pitch rate |
dψ/dt | rad/sec | single | 1 | Yaw rate |
vcas | kts | single | 1 | Calibrated airspeed |
climb_rate | ft/sec | single | 1 | Climb rate |
v_north | ft/sec | single | 1 | North velocity in local/body frame |
v_east | ft/sec | single | 1 | East velocity in local/body frame |
v_down | ft/sec | single | 1 | Down/vertical velocity in local/body frame |
v_wind_body_north | ft/sec | single | 1 | Body north velocity relative to local airmass |
v_wind_body_east | ft/sec | single | 1 | Body east velocity relative to local airmass |
v_wind_body_down | ft/sec | single | 1 | Body down/vertical velocity relative to local airmass |
stall_warning | — | single | 1 | 0.0–1.0, indicating the amount of stall |
A_X_pilot | ft/sec2 | single | 1 | X acceleration in body frame |
A_Y_pilot | ft/sec2 | single | 1 | Y acceleration in body frame |
A_Z_pilot | ft/sec2 | single | 1 | Z acceleration in body frame |
Signal Group 3: ShowControlSurfacePositionInputs | ||||
elevator | geometry- | single | 1 | Elevator position |
flaps | geometry- | single | 1 | Flaps position |
left_aileron | geometry- | single | 1 | Left aileron position |
right_aileron | geometry- | single | 1 | Right aileron position |
rudder | geometry- | single | 1 | Rudder position |
speedbrake | geometry- | single | 1 | Speed brake position |
spoilers | geometry- | single | 1 | Spoilers position |
Signal Group 4: ShowEngineFuelInputs | ||||
num_engines | — | int32 | 1 | Number of valid engines |
eng_state | enum | int32 | 4 | Engine state (0=off, 1=cranking, 2=running) |
rpm | rev/min | single | 4 | Engine RPM |
fuel_flow | gal/hr | single | 4 | Fuel flow |
EGT | oF | single | 4 | Exhaust gas temp |
oil_temp | oF | single | 4 | Oil temp |
oil_px | lbf/in2 | single | 4 | Oil pressure |
num_tanks | — | int32 | 1 | Max number of fuel tanks |
fuel_quantity | — | single | 4 | Amount of fuel in tanks (0–1 fraction) |
Signal Group 5: ShowLandingGearInputs | ||||
num_wheels | — | int32 | 1 | Maximum number of wheels |
wow | — | boolean | 3 | Weight on wheels signal (1=wheel is on ground) |
gear_pos | — | single | 3 | Landing gear position (0-1, indicating amount deployed) |
gear_steer | — | single | 3 | Landing gear steering angle |
gear_compression | — | single | 3 | Landing gear compression |
Signal Group 6: ShowEnvironmentInputs | ||||
agl | m | single | 1 | Above ground level |
cur_time | sec | int32 | 1 | Current UNIX time |
warp | sec | int32 | 1 | Offset in seconds to UNIX time |
visibility | m | single | 1 | Visibility in meters (for visual effects) |
This table lists all the input signals supported for Versions 0.9.8/0.9.8a:
Name | Units | Type | Width | Description |
|---|---|---|---|---|
| Signal Group 1: ShowPositionAttitudeInputs | ||||
l | rad | double | 1 | Geodetic longitude |
μ | rad | double | 1 | Geodetic altitude |
h | m | double | 1 | Altitude above sea level |
Φ | rad | single | 1 | Roll |
Θ | rad | single | 1 | Pitch |
ψ | rad | single | 1 | Yaw or true heading |
| Signal Group 2: ShowVelocityAccelerationInputs | ||||
α | rad | single | 1 | Angle of attack |
β | rad | single | 1 | sideslip angle |
dΦ/dt | rad/sec | single | 1 | Roll rate |
dΦ/dt | rad/sec | single | 1 | Pitch rate |
dψ/dt | rad/sec | single | 1 | Yaw rate |
vcas | kts | single | 1 | Calibrated airspeed |
climb_rate | ft/sec | single | 1 | Climb rate |
v_north | ft/sec | single | 1 | North velocity in local/body frame |
v_east | ft/sec | single | 1 | East velocity in local/body frame |
v_down | ft/sec | single | 1 | Down/vertical velocity in local/body frame |
v_wind_body_north | ft/sec | single | 1 | Body north velocity relative to local airmass |
v_wind_body_east | ft/sec | single | 1 | Body east velocity relative to local airmass |
v_wind_body_down | ft/sec | single | 1 | Body down/vertical velocity relative to local airmass |
A_X_pilot | ft/sec2 | single | 1 | X acceleration in body frame |
A_Y_pilot | ft/sec2 | single | 1 | Y acceleration in body frame |
A_Z_pilot | ft/sec2 | single | 1 | Z acceleration in body frame |
stall_warning | — | single | 1 | 0.0–1.0, indicating the amount of stall |
slip_deg | deg | single | 1 | Slip ball deflection |
| Signal Group 3: ShowControlSurfacePositionInputs | ||||
elevator | geometry- | single | 1 | Elevator position |
elevator_trim_tab | geometry- | single | 1 | Elevator trim position |
left_flap | geometry- | single | 1 | Left flap position |
right_flap | geometry- | single | 1 | Right flap position |
left_aileron | geometry- | single | 1 | Left aileron position |
right_aileron | geometry- | single | 1 | Right aileron position |
rudder | geometry- | single | 1 | Rudder position |
nose_wheel | geometry- | single | 1 | Nose wheel position |
speedbrake | geometry- | single | 1 | Speed brake position |
spoilers | geometry- | single | 1 | Spoilers position |
| Signal Group 4: ShowEngineFuelInputs | ||||
num_engines | — | int32 | 1 | Number of valid engines |
eng_state | enum | int32 | 4 | Engine state (0=off, 1=cranking, 2=running) |
rpm | rev/min | single | 4 | Engine RPM |
fuel_flow | gal/hr | single | 4 | Fuel flow |
EGT | oF | single | 4 | Exhaust gas temp |
cht | oF | single | 4 | Cylinder head temperature |
mp_osi | psi | single | 4 | Manifold pressure |
tit | oF | single | 4 | Turbine inlet temperature |
oil_temp | oF | single | 4 | Oil temp |
oil_px | lbf/in2 | single | 4 | Oil pressure |
num_tanks | — | int32 | 1 | Max number of fuel tanks |
fuel_quantity | — | single | 4 | Amount of fuel in tanks (0–1 fraction) |
| Signal Group 5: ShowLandingGearInputs | ||||
num_wheels | — | int32 | 1 | Maximum number of wheels |
wow | — | boolean | 3 | Weight on wheels signal (1=wheel is on ground) |
gear_pos | — | single | 3 | Landing gear position (0–1, indicating amount deployed) |
gear_steer | — | single | 3 | Landing gear steering angle |
gear_compression | — | single | 3 | Landing gear compression |
| Signal Group 6: ShowEnvironmentInputs | ||||
agl | m | single | 1 | Above ground level |
cur_time | sec | int32 | 1 | Current UNIX time |
warp | sec | int32 | 1 | Offset in seconds to UNIX time |
visibility | m | single | 1 | Visibility in meters (for visual effects) |
This table lists all the input signals supported for Version 0.9.9:
Name | Units | Type | Width | Description |
|---|---|---|---|---|
| Signal Group 1: ShowPositionAttitudeInputs | ||||
l | rad | double | 1 | Geodetic longitude |
μ | rad | double | 1 | Geodetic latitude |
h | m | double | 1 | Altitude above sea level |
Φ | rad | single | 1 | Roll |
Θ | rad | single | 1 | Pitch |
ψ | rad | single | 1 | Yaw or true heading |
| Signal Group 2: ShowVelocityAccelerationInputs | ||||
α | rad | single | 1 | Angle of attack |
β | rad | single | 1 | sideslip angle |
dΦ/dt | rad/sec | single | 1 | Roll rate |
dΦ/dt | rad/sec | single | 1 | Pitch rate |
dψ/dt | rad/sec | single | 1 | Yaw rate |
vcas | kts | single | 1 | Calibrated airspeed |
climb_rate | ft/sec | single | 1 | Climb rate |
v_north | ft/sec | single | 1 | North velocity in local/body frame |
v_east | ft/sec | single | 1 | East velocity in local/body frame |
v_down | ft/sec | single | 1 | Down/vertical velocity in local/body frame |
v_wind_body_north | ft/sec | single | 1 | Body north velocity relative to local airmass |
v_wind_body_east | ft/sec | single | 1 | Body east velocity relative to local airmass |
v_wind_body_down | ft/sec | single | 1 | Body down/vertical velocity relative to local airmass |
A_X_pilot | ft/sec2 | single | 1 | X acceleration in body frame |
A_Y_pilot | ft/sec2 | single | 1 | Y acceleration in body frame |
A_Z_pilot | ft/sec2 | single | 1 | Z acceleration in body frame |
stall_warning | — | single | 1 | 0.0–1.0, indicating the amount of stall |
slip_deg | deg | single | 1 | Slip ball deflection |
| Signal Group 3: ShowControlSurfacePositionInputs | ||||
elevator | geometry- | single | 1 | Elevator position |
elevator_trim_tab | geometry- | single | 1 | Elevator trim position |
left_flap | geometry- | single | 1 | Left flap position |
right_flap | geometry- | single | 1 | Right flap position |
left_aileron | geometry- | single | 1 | Left aileron position |
right_aileron | geometry- | single | 1 | Right aileron position |
rudder | geometry- | single | 1 | Rudder position |
nose_wheel | geometry- | single | 1 | Nose wheel position |
speedbrake | geometry- | single | 1 | Speed brake position |
spoilers | geometry- | single | 1 | Spoilers position |
| Signal Group 4: ShowEngineFuelInputs | ||||
num_engines | — | uint32 | 1 | Number of valid engines |
eng_state | enum | uint32 | 4 | Engine state (0=off, 1=cranking, 2=running) |
rpm | rev/min | single | 4 | Engine RPM |
fuel_flow | gal/hr | single | 4 | Fuel flow |
EGT | oF | single | 4 | Exhaust gas temp |
cht | oF | single | 4 | Cylinder head temperature |
mp_osi | psi | single | 4 | Manifold pressure |
tit | oF | single | 4 | Turbine inlet temperature |
oil_temp | oF | single | 4 | Oil temp |
oil_px | lbf/in2 | single | 4 | Oil pressure |
num_tanks | — | uint32 | 1 | Max number of fuel tanks |
fuel_quantity | — | single | 4 | Amount of fuel in tanks (0–1 fraction) |
| Signal Group 5: ShowLandingGearInputs | ||||
num_wheels | — | uint32 | 1 | Maximum number of wheels |
wow | — | uint32 | 3 | Weight on wheels signal (1=wheel is on ground) |
gear_pos | — | single | 3 | Landing gear position (0-1, indicating amount deployed) |
gear_steer | — | single | 3 | Landing gear steering angle |
gear_compression | — | single | 3 | Landing gear compression |
| Signal Group 6: ShowEnvironmentInputs | ||||
agl | m | single | 1 | Above ground level |
cur_time | sec | uint32 | 1 | Current UNIX time |
warp | sec | int32 | 1 | Offset in seconds to UNIX time |
visibility | m | single | 1 | Visibility in meters (for visual effects) |
This table lists all the input signals supported for Version 0.9.10 and 1.0:
Name | Units | Type | Width | Description |
|---|---|---|---|---|
| Signal Group 1: ShowPositionAttitudeInputs | ||||
l | rad | double | 1 | Geodetic longitude |
μ | rad | double | 1 | Geodetic latitude |
h | m | double | 1 | Altitude above sea level |
Φ | rad | single | 1 | Roll |
Θ | rad | single | 1 | Pitch |
ψ | rad | single | 1 | Yaw or true heading |
| Signal Group 2: ShowVelocityAccelerationInputs | ||||
α | rad | single | 1 | Angle of attack |
β | rad | single | 1 | sideslip angle |
dΦ/dt | rad/sec | single | 1 | Roll rate |
dΦ/dt | rad/sec | single | 1 | Pitch rate |
dψ/dt | rad/sec | single | 1 | Yaw rate |
vcas | kts | single | 1 | Calibrated airspeed |
climb_rate | ft/sec | single | 1 | Climb rate |
v_north | ft/sec | single | 1 | North velocity in local/body frame |
v_east | ft/sec | single | 1 | East velocity in local/body frame |
v_down | ft/sec | single | 1 | Down/vertical velocity in local/body frame |
v_wind_body_north | ft/sec | single | 1 | Body north velocity relative to local airmass |
v_wind_body_east | ft/sec | single | 1 | Body east velocity relative to local airmass |
v_wind_body_down | ft/sec | single | 1 | Body down/vertical velocity relative to local airmass |
A_X_pilot | ft/sec2 | single | 1 | X acceleration in body frame |
A_Y_pilot | ft/sec2 | single | 1 | Y acceleration in body frame |
A_Z_pilot | ft/sec2 | single | 1 | Z acceleration in body frame |
stall_warning | — | single | 1 | 0.0–1.0, indicating the amount of stall |
slip_deg | deg | single | 1 | Slip ball deflection |
| Signal Group 3: ShowControlSurfacePositionInputs | ||||
elevator | geometry- | single | 1 | Elevator position |
elevator_trim_tab | geometry- | single | 1 | Elevator trim position |
left_flap | geometry- | single | 1 | Left flap position |
right_flap | geometry- | single | 1 | Right flap position |
left_aileron | geometry- | single | 1 | Left aileron position |
right_aileron | geometry- | single | 1 | Right aileron position |
rudder | geometry- | single | 1 | Rudder position |
nose_wheel | geometry- | single | 1 | Nose wheel position |
speedbrake | geometry- | single | 1 | Speed brake position |
spoilers | geometry- | single | 1 | Spoilers position |
| Signal Group 4: ShowEngineFuelInputs | ||||
num_engines | — | uint32 | 1 | Number of valid engines |
eng_state | enum | uint32 | 4 | Engine state (0=off, 1=cranking, 2=running) |
rpm | rev/min | single | 4 | Engine RPM |
fuel_flow | gal/hr | single | 4 | Fuel flow |
fuel_px | psi | single | 4 | Fuel pressure |
EGT | oF | single | 4 | Exhaust gas temp |
cht | oF | single | 4 | Cylinder head temperature |
mp_osi | psi | single | 4 | Manifold pressure |
tit | oF | single | 4 | Turbine inlet temperature |
oil_temp | oF | single | 4 | Oil temp |
oil_px | lbf/in2 | single | 4 | Oil pressure |
num_tanks | — | uint32 | 1 | Max number of fuel tanks |
fuel_quantity | — | single | 4 | Amount of fuel in tanks (0–1 fraction) |
| Signal Group 5: ShowLandingGearInputs | ||||
num_wheels | — | uint32 | 1 | Maximum number of wheels |
wow | — | uint32 | 3 | Weight on wheels signal (1=wheel is on ground) |
gear_pos | — | single | 3 | Landing gear position (0–1, indicating amount deployed) |
gear_steer | — | single | 3 | Landing gear steering angle |
gear_compression | — | single | 3 | Landing gear compression |
| Signal Group 6: ShowEnvironmentInputs | ||||
agl | m | single | 1 | Above ground level |
cur_time | sec | uint32 | 1 | Current UNIX time |
warp | sec | int32 | 1 | Offset in seconds to UNIX time |
visibility | m | single | 1 | Visibility in meters (for visual effects) |
The output signal is the FlightGear net_fdm data packet.
See the asbhl20 demo for an example of this block.
FlightGear Preconfigured 6DoF Animation
Send net_fdm Packet to FlightGear
![]() | NRLMSISE-00 Atmosphere Model | Pilot Joystick | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |