aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-04-07 10:49:14 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-04-07 14:47:00 -0400
commit85ed5cef7fe483d921b1081b4664c35ad4e64967 (patch)
treedebf8f541c7581c55ff2833c0ae2bc42d6e79d4a /klippy/chelper.py
parentdf42b0d1ac0b303025c8762fa727d79bc01a28a3 (diff)
downloadkutter-85ed5cef7fe483d921b1081b4664c35ad4e64967.tar.gz
kutter-85ed5cef7fe483d921b1081b4664c35ad4e64967.tar.xz
kutter-85ed5cef7fe483d921b1081b4664c35ad4e64967.zip
stepcompress: Merge stepcompress_delta_const and stepcompress_delta_accel
It's not necessary to have separate C delta kinematic functions for constant acceleration and constant velocity as constant velocity can be obtained by using a constant acceleration of zero. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper.py')
-rw-r--r--klippy/chelper.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/klippy/chelper.py b/klippy/chelper.py
index afc5b1d9..86994830 100644
--- a/klippy/chelper.py
+++ b/klippy/chelper.py
@@ -24,11 +24,7 @@ defs_stepcompress = """
, int32_t sdir);
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_const(struct stepcompress *sc
- , double clock_offset, double start_pos, double steps, double cruise_sv
- , double height, double closestxy_sd
- , double closest_height2, double movez_r);
- int32_t stepcompress_push_delta_accel(struct stepcompress *sc
+ 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);