kriswiner / EM7180_SENtral_sensor_hub

(Affordable) Ultimate Sensor Fusion Solution
https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/
96 stars 37 forks source link

Is there a reason to not get Roll, Pitch and Yaw from the EM7180 directly? #68

Closed Roicker closed 3 years ago

Roicker commented 3 years ago

Reading the data sheet I found that the EM7180 can output Roll, Pitch and Yaw directly, which is what I need. Is there a reason why the code is written to take the Quaternions and then convert them to Roll, Pitch and Yaw on the host? or is it just a matter of preference?

kriswiner commented 3 years ago

This is just for test purposes, to compare with on-host Madwick or Mahoney filters. The EM7180 will output either quaternions or Euler angles as well as scaled sensor data.

On Fri, Aug 28, 2020 at 5:11 PM Roicker notifications@github.com wrote:

Reading the data sheet I found that the EM7180 can output Roll, Pitch and Yaw directly, which is what I need. Is there a reason why the code is written to take the Quaternions and then convert them to Roll, Pitch and Yaw on the host? or is it just a matter of preference?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/68, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKSIICKQ3UO3JNM2YXTSDBBTTANCNFSM4QOUFTSQ .

Roicker commented 3 years ago

Thanks for the quick reply Kris