-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Implement Kalman filter to read Quaterion or Euler Angles from continous ARGlasses connection. #10
Comments
Hi! Sure, it would be great if someone implemented (and maintained :) ) fusion! I'd gladly help review or maybe even test it.
|
thanks a lot! I obviously prefer PR to the same crate if it is not published I also can't find implementation of Are they useful to the sensor fusion? |
Only |
first draft is out, I only have XReal Air 1 which has no magnetometer, so I may need others to test for all sensors. wondering if the format & extra maintenance work (toolchain, format) looks already to you |
I have 2 questions:
|
Thanks @tribbloid , I never realized it would be this easy to get started with a Fusion implementation, it's definitely great to have this in the crate. I made a few review comments in #11 To answer your questions:
|
just got my glasses (XReal Air 1) back, turns out a lot of my assumptions are wrong. most importantly, rust quaternion library always converts to/from Euler angles of FRD reference frame (by axis, roll, pitch, yaw), but GlassEvent uses RUB frame for both position & rotation. I guess it's too late to revise GlassEvent convention, but would you like the Fusion to also represent Euler angles in RUB frame, both internally & externally? |
I wouldn't use Euler angles at all, to be honest (at least in this crate). If someone needs those angles, they can call BTW, in the eskf fusion code, instead of |
I'd like to introduce capabilities similar to the Windows counterpart of this project:
https://github.com/MSmithDev/AirAPI_Windows
Which defined 2 API functions:
The returned data could be easily updated by fusing 3-axis compass & 3-axis gyroscope with EKF/UKF. This capability can be enabled for all glasses.
Would you like to review it once it is finished?
I'm uncertain about your plan for the following code:
is it supposed to be the rotation orthogonal matrix for IMU-only glasses and transformation matrix for tracked glasses? If so, we don't need to implement it immediately.
The text was updated successfully, but these errors were encountered: