[chbot] Filter
Mark Atherton
markaren1 at xtra.co.nz
Wed Oct 17 22:20:13 BST 2018
Take 32 readings, add them together, divide result by 32 (or however
long you can tolerate waiting).
Need to be very careful about overflow. What is your basic data-type ?
Can't think of a simpler filter than averaging...
-Mark
On 18/10/2018 9:03 AM, Marshland Engineering wrote:
> I need to do some software filtering. I'm reading a camshaft with a 0.001
> linear scale and there is quite a bit of noise in the data. Looking on the web
> has left me non the wiser. Rectangular or Triangle filters are an option but
> these will loose some data integrity. The profile is a very gentle curve with
> the data around the ctr line.
>
> I hoping for something simple !!!!
>
> Thanks Wallace.
>
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
More information about the Chchrobotics
mailing list