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

Updated Plane presets for better AHI Drift mitigation #1592

Merged
merged 1 commit into from
Aug 4, 2022
Merged

Updated Plane presets for better AHI Drift mitigation #1592

merged 1 commit into from
Aug 4, 2022

Conversation

b14ckyy
Copy link
Collaborator

@b14ckyy b14ckyy commented Jul 29, 2022

Some Plane style related changes in ignore rates, imu_dcm settings and althold PIDs to reduce AHI drift.
Tested with community with all positive feedback

Release notes:

If updating a fixed wing from INAV 3.0 or newer with setting transfer, please apply the following settings in the CLI based on Fixed wing type.

For airplanes without a tail (wings, delta, etc)
set imu_acc_ignore_rate = 9
set imu_acc_ignore_slope = 5
set nav_fw_pos_z_p = 35
set nav_fw_pos_z_i = 5
set nav_fw_pos_z_d = 10
set nav_fw_pos_xy_p = 70
set imu_dcm_kp = 1000
set imu_dcm_ki = 0

For airplanes with a tail (dedicated elevator)
set imu_acc_ignore_rate = 7
set imu_acc_ignore_slope = 4
set nav_fw_pos_z_p = 25
set nav_fw_pos_z_i = 5
set nav_fw_pos_z_d = 7
set nav_fw_pos_xy_p = 55
set imu_dcm_kp = 1000
set imu_dcm_ki = 0

@MrD-RC MrD-RC added this to the 5.1 milestone Jul 29, 2022
@MrD-RC MrD-RC added the Release Notes Add this when a PR needs to be mentioned in the release notes label Jul 29, 2022
@MrD-RC MrD-RC requested review from MrD-RC and removed request for MrD-RC July 29, 2022 19:41
@MrD-RC
Copy link
Collaborator

MrD-RC commented Jul 29, 2022

Videos of the improvements show a night and day difference. A massive difference.

https://youtu.be/RYy-w1zqkNg

@b14ckyy
Copy link
Collaborator Author

b14ckyy commented Jul 30, 2022

Here is another comparison that shows a massive difference as well on a Dragon V2
https://www.youtube.com/watch?v=45sGUVAKTn0

@MrD-RC
Copy link
Collaborator

MrD-RC commented Aug 4, 2022

I tested this in some far from ideal conditions, with a 40km/h breeze straight off the sea. The AHI performed very well on a craft that did suffer from drift previously.

Video

@MrD-RC MrD-RC merged commit f0c31ee into iNavFlight:release_5.1.0 Aug 4, 2022
@b14ckyy b14ckyy deleted the patch-1 branch August 4, 2022 11:05
snaewe added a commit to snaewe/inav-settings that referenced this pull request Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Notes Add this when a PR needs to be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants