799548c013
replaced use of magical numbers for axis reference with constants
Simen Svale Skogsrud
2011-02-06 23:27:04 +01:00
c42741032f
Refactored line buffering to eliminate state from motion control and centralize tracking of position. UNTESTED: NEEDS TESTING
Simen Svale Skogsrud
2011-02-06 23:23:34 +01:00
cdcc7bf86e
cleaned up methods for enabling/disabling acceleration manger
Simen Svale Skogsrud
2011-02-06 22:25:01 +01:00
7092b0e1fe
renamed public methods of settings module to include module name
Simen Svale Skogsrud
2011-02-05 01:00:41 +01:00
6d3ff506e8
refactored compile time settings back into a new file called config.h
Simen Svale Skogsrud
2011-02-05 00:55:37 +01:00
682e23eb7b
added error messages and dropped echoing of command input
Simen Svale Skogsrud
2011-02-05 00:39:34 +01:00
9f5365aac9
fixed a bug where F-commands never would modify feed-rate of G0-operations
Simen Svale Skogsrud
2011-02-04 23:48:10 +01:00
f38c5016ed
small fry
Simen Svale Skogsrud
2011-02-04 22:09:27 +01:00
59a9b64087
removed a grave little bug in the planner and added a baseline safe speed so that motion sequences do not attempt to go to speed 0, but to a safe, higher speed based on the max_jerk setting
Simen Svale Skogsrud
2011-02-04 22:09:09 +01:00
0bd0ba6e6e
eliminated an old header file
Simen Svale Skogsrud
2011-02-04 21:10:17 +01:00
b44577f69f
small error in trapezoid-calculation
Simen Svale Skogsrud
2011-02-03 13:20:31 +01:00
f4b9da1ecb
acceleration management is disabled during arc-motions until the two can be made to play nice together
Simen Svale Skogsrud
2011-02-03 13:12:47 +01:00
e68e9cdf7c
ousted numerous small bugs in acceleration-planner
Simen Svale Skogsrud
2011-02-03 12:54:32 +01:00
4b63cf3ab5
small fixes after testing on real hardware. Still no chaining of motions and something odd with arcs
Simen Svale Skogsrud
2011-02-03 10:42:00 +01:00
420641d13d
added the new, more optimal pin configuration
Simen Svale Skogsrud
2011-02-03 09:57:10 +01:00
a24fe19720
updated settings version number. Old settings must be reset now that we have changed the format of the settings
Simen Svale Skogsrud
2011-01-24 23:32:33 +01:00
4869e7b1cc
reallocated debug pin to time replanning
Simen Svale Skogsrud
2011-01-24 23:18:07 +01:00
c481c29dc5
added useful comments about the algorithms used in the acceleration planner
Simen Svale Skogsrud
2011-01-24 23:08:44 +01:00
32c038ddd3
acceleration management implementation complete, now ready for testing on actual real machine
Simen Svale Skogsrud
2011-01-24 21:30:51 +01:00
0bc0fd7757
look ahead planner complete and enabled save the acceleration limiting forward scan. Not tested on real hardware, just logic analyzer
Simen Svale Skogsrud
2011-01-24 20:55:25 +01:00
8325bfb96e
the trapezoid generator seems to be working
Simen Svale Skogsrud
2011-01-23 21:14:38 +01:00
4103e6ca00
still not running, but a lot further along
Simen Svale Skogsrud
2011-01-22 23:29:02 +01:00
b33cf8b746
added note about fuses in Makefile
Simen Svale Skogsrud
2011-01-17 21:21:08 +01:00
5880e55ce9
pcomplete, fully untested, support for accelleration management with look ahead optimization, finally
Simen Svale Skogsrud
2011-01-15 00:27:08 +01:00
d89b86d3bf
determined the SRAM requirements as part of the build process (requires ruby)
Simen Svale Skogsrud
2011-01-14 19:17:06 +01:00
7327b82585
interface to enable or disable acceleration management
Simen Svale Skogsrud
2011-01-14 17:13:33 +01:00
0be21a9034
eliminated an annoying constant that broke my cleanly layered abstractions
Simen Svale Skogsrud
2011-01-14 16:56:44 +01:00
49a16cb777
refactored block buffer into separate module motion_plan pending the addition of the actual look ahead planner
Simen Svale Skogsrud
2011-01-14 16:45:18 +01:00
b628a4aabf
added basic accelleration management with trapezoid accelleration profiles but no look ahead optimization (coming next patch)
Simen Svale Skogsrud
2011-01-14 12:10:18 +01:00
e0f3dcbe43
stepper.c now has 90% of acelleration support built in except for the planner, still som known conflicts to mark rough spots that need attention later
Simen Svale Skogsrud
2011-01-03 00:36:33 +01:00
48b596c2fe
added code with merge conflict as note to self, accelleration will just have to wait
Simen Svale Skogsrud
2010-12-20 14:01:38 +01:00
5613aa706f
the stream script will no longer reset the arduino before it completes the last couple of operation in a g-code-file
Simen Svale Skogsrud
2010-06-18 21:47:45 +02:00
9a41b3a4fb
deleted more code following line-buffer refactoring
Simen Svale Skogsrud
2010-03-03 13:12:16 +01:00
7e152851cc
general clean up after refactoring
Simen Svale Skogsrud
2010-03-03 13:04:51 +01:00
49ca861dc0
added segmented arc support with configurable segmentation
Simen Svale Skogsrud
2010-03-03 01:39:44 +01:00
df243d2490
successfully maintained 30khz, lots of optimization of code and buffering allocation
Simen Svale Skogsrud
2010-03-03 00:26:48 +01:00
2be1f473cd
first stab at replacing step-buffering with line-buffering
Simen Svale Skogsrud
2010-03-02 21:46:51 +01:00
36fd3a9bfb
improved the serial protocol, added some debug pins for a while
Simen Svale Skogsrud
2010-03-02 08:19:21 +01:00
551b4ed274
fixed a problem with the direction-pins
Simen Svale Skogsrud
2010-02-27 21:01:35 +01:00
a42c03601d
Fixed a number of bugs caused by using abs() on floats and long ints. Added support for selectively inverting bits of the stepping port. Debugged, optimized and cleaned up timing code for the step-pulses.
Simen Svale Skogsrud
2010-02-27 19:55:09 +01:00
6ac3b3f2e6
added some gcode to test with
Simen Svale Skogsrud
2010-01-07 23:14:29 +01:00
65b696f2f9
added a simple ruby-script to stream gcode and made serial protocol more reprap-like
Simen Svale Skogsrud
2010-01-06 23:49:33 +01:00