HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd16a43
)
Robot: forgot to check Z axis during segmentation. Reported by merkurk2k, found by...
author
Michael Moon
<triffid.hunter@gmail.com>
Fri, 7 Feb 2014 22:26:45 +0000
(09:26 +1100)
committer
Michael Moon
<triffid.hunter@gmail.com>
Fri, 7 Feb 2014 22:27:10 +0000
(09:27 +1100)
src/modules/robot/Robot.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/robot/Robot.cpp
b/src/modules/robot/Robot.cpp
index
0279007
..
74f0615
100644
(file)
--- a/
src/modules/robot/Robot.cpp
+++ b/
src/modules/robot/Robot.cpp
@@
-576,7
+576,7
@@
void Robot::append_line(Gcode* gcode, float target[], float rate_mm_s ){
float segment_end[3];
// How far do we move each segment?
- for (int i = X_AXIS; i < Z_AXIS; i++)
+ for (int i = X_AXIS; i <
=
Z_AXIS; i++)
segment_delta[i] = (target[i] - last_milestone[i]) / segments;
//For each segment