diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-01 22:21:30 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-21 13:17:45 -0500 |
commit | 56cd39f038f20b0e6c59516f51853a71bec8501c (patch) | |
tree | 0de4e0c80b637a0ecf7d8fcb21cb5be0c2c3cea4 /klippy/chelper/itersolve.h | |
parent | 4dbe795ac2b9af24c3c45d4d25ac0eedf86f3d12 (diff) | |
download | kutter-56cd39f038f20b0e6c59516f51853a71bec8501c.tar.gz kutter-56cd39f038f20b0e6c59516f51853a71bec8501c.tar.xz kutter-56cd39f038f20b0e6c59516f51853a71bec8501c.zip |
itersolve: Support step generation in lead up to and after stepper activity
Add support for generating steps from kinematic functions that
calculate step times based on a range of the motion queue. It
requires scanning for step generation during the lead up to stepper
activity (when the stepper would nominally be idle). And it requires
scanning for step generation just after a stepper has nominally become
idle.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/itersolve.h')
-rw-r--r-- | klippy/chelper/itersolve.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/chelper/itersolve.h b/klippy/chelper/itersolve.h index 1615fc32..b7ab771a 100644 --- a/klippy/chelper/itersolve.h +++ b/klippy/chelper/itersolve.h @@ -16,7 +16,8 @@ struct stepper_kinematics { double step_dist, commanded_pos; struct stepcompress *sc; - double last_flush_time; + double last_flush_time, last_move_time; + double scan_past, scan_future; struct trapq *tq; int active_flags; |