diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-06-09 14:30:22 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-06-20 09:26:10 -0400 |
commit | fc4a9e7564a51ab5275826f2a2398335ff9acc9a (patch) | |
tree | 0607a0f1b5bfef1ca99b06c167ee7902c84f0aec /klippy/chelper/__init__.py | |
parent | ca0d0135dc7c3c2a1bfb1cf49b97f039c97ca34d (diff) | |
download | kutter-fc4a9e7564a51ab5275826f2a2398335ff9acc9a.tar.gz kutter-fc4a9e7564a51ab5275826f2a2398335ff9acc9a.tar.xz kutter-fc4a9e7564a51ab5275826f2a2398335ff9acc9a.zip |
corexy: Convert corexy to use the iterative solver
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r-- | klippy/chelper/__init__.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py index 36e32303..7366cc81 100644 --- a/klippy/chelper/__init__.py +++ b/klippy/chelper/__init__.py @@ -15,8 +15,8 @@ COMPILE_CMD = ("gcc -Wall -g -O2 -shared -fPIC" " -flto -fwhole-program -fno-use-linker-plugin" " -o %s %s") SOURCE_FILES = [ - 'stepcompress.c', 'kin_cartesian.c', 'kin_delta.c', 'itersolve.c', - 'serialqueue.c', 'pyhelper.c' + 'pyhelper.c', 'serialqueue.c', 'stepcompress.c', 'itersolve.c', + 'kin_cartesian.c', 'kin_corexy.c', 'kin_delta.c', ] DEST_LIB = "c_helper.so" OTHER_FILES = [ @@ -59,6 +59,11 @@ defs_kin_cartesian = """ , int32_t sdir); int32_t stepcompress_push_const(struct stepcompress *sc, double clock_offset , double step_offset, double steps, double start_sv, double accel); + struct stepper_kinematics *cartesian_stepper_alloc(char axis); +""" + +defs_kin_corexy = """ + struct stepper_kinematics *corexy_stepper_alloc(char type); """ defs_kin_delta = """ @@ -103,8 +108,8 @@ defs_std = """ """ defs_all = [ - defs_stepcompress, defs_itersolve, defs_kin_cartesian, defs_kin_delta, - defs_serialqueue, defs_pyhelper, defs_std + defs_pyhelper, defs_serialqueue, defs_std, defs_stepcompress, defs_itersolve, + defs_kin_cartesian, defs_kin_corexy, defs_kin_delta ] # Return the list of file modification times |