Commit graph

158 commits

Author SHA1 Message Date
Emanuele Caruso
8a2c2233cb Fixed bad default configuration value that forced relative E. Changed back to default 2011-05-22 20:38:10 +02:00
Emanuele Caruso
2433b0459a Fixed bug that caused deltas in Bresenham to be cut and axis intervals to be negative in such case 2011-05-22 20:19:56 +02:00
Emanuele Caruso
1bbdc19706 Time for move is now correctly calculated in the XYZ space. Fixed a safety bug that caused heating management not to be performed in case DISABLE_CHECK_DURING_MOVE was enabled. Fixed a bug in the moving axis start speed checking. 2011-05-22 19:52:00 +02:00
Emanuele Caruso
a89f443eb2 Added options that allow to disable heating management during acceleration or during the whole move 2011-05-21 01:51:29 +02:00
Emanuele Caruso
181df1fe73 All axes are now controlled in Bresenham. Now, also E has its own max acceleration and start speed. Also added some function useful for debugging. 2011-05-20 20:38:50 +02:00
Emanuele Caruso
0cf824857b Z now has its own max acceleration, and it is now fully integrated into Bresenham 2011-05-19 21:52:30 +02:00
Emanuele Caruso
05274fd218 The start speed of the leading (X or Y) axis is now scaled to the speed of the limiting (X, Y, Z or E) axis in that move based on his start speed 2011-05-19 19:55:27 +02:00
Emanuele Caruso
a1e6fe3875 Some refactoring in preparation of axis with less start speed constraint check. See next commit for more info. 2011-05-19 15:57:29 +02:00
Emanuele Caruso
7b90a1f0f8 X and Y axis now have their constant acceleration, and that is taken into account when calculating the leading axis acceleration for the move 2011-05-19 08:19:21 +02:00
Emanuele Caruso
2e6cc78372 Refactored exp variables to arrays and changed exp acceleration math to be axis generic 2011-05-19 05:36:09 +02:00
Emanuele Caruso
1b1e060bff Refactored ramp and exp acceleration variables to arrays and changed ramp acceleration math code to be axis generic 2011-05-19 04:58:33 +02:00
Emanuele Caruso
6d2fdf16b6 N Bresenham is ready for constant speed, though we still enforce only X and Y use it 2011-05-19 03:50:59 +02:00
Emanuele Caruso
8b7c5a64c8 Refactored errors and deltas variable into array, needed for N bresenham implementation 2011-05-19 03:20:47 +02:00
Emanuele Caruso
222f2e8082 Refactored linear_move() to take an array instead of single axis steps_to_take. This is needed to later integrate N bresenham in 2011-05-19 02:56:38 +02:00
Emanuele Caruso
8060d4da56 Added possibility to print move time to serial, to help debugging 2011-05-19 02:33:48 +02:00
Emanuele Caruso
ae56481873 Fixed type of axis_previous_micros array to unsigned long 2011-05-17 21:39:45 +02:00
Emanuele Caruso
0773ea752d Refactored do_xxx_step() functions in 1 do_step() function. This is the first of a series of commits to refactor Sprinter to use bresenham on all axis. Much of the inspiration comes from ScribbleJ fork. 2011-05-17 20:30:27 +02:00
kliment
01d5fbf28b Safety check for homing direction 2011-05-16 00:02:54 +02:00
kliment
9d3969b5cb Merge pull request #24 from jmgiacalone/master
Heat interval check inside manage_heater()
2011-05-15 13:15:58 -07:00
kliment
a0272ab762 Merge pull request #25 from ScribbleJ/3dba0cd086d96358e6bc3570e364324406769304
Endstop patch
2011-05-15 13:15:41 -07:00
jmgiacalone
2ec7c37669 Heat interval checked inside manage_heater 2011-05-15 20:21:02 +01:00
jmgiacalone
4d73db3b64 Heat interval check coded only once inside manage_heater() 2011-05-15 20:05:11 +01:00
kliment
db793cda52 Remove M86, make kill() shut down motors and heaters, but not stop responding to commands 2011-05-15 14:19:58 +02:00
kliment
484b3b087e Make temperature check interval constant regardless of whether a move is happening or not - this improved PID performance
Make temp check interval configurable.
Make temp tables static to save RAM.
2011-05-15 14:08:04 +02:00
Christopher Jansen
3dba0cd086 Added support for endstops at either max or min - no longer supports min only. 2011-05-14 19:47:12 -05:00
kliment
86f43686c8 Make either x steps or y steps remaining shortcut the loop 2011-05-14 23:58:49 +02:00
kliment
053512ab6a Inverse the logic in the conditional that determines whether to continue 2011-05-14 23:54:18 +02:00
kliment
c0935ea3c7 Fix terrible lockup bug with RAMP acceleration
Reduce ram usage with smaller buffer line size
2011-05-14 23:42:57 +02:00
kliment
74d1769dca Merge pull request #20 from MrAlvin/patch-1
Added a few spaces here and there to improve readability.
2011-05-14 08:04:52 -07:00
MrAlvin
1974f2116e Added a few spaces here and there. 2011-05-14 07:57:01 -07:00
kliment
41a2fa5c62 Merge pull request #19 from MrAlvin/patch-1
Add config for mega 1280 to the makefile
2011-05-13 13:30:48 -07:00
MrAlvin
e6c6276b9d Edited Tonokip_Firmware/Makefile via GitHub 2011-05-13 13:28:19 -07:00
kliment
649a98f80f Merge pull request #18 from k-eex/fix
Fix typo in setting y-acceleration in M201/M202
2011-05-13 12:55:13 -07:00
Keegi
9f4dd2e3c9 Fix typo in M201/M202 y-acceleration setting 2011-05-13 19:44:15 +03:00
kliment
1963409aba Merge pull request #17 from WebSpider/master
Add a maximum temperature limit after which the heater shuts down.
2011-05-12 23:18:12 -07:00
Nils
889d6a7c5b Removing MCode for overheat protection 2011-05-12 23:24:59 +02:00
Nils
5ba9e2683c Merge branch 'master' of github.com:kliment/Sprinter 2011-05-12 14:26:59 +02:00
Nils
38660dbd39 Adding experimental support for max temperature gueard (M143) 2011-05-12 14:26:31 +02:00
kliment
37d8a4bd55 Merge branch 'master' of github.com:kliment/Sprinter 2011-05-12 12:56:54 +02:00
kliment
f7f6137c00 Merge pull request #15 from sam-ward/master
Added G28 homing code
2011-05-12 03:56:34 -07:00
kliment
178c78f842 Make heater check more frequent during moves, intialize SD faster to avoid confusing repsnapper. 2011-05-12 09:35:29 +02:00
Sam Ward
17ac612301 Added G28 command description to top of file. 2011-05-12 14:36:19 +08:00
Sam Ward
3b3af86ec6 Fixed prepare_move function prototype and inlining 2011-05-12 13:07:52 +08:00
kliment
b83767ec55 Merge branch 'master' of github.com:kliment/Sprinter 2011-05-11 23:52:37 +02:00
kliment
10a7da920d Remove extraneous newline 2011-05-11 20:38:28 +02:00
Sam Ward
838eb69410 Added some more intelligent homing logic 2011-05-11 21:20:54 +08:00
Sam Ward
0d4dadba39 Added G28 homing code.
Re factored main movement routines
2011-05-11 21:08:09 +08:00
kliment
9c93fe2a87 Merge pull request #14 from sam-ward/master
Cleaned up some code formatting
2011-05-11 05:30:10 -07:00
Sam Ward
3b2511949c Merge branch 'master' of https://github.com/kliment/Sprinter 2011-05-11 20:29:24 +08:00
kliment
4663709f47 Merge pull request #12 from cakeller98/RAMPS_Versions
Added a RAMPS version #define in pins.h
2011-05-11 05:25:37 -07:00