Open andres-tr opened 6 years ago
I was expecting a walking motion with "walking_xsens_lowerLeg.txt" data but I got this output:
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()
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.