Attitude and Heading Reference Systems in Python
Home Page:https://ahrs.readthedocs.io/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
HicaroD opened this issue 7 months ago · comments
Those copies can be quite inneficient and it looks useless:
ahrs/ahrs/filters/ekf.py
Lines 1107 to 1108 in 761ff0e
Same for magnetometer here:
Line 1117 in 761ff0e
I've used Scalene to profile my code which uses ahrs in order to filter sensor data, and I noticed in the left side, more especifically in the yellow column, that I'm doing 13 MB/s of copies in the line where I instantiate EKF.
Scalene
ahrs
EKF