Markus Hitter
13ec2d7521
Move endstop handling into a time-based procedure.
...
Before, endstops were checked on every step, wasting precious time.
Checking them 500 times a second should be more than sufficient.
Additionally, an endstop stop now properly decelerates the movement.
This is one important step towards handling accidental endstop hits
gracefully, as it avoids step losses in such situations.
2013-10-27 20:01:10 +01:00
Markus Hitter
d51ec02cdf
dda_queue: optimize enqueue().
...
Suggestion by ItsDrone, see
http://forums.reprap.org/read.php?146,174364,174364#msg-174364
2013-02-05 14:10:27 +01:00
Ben Gamari
45124316e3
Rework endstop homing.
...
The DDA is now used for motion control.
Note from Traumflug: thanks a lot for this excellent patch, Ben.
2011-10-23 19:51:40 +02:00
Michael Moon
e05e12c9e0
Fix bug introduced by 2421b788: Check once per second when waiting for temp instead of every 256 seconds
2011-06-13 13:55:52 +10:00
Markus Hitter
2421b788b9
Move dda->c out of DDA into move_state as well.
...
This also required to get rid of the usage of this variable
when waiting for temperature in dda_queue.*. Hope I got this
later part right.
2011-05-15 20:34:38 +02:00
Michael Moon
096d7dfdf3
Merge release-candidate-triffid branch
2011-01-07 23:09:13 +11:00
Michael Moon
d0c3744f92
add flush queue for emergency stop
2010-10-20 17:54:13 +11:00
Markus Hitter
90fca50535
dda_queue.c/.h: merge enqueue() and enqueue_temp_wait(). This
...
saves almost 200 bytes.
2010-09-30 21:55:39 +02:00
Michael Moon
595b66a341
setting up new branch 2
2010-08-10 14:26:24 +10:00