From b915a2ad7d6eec6f7ef31fc5f13397029b927351 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 6 Apr 2017 11:09:08 -0400 Subject: delta: Make it clear that a "virtual tower" is created The delta code calculates a "virtual tower" along the line of movement. Rework the variable names and comments to make it clear that this is occurring. It is not necessary to pass the start_pos variable to the C code as it is simple to update the start_pos at the start of each movement. Signed-off-by: Kevin O'Connor --- klippy/chelper.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'klippy/chelper.py') diff --git a/klippy/chelper.py b/klippy/chelper.py index 86994830..230f6a3d 100644 --- a/klippy/chelper.py +++ b/klippy/chelper.py @@ -25,9 +25,8 @@ defs_stepcompress = """ int32_t stepcompress_push_const(struct stepcompress *sc, double clock_offset , double step_offset, double steps, double start_sv, double accel); int32_t stepcompress_push_delta(struct stepcompress *sc - , double clock_offset, double start_pos, double steps, double start_sv - , double accel, double height, double closestxy_sd - , double closest_height2, double movez_r); + , double clock_offset, double move_sd, double start_sv, double accel + , double height, double startxy_sd, double arm_d, double movez_r); struct steppersync *steppersync_alloc(struct serialqueue *sq , struct stepcompress **sc_list, int sc_num, int move_num); -- cgit v1.2.3-70-g09d2