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

Fix 10-25% overhang slowdown not working as expected #8080

Conversation

igiannakas
Copy link
Contributor

@igiannakas igiannakas commented Jan 18, 2025

Description

The 10-25% overhang was being ignored with overhang slowdown being applied immediately when the overhang reached 25%. This meant that any overhangs, say at 15% were not slowed down, but the moment they hit 25% they were clamped to the 10-25% overhang speed.

image

As reported here: #7685
image

This PR introduces slowdown starting at 10+% - 25% as indicated by the text box label by setting the minimum overhang boundary where slowdown is not applied to 10% (instead of 25%) and shifting the remaining overhang %'s one slot downwards in the code, making use of the existing unutilised slots.

image

Tests

Regression test 1: Speed for 10-25% is set to 0, hence the value should be ignored and the speed should be unchanged between this PR and the current orca release:

Left - this PR - Right - Orca 2.2
image

Significant improvement should be observed when having a partial overhang between 10% and 25% instead of simply clamping down to the 25% speed when the overhang is exactly 25%
image

Left - this PR - Right - Orca 2.2
image
Perfect! Slowdown is now performed correctly between the 10-25% range instead of being ignored.

Fixes: #7685

@igiannakas
Copy link
Contributor Author

Tests done. Looks good I think!

Regression test 1: Speed for 10-25% is set to 0, hence the value should be ignored and the speed should be unchanged between this PR and the current orca release:

Left - this PR - Right - Orca 2.2
image

Significant improvement should be observed when having a partial overhang between 10% and 25% instead of simply clamping down to the 25% speed when the overhang is exactly 25%
image

Left - this PR - Right - Orca 2.2
image
Perfect! Slowdown is now performed correctly between the 10-25% range instead of being ignored.

@henrivdr
Copy link
Contributor

Thanks! @igiannakas

Old:
image

New:
image

@igiannakas
Copy link
Contributor Author

Perfect, looks like it works as expected thank you

@hotellonely
Copy link

Is this going to be merged anytime soon?

@nagyrobi
Copy link

nagyrobi commented Feb 5, 2025

Wonderful

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!
Thank you!

@SoftFever SoftFever merged commit 2eed82e into SoftFever:main Feb 9, 2025
16 checks passed
@igiannakas igiannakas deleted the Fix-10-25%-overhang-slowdown-not-working-as-expected branch February 9, 2025 13:48
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

Successfully merging this pull request may close these issues.

Overhangs v2.2.0 & 2.3.0
6 participants