diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-10-27 18:50:53 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-06 15:51:51 -0500 |
commit | d3afe4f1d89a13af4ef7c3ceb024dfae0edf3369 (patch) | |
tree | 50b69e8844edf1667e68caf90165b6254af55589 /klippy/chelper/__init__.py | |
parent | c06f6943a66cff3fa20e570edc8f2aff235ae75e (diff) | |
download | kutter-d3afe4f1d89a13af4ef7c3ceb024dfae0edf3369.tar.gz kutter-d3afe4f1d89a13af4ef7c3ceb024dfae0edf3369.tar.xz kutter-d3afe4f1d89a13af4ef7c3ceb024dfae0edf3369.zip |
trapq: Initial support for building a queue of trapezoidal velocity moves
Add support for building a list of moves in the trapq.c code. Update
the toolhead code so that moves generated from the look-ahead code are
added to that list.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r-- | klippy/chelper/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py index 9bbb1199..91929747 100644 --- a/klippy/chelper/__init__.py +++ b/klippy/chelper/__init__.py @@ -60,6 +60,10 @@ defs_trapq = """ , double start_pos_x, double start_pos_y, double start_pos_z , double axes_d_x, double axes_d_y, double axes_d_z , double start_v, double cruise_v, double accel); + struct trapq *trapq_alloc(void); + void trapq_free(struct trapq *tq); + void trapq_add_move(struct trapq *tq, struct move *m); + void trapq_free_moves(struct trapq *tq, double print_time); """ defs_kin_cartesian = """ |