SparkFun will be closed Monday 7/4/2022 for the 4th of July holiday. Orders placed after 2 pm MT on Friday 7/1/2022 will be processed on Tuesday 7/6/2022. SparkFun Support will also resume on Tuesday 7/6/2022. Have a safe holiday!
With an FEP, an FIR and a DP, we have a winner!
We had fantastic entries in the Speed Bag Detection Algorithm contest. The solutions to the mystery datasets were 172 and 155. Out of all the entries, we had seven people whose solutions came really close to figuring out the mystery datasets and solving the problem. My next step was taking their code into the gym.
In the end, barryjh’s solution nailed it. His solution got great results in the field (nearly 100 percent) and he had great documentation to boot! He used a front end processor (FEP), detection processor (DP) and an FIR filter designed with TFilter. You can read Barry Hannigan's amazing tutorial on his solution.
I highly encourage you to have a look at the code in barry's repo. It's a complex solution to a complex problem with excellent results.
I want to give a special shout out to all the contestants!
I learned a ton from your solutions, and I know other readers will for many years to come.