Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
7 years ago
Scott Lahteine
840289e7cc
Use block cleaning instead of split flag
7 years ago
AnHardt
a993c5227d
Don't split first_move while homing or probing
While homing or probing it might be bad if the stop/trobe triggers during the first part and the second is still in the buffer.
7 years ago
Scott Lahteine
a2372cfab5
Fix SKEW_CORRECTION without leveling
7 years ago
Scott Lahteine
4b612f590c
Split first move to planner for better chaining
7 years ago
Scott Lahteine
dd8febca1a
Revert "Merge pull request #8611 from thinkyhead/bf2_planner_split_first"
This reverts commit 824980e70e
, reversing
changes made to aa7efb96bf
.
7 years ago
Scott Lahteine
3a97de52ef
Split first move to planner for better chaining
Address #8573 , #8595
7 years ago
Scott Lahteine
8056120195
Rename inverse_mm_s => inverse_secs
7 years ago
Scott Lahteine
000b3b3117
Comment/cleanup of motion code
7 years ago
Scott Lahteine
0154e3480c
New feature: BED_SKEW_CORRECTION
7 years ago
Scott Lahteine
dd3ce40826
Drop Planner::position_float, use int types
7 years ago
Scott Lahteine
a52fec6ac4
Planner class parity with 1.1.x
7 years ago
Scott Lahteine
60adc6ff02
Display filwidth ratio in terms of E mm
7 years ago
Scott Lahteine
1e8afb66b7
Fix a planner comment
7 years ago
Scott Lahteine
cba9c1cf9e
Add pre-calculated planner.e_factor
7 years ago
Scott Lahteine
0cfb936dd1
Clarify some motion code
7 years ago
Scott Lahteine
f8393a0908
Operate in Native Machine Space
7 years ago
Scott Lahteine
3e8754a38a
Add/correct time units on planner vars / M205 B
7 years ago
Scott Lahteine
0ceec1f166
Fix leveling_active_at_z warning
7 years ago
Scott Lahteine
3e3911fb81
Use planner.leveling_active for all leveling systems
7 years ago
Scott Lahteine
32c607ffe2
Ensure fade factor is recalculated if fade height changes
7 years ago
Scott Lahteine
ca1e47375c
Move fade_scaling_factor_for_z to Planner
7 years ago
Scott Lahteine
03f4891fb9
Remove legacy ADVANCE feature
7 years ago
Scott Lahteine
a10451ceed
Move Volumetric methods to Planner
7 years ago
Scott Lahteine
551752eac7
Consolidate "bedlevel" code
7 years ago
Scott Lahteine
bf7af95db3
Move flow_percentage to Planner
7 years ago
Scott Lahteine
3d8a0ab4b2
Module updates
7 years ago
Scott Lahteine
0c9231fd04
Move 'module' files
7 years ago
Scott Lahteine
72de280c1e
BARICUDA valve pressure consistently uint8_t
7 years ago
Scott Lahteine
6c45d0fd81
Apply maths macros and type changes ahead of HAL
8 years ago
Scott Lahteine
6ce2b1ff4a
G33 evolutionary changes
8 years ago
Scott Lahteine
ed81e9b3d3
Adjust leveling conditionals
8 years ago
Scott Lahteine
a64e5659ce
Clean up G26 external references, private vars
8 years ago
Scott Lahteine
ccda63c473
Drop the accessor form for LCD value editing
8 years ago
Scott Lahteine
ff0018e287
Format hex values as uppercase
8 years ago
Thomas Moore
f8e77d6545
Add Linear Advance values to EEPROM and enable configuration of K via LCD
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
MagoKimbra
a4a9bd8bc9
Fix BUG set_position_mm
Set postion must have axis and not E_AXIS + active_extruder.
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
AnHardt
292eb365c6
Optimize handling of block_buffer_runtime()
millis_t is long - divisions take for ever.
Return a kind of millisecond instead of microsecond -
divided by 1024 instead of 1000 for speed. (2.4% error)
That does not matter because block_buffer_runtime is
already a too short estimation.
Shrink the return-type.
8 years ago
Scott Lahteine
87921f390a
Clarify what are "logical" positions in the planner
8 years ago
Scott Lahteine
0d0aa6c20d
Patch type for max_acceleration_mm_per_s2 save/restore
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
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
AnHardt
87fe20b5f5
Simplify long_move()
We are not really interested in, if there are blocks.
All information we need is in `block_buffer_runtime_us`.
8 years ago
AnHardt
706b240251
Patch long_move()
While the last move in the planner_buffer is running
it's duration is already subtracted from block_buffer_runtime_us.
8 years ago
esenapaj
e9393c3634
Suppress warnings, etc
・Suppress warnings
・Remove unused variable "did_update"
8 years ago