On Tuesday 18 December 2007, LeeE wrote:
> Hi all,
>
> I've noticed recently that after re-loading an autopilot the filters
> that are being used seem to be getting a bit 'confused'.  I spotted
> it when I was comparing the unfiltered input with the filtered
> output and saw that the input was stable to 2 decimal places but
> the filtered output seemed to be oscillating very quickly up to the
> first decimal place.
>
> I don't know if this happens with all filter types - all the ones
> I've been using are noise-spike types.

I've seen something similar after I added an <enabled> option to the filters 
on my local branch. Whenever I enable a filter by setting some property to 
true (just like enabling PID controllers), I see the output from the filter, 
wich is connected to the control surface, makes the plane do some wild 
flying.

I believe that I need to add some initialization code to the filters so that 
they behave nicely when they are enabled. I'm working on this.

Also I'll remove the build() call in reinit() inless there is a good reason 
for calling build() twice.


-- 
Roy Vegard Ovesen

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to