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.
Erik
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel