ahrs
ahrs copied to clipboard
Handling NaN line causing issue in updateMARG method in madgwick.py
When using updateMARG, it shows the following error error -
TypeError: ufunc 'true_divide' output (typecode 'd') could not be coerced to provided output parameter (typecode 'q') according to the casting rule ''same_kind''
a = a / a_norm instead of a /= a_norm
produces no error
the same applies for m /= m_norm
as well.
Please see to this issue.
Hi, I cannot reproduce the error. Which version of the package are you using?