Use NED convention to work properly

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2023-11-30 19:15:34 +01:00
parent f2de567606
commit badc712c9b
No known key found for this signature in database
GPG key ID: D850A5F772E880F9

View file

@ -331,7 +331,7 @@ device3_error_type device3_open(device3_type* device, device3_event_callback cal
FusionAhrsInitialise((FusionAhrs*) device->ahrs); FusionAhrsInitialise((FusionAhrs*) device->ahrs);
const FusionAhrsSettings settings = { const FusionAhrsSettings settings = {
.convention = FusionConventionNwu, .convention = FusionConventionNed,
.gain = 0.5f, .gain = 0.5f,
.accelerationRejection = 10.0f, .accelerationRejection = 10.0f,
.magneticRejection = 20.0f, .magneticRejection = 20.0f,