Hello All,
I am trying to use C172 model in FlightGear in combination with MATLAB. The receiving flight information works flawlessly.
However, when I try to send data (e.g. sinusoidal elevator input just to try sending), something happens to simulator and aircraft crashes. I use the following .bat file for executing of the flightgear.
C:
cd C:\Program Files\FlightGear 2016.3.1
SET FG_ROOT=C:\Program Files\FlightGear 2016.3.1\data
.\\bin\fgfs --aircraft=c172p --fdm=null --native-fdm=socket,in,30,127.0.0.1,5503,udp --native-ctrls=socket,out,30,127.0.0.1,5505,udp --fog-fastest --disable-clouds --start-date-lat=2004:06:01:09:00:00 --disable-sound --in-air --enable-freeze --airport=LTBQ --runway=09 --altitude=7000 --heading=90 --offset-distance=0 --offset-azimuth=0
I tried the default ports, it did not work out, so I changed the input port, again same result.
Can anyone help me with this issue?
Kind Regards,