Markus Hitter
f6f2b7f44f
Enhance ACCELERATION_RAMPING on short moves.
...
Problem was: For short moves, you have to ramp down before
reaching target speed. The point of return was set to half
of the number of total steps.
Now, what happens is there's an uneven number of steps? In
integer math, 3 / 2 = 1, so the move would ramp one step up,
one step down and ... well, one step even further down, resulting
in a really sloooow step. Slow, like a full second or so.
Adding one to the first half, the movement ramps two steps up,
one down and would do another step at minimum speed, if it wasn't
already at target position. This is about as accurate as we
can get it without introducing more code at interrupt time.
2010-09-25 18:11:45 +02:00
Markus Hitter
903baad3d1
As we assume a G1 by default now, there's no longer a point in
...
writing "huh?". Included question marks for debugging instead.
2010-09-25 18:11:45 +02:00
Markus Hitter
f5258ef9fc
Assume a G1 by default. This is expected by some GCode generators.
2010-09-25 18:11:44 +02:00
Markus Hitter
64683e6b6a
Remove timer reset, as this doesn't play well. See
...
http://github.com/triffid/FiveD_on_Arduino/issues#issue/2/comment/428863 .
2010-09-25 12:08:23 +02:00
Markus Hitter
4679b45ac8
Send lowercase ok on init as well.
2010-09-24 20:09:19 +02:00
Markus Hitter
696baea16a
Implement better machine speed limits checking. Do it for
...
each axis individually, as the combined speed of two or more
axes can be higher than the limit of a single one.
While this is tested to work well for all three acceleration
types, I'm not enthusiastic about the code, as it adds almost
500 bytes. Perhaps an efficient-coding-geek can help :-)
2010-09-24 16:08:11 +02:00
Markus Hitter
d8e844bb67
Allow compilation without any acceleration again.
2010-09-23 13:34:02 +02:00
Michael Moon
c1dbd869f5
minor fixes: comments, indenting, etc
2010-09-18 08:08:31 +10:00
Michael Moon
f037bb5320
removed unused ABS_DELTA
2010-09-17 10:29:27 +10:00
Michael Moon
0f895b44b1
use sersendf_P for M114
2010-09-16 22:08:56 +10:00
Michael Moon
256ecdca39
compile-time format checking for sersendf_P
2010-09-16 22:08:24 +10:00
Michael Moon
82446ab787
remove %x/%c/%p since we're not using it yet
2010-09-16 22:08:00 +10:00
Michael Moon
54cb815b12
remove redundant code, fix queue logic in G28:home
2010-09-16 21:44:26 +10:00
Michael Moon
1a2753ebfb
turn off SPI if not needed, also start analog system
2010-09-16 21:43:13 +10:00
Michael Moon
92eb4c97ca
reset timer properly for more accurate timing
2010-09-16 21:42:24 +10:00
Michael Moon
d56ff39cb3
atomic 16-bit operation in analog.c
2010-09-16 21:42:00 +10:00
Michael Moon
3606952096
ignore temporal mapping script temporary files
2010-09-16 19:27:00 +10:00
Michael Moon
6ce5895819
Merge branch 'master' of github.com:triffid/FiveD_on_Arduino
2010-09-16 17:15:30 +10:00
Markus Hitter
bd1e357c35
dda.c: remove ABSDELTA() and delta32() implementations as they're unused.
2010-09-14 19:45:23 +02:00
Markus Hitter
ae774ed0ec
mendel.c: remove unused references to standard C lib.
2010-09-14 19:44:35 +02:00
Michael Moon
004bc1b789
code cleaning
...
(cherry picked from commit c3333278beaca0d81023b7ee752530466b37f316)
2010-09-13 20:40:23 +10:00
Michael Moon
99f2593321
UNTESTED support for sanguino
2010-09-13 17:40:21 +10:00
Michael Moon
b80c5ea7b5
UNTESTED support for thermistor and AD595
2010-09-13 17:14:12 +10:00
Michael Moon
fb82865dfc
Add eeprom to size display
2010-09-12 16:21:41 +10:00
Michael Moon
9e21f6c811
move temp_residency back to temp.h
2010-09-12 16:07:28 +10:00
Michael Moon
273d63f242
splitting heater stuff out into a separate file
2010-09-12 14:47:49 +10:00
Michael Moon
e5d393a592
more code cleanup
2010-09-12 14:24:19 +10:00
Michael Moon
c5b3408b52
check passed feedrates vs maximums in machine.h.
2010-09-12 13:57:58 +10:00
Michael Moon
eac7f2a5f7
added analog stuff to machine.h, rearranged a bit and expanded and tidied some of the explanations
2010-09-12 13:42:45 +10:00
Michael Moon
f2b6f536d7
more work on analog system, still untested
2010-09-12 13:31:41 +10:00
Michael Moon
48cf0e05d7
some code cleanup, added M114, wrapped M25[0..5] in ifdef DEBUG wrapper
2010-09-12 12:54:58 +10:00
Michael Moon
c46db07f26
separate ringbuffers no longer necessary as pointed out by jakepoz
2010-09-12 12:33:12 +10:00
Michael Moon
53a0978529
stty ixoff enables host-side support of XON/XOFF flow control, rather than ixon
2010-09-11 23:14:13 +10:00
Michael Moon
22dbf8658a
update shell scripts to handle lowercase OK
2010-09-11 22:44:19 +10:00
Michael Moon
632ddaa216
added some descriptions of available defines
2010-09-10 13:19:59 +10:00
Michael Moon
2be7485409
Merge branch 'master' of github.com:triffid/FiveD_on_Arduino
2010-09-10 11:33:05 +10:00
Michael Moon
16069d9ffb
added FIXME tag
2010-09-10 11:25:11 +10:00
Markus Hitter
2178ff4ac1
Implement acceleration ramping. Enjoy always smooth rides!
2010-09-10 02:09:04 +02:00
Markus Hitter
639f5237be
Make acceleration, RepRap-style, disable-able. This is also
...
in preparation for introducing acceleration ramping.
2010-09-08 22:35:27 +02:00
Markus Hitter
8b5e21be51
Make XON/XOFF flow control actually work. Still disabled by default.
2010-09-08 19:17:50 +02:00
Markus Hitter
b2e1cfd8b5
Make XON/XOFF flow control compile.
2010-09-08 19:16:18 +02:00
Markus Hitter
548b79f3d6
dda.c: replaced can_step() with a more simple solution. This
...
saves a whopping 270 bytes in interrupt context.
2010-09-08 19:14:04 +02:00
Markus Hitter
7f57634e8c
Allow comments in parentheses. Some GCode generators
...
and machine controller implementations prefer this.
2010-09-08 16:48:06 +02:00
Markus Hitter
446b2223cc
Makefile: add a variable for avrdude.conf, as the location
...
of this file depends on the environment.
2010-09-08 16:27:02 +02:00
Markus Hitter
54f9598ef1
Turn off the DEBUG flag by default for making the default
...
build fit onto a '168. There's a commented line for turning it on easily.
2010-09-08 16:20:58 +02:00
Markus Hitter
0572687cb2
dda_create(): clear _all_ flags before proceeding.
2010-09-08 15:57:32 +02:00
Michael Moon
9eb6c519ab
Merge branch 'master' of github.com:triffid/FiveD_on_Arduino
2010-09-06 08:09:53 +10:00
Michael Moon
3ec34e5761
Fixed makefile to use avr-objdump to calculate size
2010-09-06 08:05:03 +10:00
Markus Hitter
fdea890a37
Make stuff buildable with Arduino IDE again.
2010-09-05 02:02:06 +02:00
Michael Moon
6a58efbfa4
try out analog stuff, probably needs more work
2010-08-24 15:49:21 +10:00