Filters

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?

anyone? :slight_smile:

i would use them but i didn’t even know labview had them. where are they?

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.

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.