Hi,
Mathias Fröhlich schrieb am 07.01.2007 19:44:
> 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 ...
>
>   
yes, exactly. (this moving mean calculation is not in the patch I sent, 
it's just in my local version). I am fighting now with the performance 
of my notebook running two instances of flightgear....
> 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.
>   
I think, that's the way to go. We/I first should test the YASim-patch. 
If it works I will try to extract the FDM-independent code (I need a 
hint, where to place it  then ;-) ).
> That way other FDM's will have a chance to catch that same interface up.
>
>    Greetings
>
>            Mathias 
>   
Thanks,
Maik

-------------------------------------------------------------------------
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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to