thomas-haslwanter / scikit-kinematics

Python functions for working with 3D kinematics.
Other
128 stars 45 forks source link

Madgwick and Mahony Update() does not support arrays with shape (N,3) #32

Closed solarjoe closed 5 years ago

solarjoe commented 5 years ago

The doc states that input for Madgwick.Update and Mahony.Update can be numpy arrays of shape (N,3).

I don't think this works as both functions use the line

np.hstack([0, Gyroscope])

which throws

ValueError: all the input arrays must have same number of dimensions

thomas-haslwanter commented 5 years ago

Thanks for the information - You are correct. I will update the documentation.