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

Rework intermediate idle() and manage_heater() calls in G2/G3 and G5 #3797

Merged
merged 3 commits into from
May 19, 2016

Conversation

AnHardt
Copy link
Member

@AnHardt AnHardt commented May 19, 2016

No compromises for the manage_heater().
manage_heater() will return immediately when there is nothing to do, but needs a constant detaT to work proper.
Calling idle() only every 200ms results in a display update every ~2 seconds - that should be enough.
For the other functionalities in idle() and manage_inactivity() 200ms is very long, but hopefully works.


Speedup screen update delay
and correct a comment.

A module division by 10 is slooooow. (powers of 2 are fast - but then you could AND a bitmask with the same result)


Remove SF_ARC_FIX from G5 (Cubic B-spline).
SF_ARC_FIX is a fix for G2/G3 (arcs) where Skeinforge always produced relative instead of absolute coordinates for the endpoint of an arc.
It's very unlikely this is also a problem with Cubic B-splines. More likely is copying from the G2/G3 code.

#3761 (comment)

Speedup sreen update delay
and correct a comment.

A module division by 10 is slooooow. (powers of 2 are fast - but then you can AND a bitmask with the same result)
No compromises for the manage_heater(). manage_heater() will return immediately when there is nothing to do, but needs a constant detaT to work proper.
Calling idle() only every 200ms results in a display update every ~2 seconds - that should be enough.
For the other functionalities in idle() and manage_inactivity() 200ms is a lot but hopefully works.
Remove SF_ARC_FIX from G5 (Cubic B-spline).
SF_ARC_FIX is a fix for G2/G3 (arcs) where Skeinforge always produced relative instead of absolute coordinates for the endpoint of an arc.
It's very unlikely this is also a problem with Cubic B-splines. More likely is copying from the G2/G3 code.
@jbrazio jbrazio added this to the 1.1.0 milestone May 19, 2016
@thinkyhead thinkyhead merged commit 6d68b12 into MarlinFirmware:RCBugFix May 19, 2016
thinkyhead added a commit to thinkyhead/Marlin that referenced this pull request May 19, 2016
@AnHardt AnHardt deleted the fix-screen-updatedelay branch May 20, 2016 11:32
@thinkyhead thinkyhead mentioned this pull request Jul 8, 2016
CONSULitAS pushed a commit to CONSULitAS/Marlin-K8200 that referenced this pull request Aug 18, 2016
drewmoseley pushed a commit to drewmoseley/Marlin that referenced this pull request Nov 8, 2023
PFW-1454 Send button to MMU on MMU SELFTEST FAILED screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants