aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-04-06 11:09:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-04-07 15:05:41 -0400
commitb915a2ad7d6eec6f7ef31fc5f13397029b927351 (patch)
tree9372685cbd4c1a601598c6bb6ca99e956243a1b3 /klippy/chelper.py
parent85ed5cef7fe483d921b1081b4664c35ad4e64967 (diff)
downloadkutter-b915a2ad7d6eec6f7ef31fc5f13397029b927351.tar.gz
kutter-b915a2ad7d6eec6f7ef31fc5f13397029b927351.tar.xz
kutter-b915a2ad7d6eec6f7ef31fc5f13397029b927351.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper.py')
-rw-r--r--klippy/chelper.py5
1 files changed, 2 insertions, 3 deletions
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);