315 Commits (92fbea2906cd5df9ba33baad9e53e4c6517e07ff)

Author SHA1 Message Date
oldmcg 91841d75c9 UBL_DELTA (#6695)
UBL on Delta's....     Should be close!    Should not affect any Cartesian printer.
8 years ago
Scott Lahteine 081bf1f879 Patch #else / #endif comments 8 years ago
Scott Lahteine a1e04942a2 Cleanup to software PWM variables 8 years ago
Scott Lahteine 2658cc707a Treat temperature as integer, when possible 8 years ago
Scott Lahteine ed81e9b3d3 Adjust leveling conditionals 8 years ago
Scott Lahteine 8002672938 Fixes for DUAL_NOZZLE_DUPLICATION_MODE 8 years ago
Scott Lahteine d480b6f75a Enable E1 stepper for DUAL_NOZZLE_DUPLICATION_MODE 8 years ago
Scott Lahteine 68773f4486 Simplify stepper macros by renaming enable/disable macros 8 years ago
james94jeans2 5b9476fe78 Added z_fade_height to EEPROM-Settings
Firmware was forgetting the z_fade_height in Planner, set by M420 Z<f>,
after each reset or loading settings from EEPROM. Added the float
z_fade_height to EEPROM-Storage, now remembers the value.
8 years ago
Scott Lahteine 832064e4f2 Implementation changes to support 5 extruders 8 years ago
Scott Lahteine 79d42d87c1 Syntax cleanup 8 years ago
Scott Lahteine 25a6bfa7ed Add and apply WITHIN macro 8 years ago
Scott Lahteine 0e71e7b2fb Cleanup to planner.cpp 8 years ago
Scott Lahteine b5711a99a2 Patches to bring UBL closer to compliance 8 years ago
Scott Lahteine cd882b88db #if defined => #ifdef / PIN_EXISTS 8 years ago
Scott Lahteine 4c7f14752a Add disable_e_steppers function 8 years ago
Scott Lahteine c15c65f18a Merge pull request #5971 from thinkyhead/rc_fix_e_factors
Patch DISTINCT_E_FACTORS bug
8 years ago
Scott Lahteine bfb0007573 Patch DISTINCT_E_FACTORS bug 8 years ago
Scott Lahteine 87b03b16bd Use a macro for array copies 8 years ago
Scott Lahteine b3e2bd6f29 Reduce E_D_ratio code 8 years ago
Sebastianv650 de6c40ed8f Add option to fix E/D ratio
Work around for slicers producing buggy gcode.
8 years ago
Scott Lahteine 57f92a4632 Apply DISTINCT_E_FACTORS to sync_from_steppers
Followup to #5840
8 years ago
MagoKimbra 3685224c1a Fix steps_to_mm for active extruders 8 years ago
Scott Lahteine 97b6fb6381 Reduce / optimize LIN_ADVANCE code 8 years ago
Sebastianv650 1b59766fcb Cleanup position_float
Hopefully fixes Marlin #5481
8 years ago
esenapaj ab6b005867 Suppress warning 8 years ago
Scott Lahteine 87921f390a Clarify what are "logical" positions in the planner 8 years ago
esenapaj 069c6b38dd Remove unnecessary tabs and spaces 8 years ago
AnHardt d0e24e0876 Adaptive screen updates for all kinds of displays
The target here is to update the screens of graphical and char base
displays as fast as possible, without draining the planner buffer too much.

For that measure the time it takes to draw and transfer one
(partial) screen to the display. Build a max. value from that.
Because ther can be large differences, depending on how much the display
updates are interrupted, the max value is decreased by one ms/s. This way
it can shrink again.
On the other side we keep track on how much time it takes to empty the
planner buffer.
Now we draw the next (partial) display update only then, when we do not
drain the planner buffer to much. We draw only when the time in the
buffer is two times larger than a update takes, or the buffer is empty anyway.

When we have begun to draw a screen we do not wait until the next 100ms
time slot comes. We draw the next partial screen as fast as possible, but
give the system a chance to refill the buffers a bit.

When we see, during drawing a screen, the screen contend has changed,
we stop the current draw and begin to draw the new content from the top.
8 years ago
Scott Lahteine 7b625e0048 Patch fade_factor compiler warning 8 years ago
AnHardt 13eebd11cf volatile_block_buffer_runtime_us
`block_buffer_runtime_us` is mangled in the planner and in the stepper-ISR.
So it needs to be volatile and interrupt protected.
8 years ago
Scott Lahteine fc2fc828b3 Prettify LIN_ADVANCE code with the positive condition 8 years ago
Scott Lahteine 1929502e15 Add const to some variables 8 years ago
Scott Lahteine 2da4d22520 Pretty up ADVANCE code 8 years ago
Scott Lahteine af024e1d7c Pretty up coast / reverse jerk code 8 years ago
Scott Lahteine 3f3b5c86d8 Slightly shrink code for jerk-based reduction of safe_speed 8 years ago
MagoKimbra 5383212a28 Fix Mesh without Fade Height 8 years ago
Scott Lahteine 3391c785c6 Support for distinct E factors 8 years ago
Scott Lahteine 0dfe95eaba Adjust formatting in Planner 8 years ago
Scott Lahteine 84ff78c1e3 Pass the fade factor to mbl.get_z 8 years ago
Scott Lahteine 8d14420331 Fix compile without ENABLE_LEVELING_FADE_HEIGHT 8 years ago
Scott Lahteine 092e949b58 Merge pull request #5169 from thinkyhead/rc_core_inverted
Support for COREYX, COREZX, COREZY
8 years ago
Scott Lahteine e9e4208ff1 Merge pull request #5274 from Sebastianv650/improve_smooth_moves
Improvement for ENSURE_SMOOTH_MOVES
8 years ago
Scott Lahteine f6f77d34a1 Add a fade factor for mesh leveling 8 years ago
Sebastianv650 8190483eeb Improvement for ENSURE_SMOOTH_MOVES
Instead of waiting for a single long block, compare the complete block
buffer runtime for the long_move() check.
8 years ago
Sebastianv650 de89dc9f04 Ensure smooth print moves even with LCD enabled
lcd_update can take so much time that the block buffer gets drained if
there are only short segments. This leads to jerky printer movements for
example in circles and a bad print quality.

This change implements a simple check: Only if the block currently
executed is long enough, run lcd_update.
This also means the printer will not show actual values on the LCD nor
will it respond to buttons pressed. A option that keeps the menu
accessible is also available.
Aditionaly, slow down if a block would be so fast that adding a new
block to the buffer would take more time. In this case, the buffer would
drain until it's empty in worst case.
8 years ago
Florian Heilmann d08867986e Add autotemp capabilities to M104
This allows M104 to pass the F and B parameters to enable autotemp as well
8 years ago
Sebastianv650 c11b2bb777 Bugfix LIN_ADV
Advance has nothing todo with Z_AXIS, strange copy&paste error?
8 years ago
Sebastianv650 e3ffb58fbd Save some cycle inside the planner
planner.h:
fan speed is used to set integer variables, so no need for long.
Basicaly a byte should be enough for all the fan things, as it's 0-255?

planner.cpp:
Save some float multiplications.
We could squeeze out even more by defining feedrate_percentage,
saved_feedrate_percentage and flow_percentage as float instead of int.
Everytime they are used in the time-critical planner, they are casted to
float and multiplied by 0.01. Not done jet, as they are used in LCD menu
functions I don't know well enough.
8 years ago
Scott Lahteine f663220e87 Store Mix factors as reciprocals and multiply 8 years ago