Skip to content

performance: probably unnecessary array copies in _compute_all method from EKF class  #105

Description

@HicaroD

Those copies can be quite inneficient and it looks useless:

ahrs/ahrs/filters/ekf.py

Lines 1107 to 1108 in 761ff0e

self.gyr = np.copy(self.gyr)
self.acc = np.copy(self.acc)

Same for magnetometer here:

self.mag = np.copy(self.mag)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions