Error in tool_offsetview.py

More
3 years 4 weeks ago #282020 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
If I comment out self.factor, qtdragon will start normally, but then of course the "rapid iverride" value is displayed incorrectly.

Another change I noticed is that after starting qtdragon, all speed setting sliders are set to zero.
Attachments:

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

More
3 years 4 weeks ago #282036 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
I promise, the self.factor is not the real problem.

Looks like emc motion module failed to load.
Master had some work pushed lately that creates race conditions.
I bet this is related.
I believe Rene has got a tested fix.

github.com/LinuxCNC/linuxcnc/commit/7ebe...mitcomment-128862189
The following user(s) said Thank You: tommylight

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

More
3 years 2 weeks ago #283085 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
Someone asked for it from the forum, so I corrected the qtdragon_hd themes because the 4th and 5th axis looked bad. I also enlarged the macro buttons vertically and made minor corrections to the status bar at the bottom of the window.


As for the error I wrote about in the previous post, I agree that it is not qtdragon's problem, when I press "retry", qtdragon starts, apparently it lacks access to some pins and needs a little delay. In qtdragon_hd this error does not occur because the service file has the declared value "self.factor = 1.0" at the beginning, but after running all 4 sliders are set to zero, in qtdragon only 2 sliders are set to zero, as in the screenshot .
The following user(s) said Thank You: tommylight

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

More
3 years 2 weeks ago #283151 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
done
In metal, I adjusted the groupbox title to mimic colored_metal.
I fixed the jog button's property joint_number - it should be -1 for all buttons.
-1 means convert the axis letter to joint number

Chris

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

More
3 years 1 week ago #283455 by MarkoPolo
Replied by MarkoPolo on topic Error in tool_offsetview.py
After the last changes, the error does not appear, but the speed sliders are set to zero.
The only solution I have found so far is to delay the launch of qtdragon. A delay of 1.5 seconds solves the problem.
The only downside is that qtdragon takes 1.5 seconds longer to start, but it's not a big problem.
I think it could be used as a temporary solution.  
Attachments:

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

More
3 years 1 week ago #283517 by cmorley
Replied by cmorley on topic Error in tool_offsetview.py
Are you using master? There is an ongoing problem with a race condition.
github.com/LinuxCNC/linuxcnc/issues/2700

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

Moderators: cmorley
Time to create page: 0.915 seconds
Powered by Kunena Forum