Skip to content

MahonyAHRS.cpp sqrt and invSqrt wrong usage in normalization #174

@mgrouch

Description

@mgrouch

Describe the bug

MahonyAHRS.cpp sqrt and invSqrt wrong usage in normalization

To reproduce

Doesn't work with magnetormeter

Expected behavior

no NaNs

Screenshots

No response

Environment

  • OS:
  • IDE &IDE Version:
  • Repository Version:

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions