On Fri, 2002-02-15 at 12:12, Erik Hofman wrote:
> Erik Hofman wrote:
> > Tony Peden wrote:
> .
> >>>
> >> It's possible.  Do you notice any problem with the
> >> flaps? (it's the same code:
> >> FDM/JSBSim/filtersjb/FGKinemat.[h|cpp])
> > 
> > 
> > Well, not noticably. But the problem is there.
> > When uncommenting line 132 from FGKinemat.cpp it shows the flap code 
> > keeps getting updated, but the value doesn't change (while flap down 
> > behaves nicely).
> > 
> > There must be something wrong with the retraction code.
> 
> Does this look like a resonable solution:
> 
> Change FGKinemat.cpp line 149 from:
>     if(fabs(OutputPos - InputCmd) > dt*output_transit_rate) {
> 
> to:
>     if(fabs(OutputPos - InputCmd) > fabs(dt*output_transit_rate)) {
> 
> If not, this *is* the problem. A better solutions should be easy then.

OK, I committed this to JSBSim CVS.
Thanks.

> 
> Erik
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
-- 
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds. 
-- attributed to Linus Torvalds

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to