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:
376f784
)
Robot: use Actuator::change_last_milestone() method instead of writing directly
author
Michael Moon
<triffid.hunter@gmail.com>
Wed, 19 Feb 2014 21:55:21 +0000
(08:55 +1100)
committer
Michael Moon
<triffid.hunter@gmail.com>
Wed, 19 Feb 2014 21:55:21 +0000
(08:55 +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
5a7d9e4
..
8bd4ff6
100644
(file)
--- a/
src/modules/robot/Robot.cpp
+++ b/
src/modules/robot/Robot.cpp
@@
-536,7
+536,7
@@
void Robot::append_milestone( float target[], float rate_mm_s )
// Update the last_milestone to the current target for the next time we use last_milestone
for (int i = 0; i < 3; i++)
- axes[i].
last_milestone = target[i]
;
+ axes[i].
change_last_milestone(target[i])
;
}