Skip to content

Commit

Permalink
Merge pull request #88 from nasbotond/patch-1
Browse files Browse the repository at this point in the history
Update documentation
  • Loading branch information
Mayitzin committed Dec 4, 2022
2 parents 9e02c5d + 3a93b80 commit e22a24e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ahrs/filters/complementary.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
.. math::
\\begin{array}{rcl}
\\theta &=& \\mathrm{arctan2}(a_y, a_z) \\\\
\\phi &=& \\mathrm{arctan2}\\big(-a_x, \\sqrt{a_y^2+a_z^2}\\big)
\\phi &=& \\mathrm{arctan2}(a_y, a_z) \\\\
\\theta &=& \\mathrm{arctan2}\\big(-a_x, \\sqrt{a_y^2+a_z^2}\\big)
\\end{array}
Only the pitch, :math:`\\phi`, and roll, :math:`\\theta`, angles are computed,
Only the pitch, :math:`\\theta`, and roll, :math:`\\phi`, angles are computed,
leaving the yaw angle, :math:`\\psi` equal to zero.
If a magnetometer sample is available, the yaw angle can be computed. First
Expand Down

0 comments on commit e22a24e

Please sign in to comment.