2023-11-01 06:25 AM
Hi,
I'm doing gesture recognition with the LSM6DSO(X) finite state machine. It still doesn't work as it should.
1.
Can I use sqrt(x²+y²) as input data without using the z axis information? Similar to the norm sqrt(x²+y²+z²), but without z axis. I am not able to do this with a MASK.
Background: I try to detect every back and forth movement in the xy plane, no matter in which direction. To do this, I set a limit value for the amplitude of the acceleration in the x and y directions. But if the movement is between the x and y axes, it is more difficult to reach one of the x or y limits.
2.
My other question is whether it is possible to measure the distance traveled in FSM? Because I can also use the integrated gyroscope signal to measure the rotated angle with command SINMUX.
Best regards
Armin
2023-11-06 12:13 AM
Hi @Pointes ,
1) no, you can't
2) Do you mean walking distance? If yes, you can use the pedometer and multiply the number of steps by the stride length
If my reply answered your question, please click on Accept as Solution at the bottom of this post. This will help other users with the same issue to find the answer faster