Go to file
Kevin O'Connor 7554c7f694 stepcompress: Do all step rounding in C code
Commits f0cefebf and 8f331f08 changed the way the code determined what
steps to take on fractional steps.  Unfortunately, it was possible in
some situations for the C code to round differently from the python
code which could result in warnings and lost steps.

Change the code so that all fractional step handling is done in the C
code.  Implementing the step rounding logic in one location avoids any
conflicts.

In order to efficiently handle the step rounding in the C code, the C
code has also been extended to directly send the "set_next_step_dir"
command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-11-13 18:29:45 -05:00
config stepper: Default to a high direction pin meaning positive direction 2016-11-08 10:39:32 -05:00
docs queuelogger: Add support for background log writing 2016-11-12 22:53:43 -05:00
klippy stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
lib lib: Add Atmel SAM3x8e ARM CMSIS files 2016-06-14 14:25:42 -04:00
scripts stepstats: Add debugging script to calculate stats on stepper movement 2016-10-31 11:15:38 -04:00
src stepper: Default to a high direction pin meaning positive direction 2016-11-08 10:39:32 -05:00
.gitignore Initial commit of source code. 2016-05-25 11:37:40 -04:00
COPYING Initial commit of source code. 2016-05-25 11:37:40 -04:00
Makefile build: Be sure to also include out/*.d files in Makefile 2016-10-21 12:00:03 -04:00
README.md Initial commit of source code. 2016-05-25 11:37:40 -04:00

README.md

Welcome to the Klipper project!

This project implements a 3d-printer firmware. There are two parts to this firmware - code that runs on a micro-controller and code that runs on a host machine. The host software does the work to build a schedule of events, while the micro-controller software does the work to execute the provided schedule at the specified times.

Please see the documentation for more information on running and working with Klipper.

License

Klipper is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Klipper is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Klipper. If not, see http://www.gnu.org/licenses/.