How to select qtdragon_hd?

More
10 Dec 2021 13:47 #228778 by ucancallmebob89
My bad, I assumed you were the dev on the qtdragon screenset cause I've seen your name all over the forums :)

Thanks for all this info, I'll dig into it today.

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

More
10 Dec 2021 13:57 #228780 by cmorley
Replied by cmorley on topic How to select qtdragon_hd?
I'm the facilitator of the linuxcnc version - so you asked the right person.
I just meant I did not design or routinely use qtdragon.

Forum personality persei8 (Jim) develops it - I incorporate it into linuxcnc
The following user(s) said Thank You: tommylight, RobC, ucancallmebob89

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

More
10 Dec 2021 16:43 #228786 by ucancallmebob89
Sorry if this is a dumb question, but how do I incorporate the changes you committed to github?

My LinuxCNC setup I got from linuxcnc.org/downloads/, I was originally running the LinuxCNC 2.8.2  Debian 10 Buster PREEMPT-RT ISO  but have since upgraded to LinuxCNC 2.9 via the synaptic package manager. I just checked and the linuxcnc directory that was installed with the .iso under my home directory is not a git repository.

I cloned the latest LinuxCNC github commit ( ec64ae5 ) to a new "linuxcnc2" directory under my home directory. Can I just replace the contents of my linuxcnc directory with the contents of linuxcnc2? Do I need to rebuild like in these docs ?

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

More
10 Dec 2021 19:48 #228799 by ucancallmebob89
Ok to at least partially answer my own question, looks like I need to build LinuxCNC from the git repository following the steps here: linuxcnc.org/docs/html/code/building-linuxcnc.html#Quick-Start

By building from the repo I'm creating a run-in-place build as opposed to what I was using before, which is the debian package mode.

I'm still working through this process, but it seems like I'm on the right track now.

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

More
11 Dec 2021 02:50 - 11 Dec 2021 02:55 #228838 by ucancallmebob89
Ok making progress on this, but I think I just found another bug in the touchoff script. The order of parameters passed to it from qtdragon_hd_handler is incorrect.

This is from qtdragon_hd_handler.py:

rtn = ACTION.TOUCHPLATE_TOUCHOFF(max_probe, search_vel, probe_vel, z_offset)


This is from touchoff_subprogram.py:

def process_command(self, cmd):
        cmd = cmd.rstrip().split('$')
        if not STATUS.is_on_and_idle(): return None
        if cmd[0] != "probe_down": return 0
        self.search_vel = float(cmd[1])
        self.probe_vel = float(cmd[2])
        self.max_travel = float(cmd[3])
        self.z_offset = float(cmd[4])
        error = self.probe_down()
        if error != 1 and STATUS.is_on_and_idle():
            ACTION.CALL_MDI("G90")
        return error

In my local copy I rearranged the order of parameters in the function call in qtdragon_hd_handler.py. Checking to see if that works now.
Last edit: 11 Dec 2021 02:55 by ucancallmebob89.

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

More
11 Dec 2021 03:35 #228840 by ucancallmebob89
Can confirm that rearranging the order of parameters fixed the probing behavior I was seeing.

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

More
11 Dec 2021 03:58 #228844 by ucancallmebob89
FYI, this reference was also helpful when building the run-in-place version of LinuxCNC: www.wiki.eusurplus.com/index.php/LinuxCNC_Run_In_Place

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

More
11 Dec 2021 04:49 #228846 by cmorley
Replied by cmorley on topic How to select qtdragon_hd?
ok I pushed those fixes, you can pull them into your repo anytime.
Thanks for the fix!
The following user(s) said Thank You: ucancallmebob89

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

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