Skip to content
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

Inav 7.1.2 Heavy Horizon Drift - unable to turn in nav modes #10497

Open
noahwaldner opened this issue Dec 2, 2024 · 0 comments
Open

Inav 7.1.2 Heavy Horizon Drift - unable to turn in nav modes #10497

noahwaldner opened this issue Dec 2, 2024 · 0 comments

Comments

@noahwaldner
Copy link

Current Behavior

When flying my Delta Wing running INAV 7.1.2, i can observe a weird behavior of the horizon being significantly off.
It seems that there is an issue with the ahrs where the force from turns cannot be compensated

  1. Artificial horizon is not level (see screenshot below)
  2. When switching to angle mode, the aircraft is not level
  3. When using a nav mode: turning to the opposite side than where the horizon drifted might not be possible. (When nav_fw_bank_angle is equal or close to the offset of the horizon, the max angle is in some cases already reached when flying straight.)

IMG_5075

Default ahrs values are used:

set ahrs_dcm_kp = 2000
set ahrs_dcm_ki = 50
set ahrs_dcm_kp_mag = 2000
set ahrs_dcm_ki_mag = 50
set ahrs_acc_ignore_rate = 15
set ahrs_acc_ignore_slope = 5
set ahrs_gps_yaw_windcomp = ON
set ahrs_inertia_comp_method = ADAPTIVE
set ahrs_gps_yaw_weight = 100

Steps to Reproduce

  1. Fly the plane
  2. Do a hard left turn
  3. Revert to level flight
  4. Observe artificial horizon being tilted to the right
  5. Do a hard right turn
  6. Revert to level flight
  7. Observe artificial horizon being tilted to the left

Alternative:

  1. Set the max bank angle to a relative low value
  2. Start a waypoint mission with sharp turns
  3. let the aircraft run for a while
  4. Observe that the aircraft starts missing waypoints after a while as it cannot turn to one side anymore

Expected behavior

The AHRS force compensation should counteract the g-forces occurring in hard turns. No horizon drift should occur.

Additional context

CLI Dump: Pastebin CLI Dump
Blackbox Log: blackbox_log_2024-12-02_134803.TXT

Board Name and Version:

# version
# INAV/TBS_LUCID_FC 7.1.2 Sep 23 2024 / 11:56:35 (8e7cb50c)
# GCC-10.3.1 20210824 (release)
@noahwaldner noahwaldner changed the title Inav 7.1.2 Heavy Horizon Drift - AHRS not working correctly Inav 7.1.2 Heavy Horizon Drift - inability to turn in nav modes Dec 2, 2024
@noahwaldner noahwaldner changed the title Inav 7.1.2 Heavy Horizon Drift - inability to turn in nav modes Inav 7.1.2 Heavy Horizon Drift - unable to turn in nav modes Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant