arduino-libraries / MadgwickAHRS

Arduino implementation of the MadgwickAHRS algorithm
465 stars 196 forks source link

Keep getting the pitch,roll and yaw as nan or nan(ind) #25

Closed YanJohn closed 4 years ago

YanJohn commented 4 years ago

I dont know what causes this issue.I use the acc sensor and gyro sensor.The acc is measured with normal gravity g and gyro is rad so I annotate the code "*0.017" in updateIMU that converts the gyro into rad.