February 28, 200719 yr I'm trying to send controls to FG (v0.910) using net_ctrls class, via UDP socket connection. I have a big problem for what concern the wind data ( CTRLS->wind_speed_kt, CTRLS->wind_dir_deg, and CTRLS->turbulence_norm in class definition). I set the command line parameter "--disable-real-weather-fetch" to disable real weather data and I'm trying to send wind data via UDP packet. I saw that there's a problem in the communication: FG doesn't listen only at my UDP packet, but sometimes (every not specified sample data) it gets as input the wind value from its wheather layers! So, what happen is that if the winds values from my UDP packet and that one from wheather layer are different I have during the simulation pulses in the wind data (of amplitutude equal to that difference) which cause discontinuos peaks in the FDM data (expecially for what about airspeed and accellerations).Right now, of course I found that the unique to avoid these pulses are to set the same zero wind value in my wind UDP packet and in the FG weather layer.I tried to change FDM and CTRLS UDP socket communication frequency, as well the FG model frequency, but the problem persist.Does anybody knows how to solve this problem? Is there a way to force FG to listen only at the socket??!Thank you very much for your help.Mauro
Create an account or sign in to comment