Tklinuxcnc switches to joint mode

More
19 Nov 2022 02:59 #257089 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

Please Log in or Create an account to join the conversation.

More
19 Nov 2022 17:06 #257116 by dgarrett
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:

=======================================================
$ 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.

More
20 Nov 2022 00:17 #257132 by An
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.067 seconds
Powered by Kunena Forum