Клиппер
Go to file
Kevin O'Connor 8d92c898ee stepcompress: Always return 0 on negative number in safe_sqrt()
sqrt() of a negative number in the C code returns NaN.  This value
results in behavior that is difficult to debug.  Always return 0.0
instead as this results in better behavior that is easier to track
down.  Also, on some code paths, safe_sqrt is called on numbers that
are multiplied by very large amounts (eg, 16000000**2) and thus
distinguishing between large and small negative numbers is difficult.
For now, report in the log if the value is below -0.001.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2017-03-22 10:54:53 -04:00
config heater: Add support for AD595 type sensors 2017-03-13 00:48:30 -04:00
docs mcu: Support config mechanism for translating seconds to clock ticks 2017-03-13 00:38:17 -04:00
klippy stepcompress: Always return 0 on negative number in safe_sqrt() 2017-03-22 10:54:53 -04:00
lib lib: Add Atmel SAM3x8e ARM CMSIS files 2016-06-14 14:25:42 -04:00
scripts toolhead: Rework lookahead flush to be more stable during high cpu 2017-02-12 17:20:40 -05:00
src generic: Move generic parts of sam3x8e timer.c to generic directory 2017-03-11 12:15:07 -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: Define DECL_CONSTANT mechanism for defining exported constants 2016-12-23 17:06:10 -05:00
README.md docs: Add a features document 2016-12-20 22:31:46 -05: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.

See the features document to find out why you should use Klipper. To begin using Klipper start by installing it.

There is also developer documentation available.

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/.