[chbot] Data filter
Andrew Errington
erringtona at gmail.com
Wed May 12 05:48:48 BST 2021
Rookie mistake. The key is to know what result you want and choose the
algorithm accordingly.
:)
Andrew
On Wed, 12 May 2021, 16:37 Charles Manning, <cdhmanning at gmail.com> wrote:
> You can also do a moving average then you don't need to lose any samples.
>
> On Wed, May 12, 2021 at 4:17 PM Marshland Engineering <
> marshland at marshland.co.nz> wrote:
>
>> I think I have found the solution which is to average over a bigger sample
>> range. I did not want to do this originally as I would loose data either
>> side
>> of my averaging. If I averaged over say 30 samples, I would loose 15
>> samples
>> at the beginning and the end of the data. If I only had 120 samples to
>> start,
>> 30 is quite a lot.
>>
>> The solution was to start collecting data both before t-start and after
>> t-end.
>> I originally had the software start and stop recording against RPM
>> values.
>> Now I start recording before I get to my minimum value and recored a
>> further
>> second or 2 after the max. This should work.
>>
>> Cheers 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.
>
> _______________________________________________
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20210512/471348d3/attachment.html>
More information about the Chchrobotics
mailing list