ahrs icon indicating copy to clipboard operation
ahrs copied to clipboard

symbol correction

Open gooyle opened this issue 2 years ago • 2 comments

gooyle avatar Aug 06 '21 02:08 gooyle

thx for your package!!!it helps a lot,i think here are some mistakes, i use xsens data to test. in file:

ahrs/ahrs/filters/mahony.py

#Rotate magnetic field to inertial frame ~~v_m = [email protected]([-np.linalg.norm([h[0], h[1]]) , 0.0, h[2]])~~ ##no minus v_m = [email protected]([np.linalg.norm([h[0], h[1]]) , 0.0, h[2]]) and here is the results,shown in rollpitch and yaw

  • image and here is the results about m and v_m: image

gooyle avatar Aug 06 '21 02:08 gooyle

This was adressed already in the commit 34f959f96adba5064d1e4f0142eaad971f7f3c64, and there was a major change with it too.

The creation of the v_m was, apparently, not correct. Please, test the new version, if possible, and let me know if you see any improvements at all.

Mayitzin avatar Jan 28 '22 16:01 Mayitzin