-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
CURA-6410 buggy fan speed interpolation #2111
Conversation
…buggy_fan_speed_interpolation
Previously we were basing the writing or non-writing of the fan speed command based on the raw value comparison. This could result in some commands not being written if the new value was too much similar to the previous one. Now we check the actual output value and base the writing on this. CURA-6410
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.
I've got 2 remarks. -- Most importantly, ideally, I'd really like the string-manipulation to be gone, but currently, I don't even understand how that would work correctly and keep the right numbers 😅
The (other) remark about DRY is just a preference and I can live with it if not easy to fix.
Lastly, I do think the 1st commit cleans things up considerably though -- I can at least understand what's going on now there 😄
The checking for the fan miminum layer time was based on the wrong variable.
I also reworked the fan speed command to better handle interpolated values.
CURA-6410
Fixes Ultimaker/Cura#5409