Tklinuxcnc switches to joint mode
19 Nov 2022 02:59 #257089
by An
Tklinuxcnc switches to joint mode was created by An
Hi linuxcnc, I am slowly upgrading to 2.8 from 2.5 and also to a mesa 7i96s. Everything seems ok but I have one question - I have always used tklinuxcnc but with 2.8.4 whenever you switch to mdi or auto it defaults to joint mode and if you try to change to world it reverts back to manual. Previously (2.5) this didn’t happen. I have also tried a standard pnconfig (ie without my kins file) and it does the same.
As always if anyone has thoughts I very much appreciate them!
thanks
ant
As always if anyone has thoughts I very much appreciate them!
thanks
ant
Please Log in or Create an account to join the conversation.
19 Nov 2022 17:06 #257116
by dgarrett
Replied by dgarrett on topic Tklinuxcnc switches to joint mode
You may be the only person trying to use tklinuxcnc with
a 2.8 or higher version.
You can try commenting out one line in tklinuxcnc.tcl as
described (-,+) by the following diff:
=======================================================
a 2.8 or higher version.
You can try commenting out one line in tklinuxcnc.tcl as
described (-,+) by the following diff:
=======================================================
$ git diff -c
diff --git a/tcl/tklinuxcnc.tcl b/tcl/tklinuxcnc.tcl
index 8014d1e040..ecbc9df256 100755
--- a/tcl/tklinuxcnc.tcl
+++ b/tcl/tklinuxcnc.tcl
@@ -2203,7 +2203,7 @@ proc updateStatus {} {
if {$::jointworld == "joint" && $teleop_mode} {
set ::jointworld "world" ;# radiobutton var
} elseif {$::jointworld == "world" && !$teleop_mode} {
- set ::jointworld "joint"
+ # set ::jointworld "joint"
}
# format the numbers with 4 digits-dot-4 digits
=======================================================
There may be unwanted side-effects to this change.
If using a RIP build, edit the file at:
your_linuxcnc_dev_directory/tcl/tklinuxcnc.tcl
If using a deb install, you will need to use sudo to edit
the file located at:
/usr/lib/tcltk/linuxcnc/tklinuxcnc.tcl
Please Log in or Create an account to join the conversation.
20 Nov 2022 00:17 #257132
by An
Replied by An on topic Tklinuxcnc switches to joint mode
Thanks for the reply - I will try this but will probably just move to axis now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds