Hello,
I have encounterd a little bit strange thing in Flightgear v1.0.0. I'm
implementing I/O communication with Flightgear using native-fdm protocol and
TPC sockets. I would like implement following communication.

1. In Matlab - Simulink are computed positions, velocities etc using
Simulink aircraft model. These data are consequently sent to FG (set to use
external model).
2. Content of internal FG variables is sent back to Matlab to obtain control
inputs from /controls/flight variables and other values which are used as
inputs of aircraft model.

I think it should be possible to implement this, because although when I'm
using  external model, control internal properties are filled with values
from joystick etc.

And now I'm getting to the mentioned problem. When I'm using external model
in FG, data are received from Matlab and everything works fine. However
there is problem sending values in opposite direction (FG to Matlab). I have
observed various variables in received FGNetFDM structures and all of them
were set to zero during whole simulation, but they should have been assigned
nonzero values. I tried to send data from FG with external model using
generic protocol and got the same result.

I would like to ask whether this behavior is bug or not, and whether is
there some way how to work it out.

Thank you very much for your help.

Jan
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to