qtdragon pins?

More
31 Dec 2023 09:00 - 31 Dec 2023 09:01 #289418 by cmorley
Replied by cmorley on topic qtdragon pins?
Luckily the same file will work with qtdragon_hd.
I want you to use the file I supplied two messages up (qtdragon_handler_2023-12-30.py).
rename it qtdragon_hd_handler.py
add it to YOUR_CONFIG_FOLDER_PATH/qtvcp/screens/qtdragon_hd/
then running qtdragon_hd should show extra qtdragon pins.
I can add other pins later for now I want to know if this works well enough for you.

yes I have a update for camview to help with aspect fixes being tested in another thread.
Last edit: 31 Dec 2023 09:01 by cmorley.

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

More
31 Dec 2023 12:24 #289428 by PoolCNC
Replied by PoolCNC on topic qtdragon pins?
Yes, great!! Thank you so much.
It works for qtdragon and qtdragon_hd

1) Would it be possible to apply the analog value to the range of the slider?
Now the slider goes [0..100%] for analog [0..1.0] even if the slider goes to 150%
The slider can be set in INI to be [0..150%] so, in that case it should be: slider [0..150%] for analog input [0..1.0].

2) Is it possible creating HAL pins for
- FAST / SLOW for Jog Linear
- FAST / SLOW for Jog Angular?
(It was: gmoccapy.jog.turtle-jog)

3) Would it be possible to create the HAL pins also for Jog-Angular?
- qtdragon.jog.jog-angular.analog-enable
- qtdragon.jog.jog-angular.direct-value
- qtdragon.jog.jog-angular.slow

4) In that case it would perhaps be more logical to rename jog-velocity into
- qtdragon.jog.jog-linear.analog-enable
- qtdragon.jog.jog-linear.direct-value
- qtdragon.jog.jog-linear.slow

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

More
31 Dec 2023 21:26 #289451 by cmorley
Replied by cmorley on topic qtdragon pins?
Here is an updated one file:
Attachments:

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

More
01 Jan 2024 22:40 #289516 by PoolCNC
Replied by PoolCNC on topic qtdragon pins?
Hi Chris,
For starters: the best wishes for you and your family for the upcoming year. May all your wishes be fulfilled.

Thank you for the file. There were some typo's. I'll sent you the updated file later.
Going to bed now. Working tomorrow..

1)Could you in the mean time show me, as an example, how I can connect the X+ X-
jog buttons to a HAL pin in your file? I will then try to complete your file for my 5 axis and post it.
What are the names for the 5 axis? X, Y, Z, 4, 5? (I have X, Y, Z, A, C on my machine)

2) Also a strange thing: It depends if the turtle input is low or high on start-up for the multiplication / devision by 10 for SLOW/FAST. Instead of 10 times smaller, you get 10 times bigger..

3) Isn't it possible to define min and max values for all sliders in the .ini?


Kind regards, Luc
The following user(s) said Thank You: tommylight

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

More
02 Jan 2024 06:40 #289532 by cmorley
Replied by cmorley on topic qtdragon pins?
I only added a couple axes jogging pins for testing.
Please test the jogging pins carefully - estop by the ready- if you system is heavily loaded there may be delays.

Only some of the slider limits can be set in the INI:
linuxcnc.org/docs/stable/html/gui/qtdrag...l#_override_controls
linuxcnc.org/docs/stable/html/gui/qtdragon.html#_jog_speed

Chris
Attachments:

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

More
02 Jan 2024 21:03 #289604 by PoolCNC
Replied by PoolCNC on topic qtdragon pins?
I extended the other jogging pins and this works very well.
Also worked on the sliders
I cleaned up al my mess in the file and here it is.
Can you take a look if it is ok?
There is one thing thou. It doesn't create the hall pins anymore in QtDragon.
It works fine in QtDragon_hd. What did I do wrong?
Attachments:

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

More
03 Jan 2024 05:22 #289637 by cmorley
Replied by cmorley on topic qtdragon pins?
The slider widgets are named differently in dragon and hd.

in dragon:
self.w.slider_jog_angular
self.w.slider_jog_linear

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

More
03 Jan 2024 15:17 #289666 by PoolCNC
Replied by PoolCNC on topic qtdragon pins?
I'm sorry. I don't get it.
You gave me the names in QtDragon_hd, no?
self.w.slider_jog_angular
self.w.slider_jog_linear
What are the names in QtDragon?
Could you say where I have to change what in the file I sent you?

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

More
03 Jan 2024 16:30 #289673 by cmorley
Replied by cmorley on topic qtdragon pins?
The sames above are for qtdragon. In HD version they are slightly different - one letter maybe? I am not ar home to check.

ChMge any reference of old name to the new name.

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

More
03 Jan 2024 16:52 #289674 by PoolCNC
Replied by PoolCNC on topic qtdragon pins?
I'll wait until you are back home.
I don't see a difference.
Please, take a look at the file I sent you
Maybe the problem is elsewhere?

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

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