-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Merged
SoftFever
merged 7 commits into
SoftFever:main
from
igiannakas:Fix-10-25%-overhang-slowdown-not-working-as-expected
Feb 9, 2025
Merged
Fix 10-25% overhang slowdown not working as expected #8080
SoftFever
merged 7 commits into
SoftFever:main
from
igiannakas:Fix-10-25%-overhang-slowdown-not-working-as-expected
Feb 9, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jan 18, 2025
Thanks! @igiannakas |
Perfect, looks like it works as expected thank you |
3 tasks
…-slowdown-not-working-as-expected
Is this going to be merged anytime soon? |
Wonderful |
SoftFever
approved these changes
Feb 9, 2025
There was a problem hiding this 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!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
As reported here: #7685
![image](https://private-user-images.githubusercontent.com/59056762/404477787-f8d6568f-21d5-44df-a339-52ae3711a70e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDkwMTEsIm5iZiI6MTczOTM0ODcxMSwicGF0aCI6Ii81OTA1Njc2Mi80MDQ0Nzc3ODctZjhkNjU2OGYtMjFkNS00NGRmLWEzMzktNTJhZTM3MTFhNzBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjUxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFjZDM4N2Y0OWEzOGRkZmExMmE3MjgzOTU1ZDE4MGI5YTFmYmJjODg1OTM4MWU1NWYyMTJiYzFlYzE2NDNlNTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2UazeVVqljJwRYACGIdnC4tqD6rlFl0YLUjb_CT7Xxg)
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.
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](https://private-user-images.githubusercontent.com/59056762/404590460-59e6d1f0-63cb-4e4d-b100-fe8c549159fa.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDkwMTEsIm5iZiI6MTczOTM0ODcxMSwicGF0aCI6Ii81OTA1Njc2Mi80MDQ1OTA0NjAtNTllNmQxZjAtNjNjYi00ZTRkLWIxMDAtZmU4YzU0OTE1OWZhLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwODI1MTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZjAwZGRjOWFkY2IxMzkyNDEwYjgwZDY2YzdkZTA4ZWUwNmJlZTg5ODBiNmIzYTM0MTllNmQ0OWE5OTM0NmRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.wr3UQelQ7Zh8ES8pNTyYvTVVV6aAc1IGtFW2RfL8hh0)
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](https://private-user-images.githubusercontent.com/59056762/404591083-873b702f-9dee-4609-ad9c-8e24856d65e2.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDkwMTEsIm5iZiI6MTczOTM0ODcxMSwicGF0aCI6Ii81OTA1Njc2Mi80MDQ1OTEwODMtODczYjcwMmYtOWRlZS00NjA5LWFkOWMtOGUyNDg1NmQ2NWUyLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwM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CfVQ)
Perfect! Slowdown is now performed correctly between the 10-25% range instead of being ignored.
Fixes: #7685