Scott Lahteine
4d5c655f8d
Make max_e_jerk an array to save CPU ( #11121 )
...
Co-Authored-By: gloomyandy <andy-git@gloomy-place.com>
2018-06-26 22:09:38 -04:00
Scott Lahteine
dd9c65d0be
[1.1.x] Fix stepper/planner race condition, Stepper pulse timer ( #11084 )
...
* Fix planner/stepper race condition
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
Co-Authored-By: AnHardt <github@kitelab.de>
* Fix stepper pulse timing
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-22 10:53:46 -04:00
Scott Lahteine
87eddf35e2
HAL_STEPPER_TIMER_RATE => STEPPER_TIMER_RATE
2018-06-12 16:55:57 -05:00
Scott Lahteine
8073f23672
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`
2018-06-11 21:49:26 -05:00
Scott Lahteine
327b9c389d
Add Junction Deviation mm runtime setting ( #10989 )
2018-06-10 18:02:40 -05:00
Scott Lahteine
1cdcc6adfa
Adaptive multiaxis step smoothing
...
- Stepper bugs fixed
- Support MIXING_EXTRUDER with Linear Advance
- Miscellaneous cleanup
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-10 01:56:00 -05:00
Scott Lahteine
1132ec34c1
Increase BLOCK_DELAY_FOR_1ST_MOVE to 100
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-06-09 21:13:55 -05:00
Scott Lahteine
3b06a8e917
[1.1.x] Assorted fixes and improvements ( #10914 )
...
Co-Authored-By: ejtagle
2018-06-01 19:00:59 -05:00
Sebastianv650
568b19e7d4
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.
2018-05-31 20:06:37 -05:00
Scott Lahteine
2c4d8761ec
More concise commentary in planner.cpp
2018-05-28 19:27:55 -05:00
Scott Lahteine
0bfb10ffb6
Rename Junction Deviation options
2018-05-26 18:31:57 -05:00
Scott Lahteine
949ee7afe9
BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION
2018-05-26 18:31:57 -05:00
Scott Lahteine
3a4a229721
Fix interrupt-based endstop detection
2018-05-20 21:24:57 -05:00
Scott Lahteine
d2f8971045
Fix planner block optimization
2018-05-20 21:24:57 -05:00
Scott Lahteine
a4f2f2fe54
Planner block HOLD flag
2018-05-20 21:24:57 -05:00
Scott Lahteine
8f26c3a6d3
Refactor and optimize Stepper/Planner
2018-05-20 21:24:57 -05:00
Scott Lahteine
151201656f
Add FAN_MAX_PWM for M106-controlled fans
2018-05-15 21:17:34 -05:00
Scott Lahteine
3505d018db
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>
2018-05-13 04:51:33 -05:00
Scott Lahteine
bf0fcebfe6
Apply _AXIS macro
2018-05-13 04:51:32 -05:00
Scott Lahteine
ea353c3df6
Move some Stepper methods to Planner ( #10719 )
2018-05-12 09:29:17 -05:00
Scott Lahteine
0b8af93d1e
Patch up reverse_pass_kernel (and other planner code) ( #10673 )
2018-05-10 01:30:39 -05:00
Scott Lahteine
c3a891f790
Trailing whitespace cleanup
2018-05-10 00:15:32 -05:00
Scott Lahteine
78410b210b
Add UBL support for G2/G3 and G5 ( #10649 )
2018-05-08 11:10:33 -05:00
Scott Lahteine
de0b872a24
Merge pull request #10652 from thinkyhead/bf1_bezier_jerk_control_avr
...
[1.1.x] Bézier Jerk Control
2018-05-08 11:09:19 -05:00
Scott Lahteine
7ee1ab4fd3
Add Bézier Jerk Control option
2018-05-08 09:21:54 -05:00
Scott Lahteine
124cff0dbe
Junction deviation jerk limiting option
2018-05-08 04:43:51 -05:00
Scott Lahteine
156bd28160
Fully init planner sync_block
2018-05-06 08:14:00 -05:00
Scott Lahteine
08e20dbbc6
Improve sync of stepper positions
2018-05-06 01:22:30 -05:00
Scott Lahteine
51004e003d
Proper AVR preemptive interrupt handling ( #10501 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-04-23 20:47:31 -05:00
Scott Lahteine
31261d0c17
Fix bug in Planner::set_position_mm
2018-04-16 02:05:48 -05:00
Scott Lahteine
9769d799df
clear_block_buffer, kill_current_block in quick_stop
2018-04-13 22:05:58 -05:00
Scott Lahteine
c46d47f45f
Scale feedrate (mm/s to deg/s) for SCARA
2018-04-05 16:17:23 -05:00
Scott Lahteine
a7e142460c
MBL should add z_offset regardless of fade ( #10307 )
2018-04-04 18:27:09 -05:00
Scott Lahteine
0eb1830d85
Change order of inactive stepper disable/enable
...
This ensures that steppers that share an enable pin will only be disabled for a miniscule time.
2018-03-30 15:10:03 -05:00
Scott Lahteine
c57545ee08
blocks_queued => has_blocks_queued
2018-03-21 19:08:02 -05:00
Scott Lahteine
ccb2a95456
Update includes for gcode.h => parser.h
2018-03-14 01:01:45 -05:00
Scott Lahteine
e5e3c3ff35
Update powersupply_on in power_on/off ( #10014 )
...
Fix #10004
2018-03-08 18:56:41 -06:00
Sebastianv650
bc08ce86be
Fix broken reverse planner ( #9914 )
...
See MarlinFirmware/Marlin#9913 for details.
2018-03-04 21:18:35 -06:00
Scott Lahteine
5ad60d89a8
autotemp_factor is not value_celsius_diff
...
See https://github.com/MarlinFirmware/Marlin/issues/9852#issuecomment-369861822
2018-03-03 23:29:35 -06:00
Scott Lahteine
d0720a565f
Finish ubl header patch
...
Followup to aa380ae
2018-02-25 21:35:11 -06:00
Sebastianv650
9c65890644
[1.1.x] LIN_ADVANCE v1.5 ( #9700 )
2018-02-23 00:53:41 -06:00
Christopher Reimer
254417e8b0
Enable and disable power supply automatically
2018-02-06 00:20:33 -06:00
Thomas Moore
5b4e39a429
Apply feedrate to nozzle movement for kinematic machines
2018-02-03 22:17:13 -06:00
Scott Lahteine
d4ab383a1b
Lightly optimize arc length calculation
2018-01-23 18:59:35 -06:00
Bob-the-Kuhn
ba9aa47260
Revert "[1.1.x] Fix missing deceleration steps"
2018-01-16 11:31:27 -06:00
Sebastianv650
4fa0937a55
Fix missing deceleration steps
...
Marlin never reached final_speed after deceleration.
2018-01-14 17:09:47 +01:00
Sebastianv650
e2871f0dcd
[1.1.x] Ensure smooth printer movements ( #9149 )
...
- Never execute a block without an up-to-date trapezoid
- Start blocks with MINIMUM_PLANNER_SPEED, except when coming from a full stop
2018-01-11 18:50:18 -06:00
Scott Lahteine
417bdb0488
Fix bug in NO_VOLUMETRICS
2017-12-26 19:56:22 -06:00
Scott Lahteine
477e36afab
Revert "[bugfix-1.1.x] COREXY stutter moves (planner.cpp changes) ( #8697 )"
...
This reverts commit 86b65e52c4
.
2017-12-20 15:59:56 -06:00
Scott Lahteine
1068798465
Restore position_float to LIN_ADVANCE
2017-12-20 06:58:42 -06:00