Home › Forums › Forums › Technical Support for BerryGPS and BerryGPS-IMU › How to connect GPS and and accelerometer and the same time? › Reply To: How to connect GPS and and accelerometer and the same time?
February 12, 2022 at 10:04 am #17175
Renaldonson
Participant
I’m calculating the YAW with this equation:
yaw = 180 * math.atan2(-MAGy,MAGx)/M_PI
Where MAGy and MAGx is the magnetometer value.
I don´t know if this is the correct way.