qtVCP not working for RPI 2.8 image

More
28 Oct 2020 17:50 #187593 by mgmatteo
My bad... Typo it's always a bad enemy....
Fixed that and now it loads the preferences file, but still no luck with the probe.

[PROBE] section is present, the problem is an attribute
I tested both with different results.
versaprobe --> AttributeError: 'VersaProbe' object has no attribute 'input_xy_clearance'
basicprobe --> AttributeError: 'BasicProbe' object has no attribute 'lineEdit_probe_diam'
I read the qtdragon manual but I did't find a hint for this.
In qtdragon.pref there is a section
[PROBE OPTIONS]
Probe tool = 90
Probe rapid = 100.0
Probe max xy = 10.0
Probe max z = 2.0
Probe extra depth = 0.0
Probe step off = 10.0
Probe feed = 50.0
Probe xy clearance = 10.0
Probe z clearance = 10.0
Probe edge width = 10.0
Should I put more info in a different place?

PS, when you say "Chris just pushed some updates to master" you mean 2.9?
I'm on 2.8 official image.
Unfortunately I don't even know what's OpenGL ES :-D my only help to the community is to help sorting out a procedure to have qtdragon for rpi4 working out of the box. I mean a fully featured config example..

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

More
28 Oct 2020 18:04 - 28 Oct 2020 18:06 #187598 by persei8
Yes, master is 2.9. The rpi4 business is not part of the official 2.8 release. There was a major update to the probe programs. To get things working for now, just leave that section out as it has no bearing on the overall function. The buildbot sometimes takes a couple days to update the latest developer pushes so it may be a couple days before I can sort everything out.

Jim
Last edit: 28 Oct 2020 18:06 by persei8.

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

More
28 Oct 2020 18:23 #187601 by mgmatteo
OK thank you, just a last question because I'm a little confused now.
2.8 is the current stable release, and the one used for the official pi image, and that's what I tested with qtdragon.
In the 2.9 master there are significant updates regarding the probe functionality.
To have the probe functionality working will I have to switch to 2.9 or you will work in the 2.8 as well?
Thanks again for all your help

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

More
04 Nov 2020 18:23 #188332 by persei8
It's been a week and buildbot is still not updated. The last one was Oct. 27.
I can't say if the RPi image is an official part of version 2.8. I only know that the standard implementation of OpenGL graphics doesn't work. If you use qtpyvcp, it should work because it uses the VTK graphics. What I posted to my github is an adaptation of VTK for use with qtvcp which is definitely not part of 2.8 or 2.9. Probably never will be part of anything to do with linuxcnc because it is currently a personal side project. However, you should be able to use the updated probe function in 2.8 but I won't know for sure until buildbot starts working again. My suggestion is that if you want to use an Rpi as your controller, install qtpyvcp and probe_basic. I hope this clears it up.
Jim
The following user(s) said Thank You: mgmatteo

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

More
22 Jun 2021 08:09 #212652 by fotros
hi,
$ python
>>> import PyQt5
>>> import qt
with no error
ii libvtk6.3 6.3.0+dfsg2-2+b6 armhf VTK libraries
ii libvtk6.3-qt 6.3.0+dfsg2-2+b6 armhf VTK libraries, Qt files
ii libvtk7.1 7.1.1+dfsg1-12+b2 armhf VTK libraries
ii python-vtk6 6.3.0+dfsg2-2+b6 armhf Python bindings for VTK
ii python3-vtk7 7.1.1+dfsg1-12+b2 armhf Python bindings for VTK
ii vtk 7.1.1-qt5py2-1 armhf vtk
but none of them are working I see the splash screen of LinuxCNC and then it simply doesn't start.

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

More
22 Jun 2021 11:55 #212670 by cmorley
qtvcp doesn't use VTK - maybe you mean qtpyvcp?

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

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