Hi,
On Sunday 07 January 2007 14:38, Maik Justus wrote:
> I've programmed a moving mean of calculated lags. Have to check it out now.
I have not tried.
But had a quick look at the code.
You are talking about the _towLength value that appears to be used for the tow
tension instead of the real current distance.
That is just some kind of smoothed aircraft distance ...
Ok, the problem to solve in this case is to approximate a nearly constant
function of time. Smoothing that appears to be a good idea.
An other thing:
Would it be possible to factor out code that is independent of the FDM into
FGInterface so that we do not have a YASim only api?
For example the code that searches for an other aircraft to connect your row
to is independent of YASim. Also once we have found that object we are towed
to, FGInterface may provide the current position and velocity preferably both
in the wgs84 system to the FDM implementation.
YASim will then work through that interface.
That way other FDM's will have a chance to catch that same interface up.
Greetings
Mathias
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel