Scott Lahteine
7c6dd087c9
Convert maths macros to inlines
...
For parity with #10728
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 10:36:37 -05:00
Scott Lahteine
ea353c3df6
Move some Stepper methods to Planner ( #10719 )
2018-05-12 09:29:17 -05:00
Scott Lahteine
7ee1ab4fd3
Add Bézier Jerk Control option
2018-05-08 09:21:54 -05:00
Scott Lahteine
08e20dbbc6
Improve sync of stepper positions
2018-05-06 01:22:30 -05:00
Scott Lahteine
1682036533
Apply int32_t to stepper
2018-05-05 18:22:46 -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
1381b5d57d
Fix LA_active_extruder (static)
2018-03-07 05:50:35 -06:00
Scott Lahteine
73aa7ffff9
LIN_ADVANCE single stepper optimization
2018-03-06 19:27:43 -06:00
Sebastianv650
9c65890644
[1.1.x] LIN_ADVANCE v1.5 ( #9700 )
2018-02-23 00:53:41 -06:00
Scott Lahteine
12628d43ce
Use serial macros where possible
2018-02-16 17:53:47 -06:00
Scott Lahteine
c93dab2307
MYSERIAL => MYSERIAL0
...
For cleaner diffing with Marlin 2.0.x.
2018-02-14 02:56:56 -06:00
Scott Lahteine
56d355f8de
Revert "[Bugfix-1.1.x] initial step correction ( #8735 )"
...
This reverts commit ec028bf747
.
2017-12-17 02:04:44 -06:00
Scott Lahteine
bb33a26e62
Apply const to axis args
2017-12-11 00:20:29 -06:00
Bob-the-Kuhn
ec028bf747
[Bugfix-1.1.x] initial step correction ( #8735 )
...
* tested
* forgot one item
2017-12-09 18:20:25 -06:00
Scott Lahteine
55acb65e27
Updates for stepper parity with 2.0.x
...
Matching changes from #8725
2017-12-08 23:07:52 -06:00
Scott Lahteine
8be7a0b131
FORCE_INLINE before static
2017-12-08 01:31:59 -06:00
Scott Lahteine
574153a810
No lcd_map_control needed in quick_stop
2017-12-06 21:43:26 -06:00
Scott Lahteine
93560836de
Allow buffer clean without release command
2017-12-06 21:12:55 -06:00
Scott Lahteine
1d0ee83e18
Split first move to planner for better chaining
...
Address #8573 , #8595
2017-12-03 01:44:33 -06:00
Scott Lahteine
318c419f77
Implement support for Dual X and Y endstops
2017-10-29 03:49:45 -05:00
Scott Lahteine
cbfcce09fa
Remove legacy ADVANCE feature
2017-10-09 04:27:45 -05:00
dot-bob
b3c36c98fd
Edit digipot currents via LCD, save to EEPROM
2017-06-25 01:02:36 -05:00
Scott Lahteine
3c7bfe798d
Various cleanups ahead of digipot save
2017-06-24 23:56:24 -05:00
Scott Lahteine
e94f79ccea
Patch some serial macros
2017-06-09 17:17:23 -05:00
Scott Lahteine
ff0018e287
Format hex values as uppercase
2017-04-21 21:42:41 -05:00
Sebastianv650
84c685f8b5
First draft of Unified Stepper / E Advance ISR
2016-12-21 01:34:39 -08:00
esenapaj
069c6b38dd
Remove unnecessary tabs and spaces
2016-12-16 00:21:32 +09:00
Scott Lahteine
98600e1433
Minor stepper cleanup
2016-11-18 01:15:57 -06:00
Scott Lahteine
00662b8635
Minor babystep cleanup patches
2016-11-03 23:31:45 -05:00
Sebastianv650
f9bea7968f
BugFix for incorrect E-speed calculation
...
The extrusion speed was wrong due to a not high enough precision of
esteps to XY steps, therefore now the target float values are used to
calculate the ratio between XY movement and extrusion speed.
The e_speed_multiplier8 was replaced by an absolute multiplier called
abs_adv_steps_multiplier8, therefore one multiplication and bitshift can
be saved inside the stepper ISR. Due to this, also extruder_advance_k is
better suited inside the planner and not the stepper files any more.
2016-11-01 08:08:47 +01:00
Scott Lahteine
f8199b2cc1
Merge pull request #4982 from thinkyhead/rc_abl_bugfix
...
Fix planner with kinematics, delta ABL
2016-10-10 13:24:22 -05:00
Scott Lahteine
c5cac486f5
Use a, b, c instead of lx, ly, lz
2016-10-09 14:34:24 -05:00
Sebastianv650
a448cedbc5
LIN_ADVANCE bug fix and optimization
...
.) long to int: Extruder stalls at 10kHz / 20kHz step limits with long.
.) Take the delta_adv_steps calculation out of the step_loops loop. Wasted calculation performance if done inside.
.) >> 2 replaced by 3: Is divide by 8. Reason: Timer 0 runs at 16/8=2MHz, Timer 1 at 16/64=0.25MHz. ==> 2/0.25=8.
2016-10-09 11:55:02 -05:00
Scott Lahteine
ecf7cdde65
Augment planner/stepper getters/setters
2016-09-29 01:27:37 -05:00
Scott Lahteine
5fff8d148b
Clean up digital pots and microsteps
2016-09-25 11:16:22 -05:00
Scott Lahteine
7d72ed688c
Revert motor_current_setting to constexpr
...
We should use `constexpr` wherever it makes sense, for its added benefits. See http://stackoverflow.com/questions/13346879/const-vs-constexpr-on-variables
2016-09-22 15:26:18 -05:00
Scott Lahteine
5efb12e889
Simpler report_current_position for SCARA
2016-09-20 18:31:36 -05:00
Scott Lahteine
5cbed13f41
'constexpr' => 'const' for PWM_MOTOR_CURRENT
2016-09-20 15:57:48 -05:00
esenapaj
954563d603
Adjust spacing
2016-09-20 19:35:44 +09:00
esenapaj
7e9576dc5b
Extend the e_steps[] from int to long for allowing more than 32,767 E steps
...
Probably needed for long straight lines when using high microstepping
2016-09-20 19:35:44 +09:00
Scott Lahteine
8ff338c2b9
Patch stepper.h for SCARA
2016-09-13 03:32:59 -05:00
Scott Lahteine
9bf78ef465
Fix capitalization of counter_m
2016-09-02 11:31:45 -05:00
Scott Lahteine
08f717e5f7
Use bit-size typedefs for some stepper vars
2016-08-30 14:19:49 -05:00
Scott Lahteine
2f223b8c79
Use ABC and XYZ for "3"
2016-08-21 00:10:08 -05:00
Scott Lahteine
b73203a0b7
Move some includes around to uncover missing deps
2016-08-02 19:37:46 -07:00
Scott Lahteine
f8b5749235
Replace division in planner with multiplication
2016-07-24 13:27:49 -07:00
Scott Lahteine
05da02f0a2
Implement MIXING_EXTRUDER and SWITCHING_EXTRUDER
2016-07-17 10:53:10 -07:00
Scott Lahteine
117db77c55
make motor_current_setting static and constexpr
2016-06-21 19:50:08 -07:00
Scott Lahteine
8d8180e028
Parse M905 args in Marlin_main.cpp
2016-06-13 19:25:28 -07:00
Scott Lahteine
aad9c0ed8d
Apply updated ISR timing code
2016-06-09 21:03:27 -07:00