mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 03:20:25 +09:00
trapq: Add trapq_find_move() function
Add support for finding a move by time in the trapezoidal velocity move list. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -33,6 +33,7 @@ void trapq_append(struct trapq *tq, double print_time
|
||||
double move_get_distance(struct move *m, double move_time);
|
||||
struct coord move_get_coord(struct move *m, double move_time);
|
||||
double trapq_integrate(struct move *m, int axis, double start, double end);
|
||||
struct move *trapq_find_move(struct move *m, double *ptime);
|
||||
struct trapq *trapq_alloc(void);
|
||||
void trapq_free(struct trapq *tq);
|
||||
void trapq_check_sentinels(struct trapq *tq);
|
||||
|
||||
Reference in New Issue
Block a user