Skip to content
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

Real motion for test data #24

Open
andres-tr opened this issue Apr 3, 2018 · 1 comment
Open

Real motion for test data #24

andres-tr opened this issue Apr 3, 2018 · 1 comment

Comments

@andres-tr
Copy link

Can I know the real motion of the test data? (specially with the XIO sensor)
I tested some data with the library (not the data of the repository) and the results are not a little bit similar with the real motion, maybe I am using wrong the library. That's why I'am asking for the real motion of the test data, in order to know what should I expect when I try the library. Thanks.

@andres-tr
Copy link
Author

I was expecting a walking motion with "walking_xsens_lowerLeg.txt" data but I got this output: figure_1

With this code:
initial_orientation = np.array([[0,0,0],[0,0,0],[0,0,0]])
in_file = r'tests/data/walking_xsens_lowerLeg.txt'
data = XSens(in_file, q_type='kalman')
sensor = XSens(in_file, R_init=initial_orientation)
sensor.calc_position()
...
xline = [item[0] for item in sensor.pos]
yline = [item[1] for item in sensor.pos]
zline = [item[2] for item in sensor.pos]
plt.show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant