<div dir="ltr">You can also do a moving average then you don't need to lose any samples.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 12, 2021 at 4:17 PM Marshland Engineering <<a href="mailto:marshland@marshland.co.nz">marshland@marshland.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think I have found the solution which is to average over a bigger sample<br>
range. I did not want to do this originally as I would loose data either side<br>
of my averaging. If I averaged over say 30 samples, I would loose 15 samples<br>
at the beginning and the end of the data. If I only had 120 samples to start,<br>
30 is quite a lot. <br>
<br>
The solution was to start collecting data both before t-start and after t-end.<br>
I originally had the software start and stop recording against RPM values. <br>
Now I start recording before I get to my minimum value and recored a further<br>
second or 2 after the max. This should work. <br>
<br>
Cheers Wallace. <br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Chchrobotics mailing list <a href="mailto:Chchrobotics@lists.ourshack.com" target="_blank">Chchrobotics@lists.ourshack.com</a><br>
<a href="https://lists.ourshack.com/mailman/listinfo/chchrobotics" rel="noreferrer" target="_blank">https://lists.ourshack.com/mailman/listinfo/chchrobotics</a><br>
Mail Archives: <a href="http://lists.ourshack.com/pipermail/chchrobotics/" rel="noreferrer" target="_blank">http://lists.ourshack.com/pipermail/chchrobotics/</a><br>
Meetings usually 3rd Monday each month. See <a href="http://kiwibots.org" rel="noreferrer" target="_blank">http://kiwibots.org</a> for venue, directions and dates.<br>
When replying, please edit your Subject line to reflect new subjects.</blockquote></div>