Products & Services Solutions Academia Support User Community Company

Learn more about Aerospace Blockset   

Send net_fdm Packet to FlightGear - Transmit net_fdm packet to destination IP address and port for FlightGear session

Library

Animation/Flight Simulator Interfaces

Description

The Send net_fdm Packet to FlightGear block transmits the net_fdm packet to FlightGear on the current computer, or a remote computer on the network. The packet is constructed using the Pack net_fdm Packet for FlightGear block. The destination port should be an unused port that you can use when you launch FlightGear with the FlightGear command line flag:

--fdm=network,localhost,5501,5502,5503

The second port in the list, 5502, is the network flight dynamics model (fdm) port.

This block does not product deployable code.

Determining the Destination IP Address

You can use one of several techniques to determine the destination IP address, such as:

Dialog Box

Destination IP address

Specify your destination IP address.

Destination port

Specify your destination port.

Sample time

Specify the sample time (-1 for inherited).

Inputs and Outputs

The input signal is the FlightGear net_fdm data packet.

Examples

See the asbhl20 for an example of this block.

See Also

FlightGear Preconfigured 6DoF Animation

Generate Run Script

Pack net_fdm Packet for FlightGear

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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