-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direction of two synchronized sensors #55
Comments
Hi, thank you for opening this issue! This looks indeed like some issue with the initial orientation. Just for general information:
However, in your case it looks like something might be wrong with your initial assumption of the sensor directions. Can you compare your signals (before and after to rotation) with the example singals for a stride shown here? https://gaitmap.readthedocs.io/en/latest/source/user_guide/coordinate_systems.html This should give some indication, if you rotated everything correcly. |
Mmh this looks like a problem with the initial orientation. We don't have any knowledge about the inittial orientation. Hence we initialize the initial orientation, under the assumption that the local sensor frame aligns with the directions of the global frame at t=0. If the x-axis of the sensors don't align with the forward direction of the movement at t=0, then this could explain the deviation you are seeing. The paths of both sensors look "straight", hence I don't assume this is integration drift (which usually amplifies itself exponentially). So I assume that it is simply a case of "the x-axis of the two sensors are not pointing in the same direction at t=0". Depending on your application, what you could try to do is, to estimate the direction of travel (if you know people are walking forward and rotate both trajectories accordingly. Unfortunately, I don't think there is a universal solution to perfectly initialize the orientation of both sensors in the same coordinate frame, in particular, when they are not perfectly aligned with the shoe/walking direction |
Ok thanks for the advice, I'll try to rotate the trajectories :) |
@Alx2203 I will close the issue for now. Feel free to reopen, in case you have further questions regarding this topic |
Hi,
I'm having a problem with rotation to sensor frame definition. My sensors are placed in the same orientation as in the example you give, so I apply this as in the example:
The problem is that when I reconstruct the trajectory, my 2 sensors seem to be pointing in opposite directions, whereas they are mounted on a person walking with both legs in the same direction.
Is this a problem you've experienced before?
The text was updated successfully, but these errors were encountered: