Scott Lahteine
c7f22f688f
buffer_line can calculate while it's waiting
8 years ago
Scott Lahteine
3fcf915808
Fix uninitialized var in reset_acceleration_rates
8 years ago
Sebastianv650
c397b9d60a
Planner acceleration bugfix and speedup v2
.) Use already existing inverse_millimeters instead of /
block->millimeters.
.) Prevent overflow during acceleration calculation by checking if float
is necessary. Idea modified from Sailfish.
.) Save two uint32_t or even float multiplications by checking if
step[AXIS] has steps and if max acceleration is lower than accel. If
not, there is no need to check this axis.
8 years ago
Scott Lahteine
5f5a55a0de
Add a ZERO macro to clear arrays
8 years ago
Sebastianv650
9818d97587
Fix Z-hops during retract/prime lead to blobs
We don't want to have retract/prime movements done with LIN_ADVANCE, that's also true with simultaneously executed Z-hops.
8 years ago
esenapaj
1e1edeadd3
Fix for the commit dc2cb84
(Revert acceleration limiting to avoid overflow)
・Add forgotten '\'
8 years ago
Scott Lahteine
dc2cb8454c
Revert acceleration limiting to avoid overflow
8 years ago
Scott Lahteine
4d89652bc2
Apply minor optimizations to planner.cpp
8 years ago
Scott Lahteine
1092319b19
Adapt speed/jerk code based on Prusa MK2 branch
8 years ago
Scott Lahteine
8e1cc9332a
Replace block flag bools with flag bits
…and apply const to some method parameters
8 years ago
Scott Lahteine
c5cac486f5
Use a, b, c instead of lx, ly, lz
8 years ago
Josef Pavlik
f8c2473a71
Improve planner kinematics, fix delta ABL
8 years ago
Scott Lahteine
761593b74b
Cleanup some vars, use of min/max
8 years ago
Scott Lahteine
d19cfcfc1d
max_jerk array, DEFAULT_XYJERK => DEFAULT_[XY]JERK
8 years ago
Scott Lahteine
e7dc174f30
More detailed debugging of G28 delta
8 years ago
Scott Lahteine
ecf7cdde65
Augment planner/stepper getters/setters
8 years ago
Scott Lahteine
ea0dbee3c9
Enable ABL by type, support bilinear on cartesian
8 years ago
Scott Lahteine
22ece0081e
Pass array pointer to unapply_leveling
8 years ago
Scott Lahteine
cbc158eb62
Add a proper flag for ABL enabled
8 years ago
Scott Lahteine
c6142aa2a1
Minor cleanups in Marlin_main.cpp
8 years ago
Scott Lahteine
0427f3cc3b
Use memcpy/memset in planner
8 years ago
Scott Lahteine
6b9bf8e8fe
Add Planner::sync_from_steppers
Use to sync the planner after an interrupted move (when not overriding
the logical position).
8 years ago
Scott Lahteine
be11a8a938
Fix debug in Planner::buffer_line
8 years ago
Scott Lahteine
6335acbf5c
Patch bug in linear unapply_leveling
8 years ago
Scott Lahteine
77639672d7
Move NONLINEAR bed leveling to planner
This is in advance of moving non-linear bed leveling to the planner
class.
8 years ago
Scott Lahteine
9429c7db89
Use ABC indices in delta[]
8 years ago
Scott Lahteine
c109399bf6
Fix planner leveling and rename arguments
Use lx, ly, lz for “logical” positions
8 years ago
Scott Lahteine
6ab54c60b1
Add conditionals for kinematics, leveling
8 years ago
Scott Lahteine
9248cfb0ad
Bed leveling that accounts for home XYZ
8 years ago
Scott Lahteine
6ac9d895ca
Tweak Filament Width variables
8 years ago
Scott Lahteine
d554c1dda8
Clean up planner kernel pass methods
8 years ago
Scott Lahteine
a485a19052
Added optional planner logging
8 years ago
Scott Lahteine
ab59280075
MIN_SEGMENTS_FOR_MOVE => MIN_STEPS_PER_SEGMENT
Follow-up to #4666
8 years ago
Scott Lahteine
2f223b8c79
Use ABC and XYZ for "3"
8 years ago
Scott Lahteine
01d4703429
PREVENT_DANGEROUS_EXTRUDE => PREVENT_COLD_EXTRUSION
Also improve the documentation of this and related options, and set
EXTRUDE_MINTEMP to 170 everywhere.
8 years ago
Scott Lahteine
374f8d2014
dropsegments => MIN_SEGMENTS_FOR_MOVE
8 years ago
Scott Lahteine
628dcbc764
extruder_multiplier => flow_percentage
8 years ago
Scott Lahteine
b73203a0b7
Move some includes around to uncover missing deps
8 years ago
Scott Lahteine
d8945e8464
Fix Z_HEAD index for COREYZ
8 years ago
Scott Lahteine
f83369b79c
Update refresh_positioning - no need for obj ref
8 years ago
Scott Lahteine
844a4e799e
Account for DELTA in Planner::refresh_positioning
8 years ago
Scott Lahteine
753283e020
inverse_second => inverse_mm_s
8 years ago
Scott Lahteine
83e1d90ca3
Undo errant optimization of block->millimeters
8 years ago
Scott Lahteine
d8e5af6834
Use RAW_POSITION for MBL in planner.set_position_mm
8 years ago
Scott Lahteine
d8f2876753
Replace some float division with multiplication
8 years ago
Scott Lahteine
ddde785b37
Code formatting in planner.cpp
8 years ago
Scott Lahteine
f8b5749235
Replace division in planner with multiplication
8 years ago
Scott Lahteine
b921f6b69d
Optimize calculation of block->millimeters for DELTA
8 years ago
Scott Lahteine
3e2b3353b0
Fix axis indices for COREYZ
8 years ago
Scott Lahteine
4e67a85a5d
Macros to loop over axes
8 years ago