-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
SIH: ellipsoidal earth #23974
base: main
Are you sure you want to change the base?
SIH: ellipsoidal earth #23974
Conversation
013230e
to
3d9184a
Compare
1ecc2d0
to
33c44dc
Compare
I don't have anything to complain about. Let's see if all the testing is successful |
48a3434
to
66b14f3
Compare
1c1404b
to
d483ce2
Compare
FLASH Analysispx4_fmu-v5x
px4_fmu-v6x
Updated: 2024-11-26T17:24:59 |
94b2686
to
c4649fc
Compare
d483ce2
to
d25e6a3
Compare
FLASH Analysispx4_fmu-v5x
px4_fmu-v6x
|
d25e6a3
to
feab169
Compare
d028c81
to
da57330
Compare
Happy to see that the SIH is being used :) I tried SITL
I also tried HITL
|
This broken when changing from mixer files to the control allocation module.
Otherwise difficult to get lift
849bdd3
to
76e9cf8
Compare
SIH: use projection functions and constants from geo lib SIH: remove unnecessary member variable SIH: clarify names of rotation matrices and frames SIH: do not store DCM corresponding to quaternion attitude Using DCM is more efficient when more than 1 rotation needs to be done, which is not the case here. SIH: don't store local variable as member SIH: use Wgs84 constants everywhere SIH: do not store delta_quaternion Converting an AxisAngle to a Quaternion uses the exponenial SIH: organise ECEF member variables SIH: add earth spin rate to gyro data
a3729c9
to
dddc812
Compare
This speeds-up the EKF alignment
dddc812
to
237fbf5
Compare
Thanks for the tests @romain-chiap . FW sim failed because I forgot to commit some fixes in the other PR (76e9cf8). I added it and rebased this one on top; could you give it a try again please? |
Thanks, so I tried again SITL quadx and airplane: they both work fine. I was able to reach 230km with the airplane, then I got
I still have the same problems on HITL: quadx can fly in altitude but not in position, FW is unstable at takeoff. |
requires #24034
Solved Problem
I needed a simulation environment on an ellipsoidal world to test #23854 .
Solution
Run SIH in an ECEF coordinate system with a WGS84 Earth model and convert the output to the usual global (lat/lon/alt) and local tangent plane frame.
The objective is to test the robustness of the EKF by changing the Earth spin rate and radius to exaggerate the non-inertial accelerations measured when navigating on an ellipsoidal environment.
Changelog Entry
Testing:
main
, will fix it after this is merged