Scott Lahteine
2deff0d9b9
Fix/Improve junction deviation
- Respect axis max acceleration limits instead of forcing a fixed acceleration value.
- The `junction_unit_vec` ensures proper handling of entry and exit speeds even when the axes involved have different limits.
6 years ago
Scott Lahteine
d259070980
Clean up trailing spaces from vim, etc.
6 years ago
Scott Lahteine
b90f54b0fc
Improve probe logging
6 years ago
Scott Lahteine
4299e5dc8b
Modify E-stepping macros for use in LINEAR_ADVANCE ( #10885 )
6 years ago
Scott Lahteine
8f14ef855d
More concise commentary in planner.cpp
6 years ago
Scott Lahteine
6919e87656
Minor cleanup of multi-stepping logic
6 years ago
Scott Lahteine
853a9056ac
Long thermistor tables need special consideration
6 years ago
Scott Lahteine
a4f9c3373f
Tweak thermistor spacing
6 years ago
Scott Lahteine
1ce97f1f6d
Faster (bisect) search in thermistor tables ( #10883 )
6 years ago
Scott Lahteine
0ca9db7051
Correct HOTENDS for SWITCHING_EXTRUDER
6 years ago
Eduardo José Tagle
7b9f0302d4
Fix Bresenham rounding errors, add link to article ( #10871 )
6 years ago
Scott Lahteine
2566342979
Adjust some commentary
6 years ago
Scott Lahteine
6775a16c97
Fix switching extruder stepping with LA
6 years ago
Scott Lahteine
931ab4ec40
Rename Junction Deviation options
6 years ago
Scott Lahteine
aaaf09bda2
BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION
6 years ago
Scott Lahteine
01d37e00af
Fix up stepper ISR with linear advance timing ( #10853 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago
Scott Lahteine
7261f48872
Fix reset of endstops and move state
6 years ago
Scott Lahteine
50fa8e01c1
Minor optimization of axis_did_move bits
6 years ago
Scott Lahteine
f28e366b77
Followup for core endstops
6 years ago
Scott Lahteine
9644d56b42
Patches for core motion tests
6 years ago
Scott Lahteine
3e3789da85
Regression: Endstops Core compatibility ( #10823 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago
Scott Lahteine
4b610b333e
Tweak G38 formatting
6 years ago
Scott Lahteine
d2647c1f19
Fix G1 behaviour after tool unpark
Fix #10777 for 2.0.x
Co-Authored-By: Ante Vukorepa <o.orcinus@gmail.com>
6 years ago
Scott Lahteine
0c3773d724
Cleanup in stepper_indirection.h
6 years ago
Scott Lahteine
4b2f6e3b2b
[2.0.x] Add endstop noise filter ( #10796 )
6 years ago
Scott Lahteine
65a004564c
Stepper::set_position needed for some applications
6 years ago
Scott Lahteine
435ecb6b67
Followup to stepper/planner refactor
6 years ago
Bob Kuhn
d557c84a71
[2.0.x] Error for FAST_PWM_FAN with 32 bit CPU ( #10798 )
6 years ago
etagle
569df3fc0c
Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
6 years ago
etagle
a4af975873
Fix planner block optimization
- Fixed the planner incorrectly avoiding optimization of the block following the active one.
- Added extra conditions to terminate planner early and avoid redundant computations.
6 years ago
etagle
e0ca627033
Planner block HOLD flag
Allows the Stepper ISR to wait until a given block is free for use. Allows Planner to plan the first move, which is split into two.
6 years ago
etagle
a11eb50a3e
Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
etagle
0566badcef
Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/ )
6 years ago
Scott Lahteine
7dc03ce721
Simplified fix for babystep pulse width
Alternative to the apparently superfluous double delay
6 years ago
Scott Lahteine
65270d6a96
Fix LIN_ADVANCE + SWITCHING_EXTRUDER
Followup to #10656
6 years ago
Bob Kuhn
9ad42d6617
add delay between pulse edges ( #10778 )
6 years ago
Scott Lahteine
83d42f33e1
Add HAS_HOTEND_OFFSET_Z conditional
6 years ago
GMagician
3c76bda2d8
Fix switching extruder
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
6 years ago
Giuliano
e1d9046efc
[2.0.x] Temperature reading fix ( #10774 )
6 years ago
Scott Lahteine
50270b53a0
Clear up some more compile warnings
6 years ago
Jiri Jaburek
43ddb29f9e
Add FAN_MAX_PWM for M106-controlled fans
6 years ago
Scott Lahteine
836b0bbeee
Fix MBL line_to_destination
Fix #10708
6 years ago
Scott Lahteine
ba4c32eec5
Followup to _AXIS patch
6 years ago
Scott Lahteine
d9154ebdf6
Followup to math patch
6 years ago
Scott Lahteine
883b0c9880
Convert custom maths to inlines ( #10728 )
6 years ago
Scott Lahteine
08e36e264e
Apply _AXIS macro
6 years ago
Scott Lahteine
083ec9963e
Tweaks to heater / lcd conditions
6 years ago
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago
Scott Lahteine
8f8c6a9bc4
Move get_axis_position_mm to Planner ( #10718 )
6 years ago
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US ( #10716 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
6 years ago