2024-12-03 2:02 PM - edited 2024-12-03 2:57 PM
Tools/Software/etc:
I watched a handful of webinars and read through tutorials related to the LSM6DSV16X's machine learning core. Most of these covered the basics, but only the basics (as in, they only show the most barebones demonstration with a single sample of a single simple movement). When attempting to generate a decision tree on my own using custom data, I ran into several problems.
First, I collected 4 samples of a basic jab motion and labeled the data "strike" and "retract" for each. Everything worked up to the point where I generated the decision tree and got a confidence value of 0%. Then, I attempted to simplify the data and only use one sample of one movement (just the strike component). At this point, I began to see the error below when running the AFS tool.
I collected new samples, this time a simpler and slower bicep curl movement:
Even with the new data, I continue seeing the same error when running the AFS tool. Is this a bug, or something I'm doing wrong? My goal is to eventually detect baseball swings and use the interrupt from the MLC as a trigger for storing high-frequency IMU data, but at the moment I'm not able to successfully produce a configuration for the MLC using simple movements.
Solved! Go to Solution.
2025-03-12 6:40 AM
Thank you. I was able to replicate the issue and we are analyzing it.
It seems the error is triggered if you want to calculate Windows length + Filters + Features, but in case of separate Windows length and Filters + Features calculation the error doesn't appear. Maybe you can use this two step approach as temporary workaround.
2025-07-20 4:41 AM
Hello Miroslav,
I found that this problem still persists in v2.1.1 as of 20/07/2025.
i loaded the acquisition_info.json into the Data Analysis tool and labled the data and saved it to .csv. when i tried to open the resulting .csv, it would say what you see in my added picture. saving without labels works fine!
Thomas
2025-07-21 12:05 AM
Hello Thomas,
I'm sorry for that. Would you please share with me the the source logs from Datalog2 and saved .csv files so I can analyze it? Thank you.