etagle
a215725df6
Fix stepper pulse timing
Always honor minimum period on stepper pulse generation, and fix timing calculations
Signed-off-by: etagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
0d79128c8d
Localize stepper-specific defines
7 years ago
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
7 years ago
Scott Lahteine
9d04f47d98
Improvements for junction_deviation_mm
- Drop `max_jerk` with `JUNCTION_DEVIATION`
- Add `max_e_jerk_factor` for use by `LIN_ADVANCE`
- Recalculate `max_e_jerk_factor` when `junction_deviation_mm` changes
- Fix LCD editing of `junction_deviation_mm`
7 years ago
Scott Lahteine
f2c3b0d476
Use bit flags for homed/known
7 years ago
Scott Lahteine
43bdd0bfe4
Fix indent in stepper.h
7 years ago
Scott Lahteine
3fd1f32b73
Fix ADC key and chamber temp
7 years ago
Scott Lahteine
a2f521d34b
Add Junction Deviation mm runtime setting ( #10990 )
7 years ago
etagle
6f14bcaa3e
Add MAXIMUM_STEPPER_RATE, enforce in multi-stepping
The timing value should be properly set for ALL boards. The compiler will check and set maximum step rate calculations based on those values.
7 years ago
etagle
39a7e7720d
Adaptive multiaxis step smoothing
- Stepper bugs fixed
- Support MIXING_EXTRUDER with Linear Advance
- Miscellaneous cleanup
7 years ago
Giuliano
b64cc9329e
[2.0.x] Fix dual enstop home ( #10980 )
7 years ago
Scott Lahteine
3701869e6c
Add HAL_timer_start for AVR, use stepper timer to time pulses
7 years ago
etagle
d82704354f
Increase the planner first block HOLD delay to 100mS
7 years ago
Scott Lahteine
334341c632
Hephestos config updates ( #10960 )
7 years ago
Scott Lahteine
55aedf036b
Fix M503 ABL mesh report. (Zero-based IJ indices)
7 years ago
Scott Lahteine
d8b983f624
More concise M503 output for M906, M913, M914 ( #10947 )
7 years ago
Scott Lahteine
ad8d3150aa
Cleanup for dual endstops homing
7 years ago
Eduardo José Tagle
d3c02410a8
[2.0.x] Small assorted collection of fixes and improvements ( #10911 )
* Misc fixes and improvements
- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).
* Set position immediately when possible
7 years ago
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.
7 years ago
Scott Lahteine
d259070980
Clean up trailing spaces from vim, etc.
7 years ago
Scott Lahteine
b90f54b0fc
Improve probe logging
7 years ago
Scott Lahteine
4299e5dc8b
Modify E-stepping macros for use in LINEAR_ADVANCE ( #10885 )
7 years ago
Scott Lahteine
8f14ef855d
More concise commentary in planner.cpp
7 years ago
Scott Lahteine
6919e87656
Minor cleanup of multi-stepping logic
7 years ago
Scott Lahteine
853a9056ac
Long thermistor tables need special consideration
7 years ago
Scott Lahteine
a4f9c3373f
Tweak thermistor spacing
7 years ago
Scott Lahteine
1ce97f1f6d
Faster (bisect) search in thermistor tables ( #10883 )
7 years ago
Scott Lahteine
0ca9db7051
Correct HOTENDS for SWITCHING_EXTRUDER
7 years ago
Eduardo José Tagle
7b9f0302d4
Fix Bresenham rounding errors, add link to article ( #10871 )
7 years ago
Scott Lahteine
2566342979
Adjust some commentary
7 years ago
Scott Lahteine
6775a16c97
Fix switching extruder stepping with LA
7 years ago
Scott Lahteine
931ab4ec40
Rename Junction Deviation options
7 years ago
Scott Lahteine
aaaf09bda2
BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION
7 years ago
Scott Lahteine
01d37e00af
Fix up stepper ISR with linear advance timing ( #10853 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
7261f48872
Fix reset of endstops and move state
7 years ago
Scott Lahteine
50fa8e01c1
Minor optimization of axis_did_move bits
7 years ago
Scott Lahteine
f28e366b77
Followup for core endstops
7 years ago
Scott Lahteine
9644d56b42
Patches for core motion tests
7 years ago
Scott Lahteine
3e3789da85
Regression: Endstops Core compatibility ( #10823 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
4b610b333e
Tweak G38 formatting
7 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>
7 years ago
Scott Lahteine
0c3773d724
Cleanup in stepper_indirection.h
7 years ago
Scott Lahteine
4b2f6e3b2b
[2.0.x] Add endstop noise filter ( #10796 )
7 years ago
Scott Lahteine
65a004564c
Stepper::set_position needed for some applications
7 years ago
Scott Lahteine
435ecb6b67
Followup to stepper/planner refactor
7 years ago
Bob Kuhn
d557c84a71
[2.0.x] Error for FAST_PWM_FAN with 32 bit CPU ( #10798 )
7 years ago
etagle
569df3fc0c
Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 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.
7 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.
7 years ago
etagle
a11eb50a3e
Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago