View Full Version : Filters
PWHSrobotics
02-16-2009, 01:34 PM
Plugged in the gyros and accelerometers and they are jumpy. A while back one of our mentors said we were going to have to use filters on these readings, and I see through LabView there are build in filter vi's.
Are any other teams using filters for their Gyro's and Accelerometers, and if so which ones are you using?
PWHSrobotics
02-17-2009, 06:34 PM
anyone? :)
brianc217
02-28-2009, 11:58 AM
i would use them but i didn't even know labview had them. where are they?
Ridley444
02-28-2009, 03:45 PM
If you are using LabVIEW then there is a very simple solution for filters. You can use a while loop and some shift registers along with the compound arithmetic vi for a quick and dirty fix for filters. Just make sure that the shift registers are initialized to zero.
Otherwise you can use arrays and replace with array subset Vi's for a more snazzy way of averaging.
EricVanWyk
02-28-2009, 03:48 PM
Or you can use the included filters. Be sure to use the Pt by Pt ones - the "normal" ones are meant to take a chunk of time at once, the Pt by Pt are meant to be used as things happen.
I encouraged my students to use a few lowpass filters, but I don't think they bit.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.