
7-3
Block or Block Element Name What Happens When You Use
the Block or Element?
Use This Block or Block Element
Instead
Second-Order Actuator
block.
Updated Example
The NASA HL-20 with FlightGear Interface has been updated to show how you
can receive FlightGear Flight Simulator data into a Simulink model.
Using FlightGear Version 2.4.0 with Aerospace Blockset Software
Version 3.9 of Aerospace Blockset software does not support FlightGear Version 2.4.0.
You can use this procedure to modify your FlightGear installation to use FlightGear
Version 2.4.0:
1
In the Simulink model, if it contains these blocks, double-click them: FlightGear
Preconfigured 6DoF Animation, Pack net_fdm Packet for FlightGear, Receive
net_ctrl Packet from FlightGear, Unpack net_ctrl Packet from FlightGear.
The block parameter dialog box opens.
2
In the FlightGear version parameter, select v2.0.
3
In the Simulink model, double-click the Generate Run Script block.
4
In the FlightGear base directory parameter, set the FlightGear base folder to the
location of FlightGear Version 2.4.0.
5
Click the Generate Script button.
The block creates a custom FlightGear run script.
6
If you use the Receive net_ctrl Packet from FlightGear, or Unpack net_ctrl Packet
from FlightGear, open the custom FlightGear run script with a text editor and
change the input parameter '--fdm' parameter. In the run script, look for the
following string:
--fdm=network,localhost,5501,5502,5503
Change this string:
--fdm=null --native-fdm=socket,in,30,127.0.0.1,5502,udp
Kommentare zu diesen Handbüchern