On 2015-01-03 08:53, Sebastian Kuzminsky wrote:
> On 01/01/2015 03:29 AM, Michael Büsch wrote:
>> Isn't there somebody with an idea?
>>
>> In the meantime the following workaround seems to help:
> Hi Michael, your workaround makes the error go away for me too (Debian
> Jessie, tcl 8.6.2+dfsg-1). I have no idea why.
>
>
It goes simpler and with less harm.
Putting a simple statement at the first line in the proc update_state.
At least it works for me.
And my conclusion is the same as yours.... I have no idea why. :)
##############################
proc update_state {args} {
set mytest "Hooray!"
....
# must have been somewhere before the following statement...
if {$::motion_mode == $::TRAJ_MODE_FREE && $::kinematics_type !=
$::KINEMATICS_IDENTITY} {
set ::position [concat [_ "Position:"] Joint]
} else {
set coord_str [lindex [list [_ Machine] [_ Relative]] $::coord_type]
set display_str [lindex [list [_ Actual] [_ Commanded]] $::display_type]
set ::position [concat [_ "Position:"] $coord_str $display_str]
}
....
}
##############################
I'm curious about the reason and the solution of this bug.
--
"In der Wissenschaft siegt nie eine neue Theorie,
nur ihre Gegner sterben nach und nach"
Max Planck
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers