We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have set the Frame to 'ENU' for all estimator, but I get different results. I am a beginner, I would appraciate it if you can give me a favor
The text was updated successfully, but these errors were encountered:
orientation = Mahony(gyr=gyr, acc=acc, mag=mag, frequency=50.0, frame='ENU') # Using IMU orientation_EKF = EKF(gyr=gyr, acc=acc, mag=mag, frequency=50.0, frame='ENU') # Using IMU orientation_Comp = Complementary(gyr=gyr, acc=acc, mag=mag, frequency=50.0, frame='ENU') # Using IMU orientation_Mad = Madgwick(gyr=gyr, acc=acc, mag=mag, frequency=50.0, frame='ENU') # Using IMU orientation_AQUA = AQUA(gyr=gyr, acc=acc, mag=mag, frequency=50.0, frame='ENU') # Using IMU return orientation.Q, orientation_EKF.Q, orientation_Comp.Q, orientation_Mad.Q, orientation_AQUA.Q
Qs = trip_quaternions(fp) from scipy.spatial.transform import Rotation as R import matplotlib.pyplot as plt fd = pd.read_csv(fp) #.columns tows = fd['tow'] fts = ['Mahony', 'EKF', 'Complementary', 'Madgwick', 'AQUA'] for Q in Qs: yaws = [] for Q0 in Q: q = R.from_quat(Q0) p, r, y = q.as_euler('zyx', degrees=True) yaws.append(y) plt.plot(tows, yaws) plt.legend(fts) plt.title('Yaw angle')
Sorry, something went wrong.
No branches or pull requests
I have set the Frame to 'ENU' for all estimator, but I get different results. I am a beginner, I would appraciate it if you can give me a favor
The text was updated successfully, but these errors were encountered: