Mayitzin / ahrs

Attitude and Heading Reference Systems in Python

Home Page:https://ahrs.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in `rpy2q` function

adrian-soch opened this issue · comments

Hi, in the rpy2q function, the documentation uses the order roll, pitch, yaw.

roll-pitch-yaw angles.

However, the function unpacks the array as yaw, pitch, roll.

yaw, pitch, roll = angles

This is confusing, either the documentation should be updated, or the function should be

roll, pitch, yaw = angles