From bbe53cf8e50965af5e172166021147704b2e36fe Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 13 Jun 2018 16:53:25 -0400 Subject: extruder: Convert to using iterative solver Signed-off-by: Kevin O'Connor --- klippy/chelper/itersolve.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'klippy/chelper/itersolve.h') diff --git a/klippy/chelper/itersolve.h b/klippy/chelper/itersolve.h index bd8fba0e..23b3201d 100644 --- a/klippy/chelper/itersolve.h +++ b/klippy/chelper/itersolve.h @@ -7,12 +7,26 @@ struct coord { double x, y, z; }; +struct move_accel { + double c1, c2; +}; + +struct move { + double print_time, move_t; + double accel_t, cruise_t; + double cruise_start_d, decel_start_d; + double cruise_v; + struct move_accel accel, decel; + struct coord start_pos, axes_r; +}; + struct move *move_alloc(void); void move_fill(struct move *m, double print_time , double accel_t, double cruise_t, double decel_t , 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); +double move_get_distance(struct move *m, double move_time); struct coord move_get_coord(struct move *m, double move_time); struct stepper_kinematics; -- cgit v1.2.3-70-g09d2