On Mon, Apr 14, 2008 at 2:01 PM, Mike Schuh <[EMAIL PROTECTED]> wrote: > On Mon, 14 Apr 2008, Melchior FRANZ wrote: > > >* Curtis Olson -- Monday 14 April 2008: > >> Let's say I want to do a simple moving average ... > > > > >FlightGear has an aircraft.angular_lowpass() in $FG_ROOT/Nasal/aircraft.nas. > >It filters sin() and cos() separately, and builds the angle from that again. > > This sounds close to what I was going to suggest - summing/averaging unit > vectors. The vectors could proportional to speed if desired. > > In general, unit vectors are a good way of dealing with circular > distributions (they work well for statistical analysis of time-of-day > studies, where 2359 and 0001 need to be two minutes apart, not 1338). > > -- > Mike Schuh - Seattle, Washington USA > http://www.farmdale.com > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel >
How about using a kalman filter with velocity as an input to extract a angular and angular rate signal from some noisy inclination data? I think the down side to it would be the lag, but I think it might work well in the pitch axis. Also; http://www.vboxusa.com/products.php#vb3r2g2 They have some pretty decent update rates. I've seen some demos on some really high end ones which can go at 50hz. Those boxes also come with accelerometers and they do some amount of interpolation during the time a gps signal is not present. to maintain the update rate. I thought they were pretty cool.... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel