adafruit / Adafruit_AHRS

Arduino library for AHRS (Attitude and Heading Reference System) for Adafruit motion sensors
214 stars 64 forks source link

Fix getGravityVector not calculating the actual values #27

Closed ToMe25 closed 2 years ago

ToMe25 commented 2 years ago

This PR fixes a stupid mistake I missed in my last PR, that mistake being that I forgot to actually calculate the angles in getGravityVector.

I thought of that when planning this, so idk how I forgot. I did do significant testing, but it seems like I didn't do any testing that doesn't use roll, pitch, and yaw at all.

Changes

Questions

ladyada commented 2 years ago

thanx!