QTDragon MDI jogging strange - diagonals
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
28 Feb 2023 08:12 #265535
by frayja2002
QTDragon MDI jogging strange - diagonals was created by frayja2002
Hi all
I having some strange behaviour from the QTDragon MDI.
If i start QTDragon, home all axis & then use this sequence of commands I get something strange.
G0 X10
G0 Z100
G0 Y10
G0 Y100
The first commands work normally but when I enter the G0 Y10 the X axis also moves (back to X10). Each time I type a command after that the axis move diagonally.
I have tried the Axis screen &Â Gmoccapy & they both seem to work as expected.
I am using the latest build bot on Buster 10 - LINUXCNC - 2.10.0-pre0-928-gf1ce19ba4
Is there something I am missing here?
All help appreciated.
Thanks
Alex
I having some strange behaviour from the QTDragon MDI.
If i start QTDragon, home all axis & then use this sequence of commands I get something strange.
G0 X10
G0 Z100
G0 Y10
G0 Y100
The first commands work normally but when I enter the G0 Y10 the X axis also moves (back to X10). Each time I type a command after that the axis move diagonally.
I have tried the Axis screen &Â Gmoccapy & they both seem to work as expected.
I am using the latest build bot on Buster 10 - LINUXCNC - 2.10.0-pre0-928-gf1ce19ba4
Is there something I am missing here?
All help appreciated.
Thanks
Alex
Please Log in or Create an account to join the conversation.
28 Feb 2023 13:50 #265562
by cmorley
Replied by cmorley on topic QTDragon MDI jogging strange - diagonals
Is this using the sim config or a real machine?
My test here on a sim works fine.
My test here on a sim works fine.
Please Log in or Create an account to join the conversation.
28 Feb 2023 16:27 #265577
by persei8
Replied by persei8 on topic QTDragon MDI jogging strange - diagonals
Well this is peculiar. I can confirm the same behaviour as the OP describes on both my development version (which is technically a simulation) and the linuxcnc sample config (sim.qtdragon_hd.qtdragon_hd_xyz). However, my real machine, which has the exact same software as my development machine, works perfectly. I also confirmed that mdi_line.py wasn't submitting incorrect data to the ACTION.CALL_MDI command. I'm assuming the reference to Z100 in the OP's post was a typo and should be X100. Either way, it happens with Z moves too.
Jim
Jim
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
28 Feb 2023 20:58 #265613
by frayja2002
Replied by frayja2002 on topic QTDragon MDI jogging strange - diagonals
Yes What you'r saying is correct it should have been an X.
I have tried this on an actual running machine and (after) on the XYZ sim.
Alex
I have tried this on an actual running machine and (after) on the XYZ sim.
Alex
Please Log in or Create an account to join the conversation.
01 Mar 2023 02:30 #265629
by cmorley
Replied by cmorley on topic QTDragon MDI jogging strange - diagonals
I see it now.
i also you can get all three axis to move with:
g0 x something
g0 y something
g0 z something
then g0 any of them all three will move.
but if I jog X axis with the on screen buttons, then I can G0 X anywhere and only X will move.
But if I mdi another axis it will move both again.
i also you can get all three axis to move with:
g0 x something
g0 y something
g0 z something
then g0 any of them all three will move.
but if I jog X axis with the on screen buttons, then I can G0 X anywhere and only X will move.
But if I mdi another axis it will move both again.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
01 Mar 2023 03:16 #265630
by JohnnyCNC
Replied by JohnnyCNC on topic QTDragon MDI jogging strange - diagonals
I'll give this a try on my machine tomorrow.
Please Log in or Create an account to join the conversation.
01 Mar 2023 03:45 #265632
by cmorley
Replied by cmorley on topic QTDragon MDI jogging strange - diagonals
I have found the problem line of code.. working on the best solution.
Please Log in or Create an account to join the conversation.
01 Mar 2023 04:04 #265633
by cmorley
Replied by cmorley on topic QTDragon MDI jogging strange - diagonals
In case your interested:
In mdi_line.py the display is reloaded when MDI commands are run.
During reloading the display, the task_plan_synch() is called, seemingly out of order.
Probably gets called before the MDI finishes, so old positions are used to update.
In mdi_line.py the display is reloaded when MDI commands are run.
During reloading the display, the task_plan_synch() is called, seemingly out of order.
Probably gets called before the MDI finishes, so old positions are used to update.
The following user(s) said Thank You: eduard
Please Log in or Create an account to join the conversation.
01 Mar 2023 05:24 #265634
by cmorley
Replied by cmorley on topic QTDragon MDI jogging strange - diagonals
Ok I pushed a hopeful fix to 2.9 and master.
Please let me know if it fixes things for you.
Please let me know if it fixes things for you.
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
Less
More
- Posts: 151
- Thank you received: 11
01 Mar 2023 08:05 #265637
by frayja2002
Replied by frayja2002 on topic QTDragon MDI jogging strange - diagonals
Hi there
As said in the initial post I'm using buildbot (2.10)
Should I be seeing an update. When I try to do an update it tells me all packages are up to date.
Will this normally come through prity quickly.
Thanks
Alex
As said in the initial post I'm using buildbot (2.10)
Should I be seeing an update. When I try to do an update it tells me all packages are up to date.
Will this normally come through prity quickly.
Thanks
Alex
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.084 seconds