On Thursday 20 December 2007 10:53, Roy Vegard Ovesen wrote:
> 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.

Doh! - It's only just occurred to me that we could use the logging 
facility to log the output from controllers and filters and analyse 
the results 'off-line' so to speak.  Should be trivial to import 
the results into a spreadsheet and plot graphs - it'll only take a 
little bit of effort to set up the logging details - I'll try this 
when I get a chance.

LeeE

-------------------------------------------------------------------------
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