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:
8fe3835
)
fix ? to use inverse transform
author
Jim Morris
<morris@wolfman.com>
Wed, 14 Sep 2016 23:15:58 +0000
(16:15 -0700)
committer
Jim Morris
<morris@wolfman.com>
Wed, 14 Sep 2016 23:15:58 +0000
(16:15 -0700)
src/libs/Kernel.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/Kernel.cpp
b/src/libs/Kernel.cpp
index
058fc69
..
20fef96
100644
(file)
--- a/
src/libs/Kernel.cpp
+++ b/
src/libs/Kernel.cpp
@@
-193,6
+193,8
@@
std::string Kernel::get_query_string()
// get machine position from the actuator position using FK
float mpos[3];
robot->arm_solution->actuator_to_cartesian(current_position, mpos);
+ // current_position/mpos includes the compensation transform so we need to get the inverse to get actual position
+ if(robot->compensationTransform) robot->compensationTransform(mpos, true); // get inverse compensation transform
char buf[128];
// machine position