- Posts: 9
- Thank you received: 0
simulation mode
The Z axis is reversed, that's why I invert the PIN 6 (Z-Direction)
Please Log in to join the conversation.
- ajsinfotech
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 0
I'm installing linuxcnc from source (2.9 version) on a RPi4.
Software building runs fine, no error at all but I cannot start in simulation mode to make my first tests.
I mean, I run the following on the command line:
Then I select any default configuration among qtdragon, qmoccapy, even axis and always get the same in my linuxcnc_debug.txt:
Can not find -sec TRAJ -var TPMOD -num 1
Can not find -sec EMCMOT -var HOMEMOD -num 1
Here is my log:
Here is my linuxcnc_debug.txt:
And my linuxcnc_debug.txt:
I can't figure out what is happening. Whatever example configuration I try, I always get the same error basically. I am absolutely lost.
Any addressing will be appreciated!
Thanks in advance.
PS: I realize LINUXCNC_DIR, TPMOD and HOMEMOD are in blanks but, I don't know if it is ok for a default simulation configuration nor where to set up to try.
Please Log in to join the conversation.
I wonder if this is Pi-specific? Otherwise I would have expected to hear more about it.
When did you last do a git pull? Possibly this was spotted and fixed.
Please Log in to join the conversation.
- ajsinfotech
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 0
Sorry to hear this. I installed version 2.9 on a RPi3 about a year ago and works fine, although a little slow. I was hopping on a RPi4 runs a little faster.This seems to be related to recent changes made to allow pluggable trajectory planners and homing modules.
I pulled the source about 2 weeks ago.When did you last do a git pull? Possibly this was spotted and fixed.
Please Log in to join the conversation.
Please Log in to join the conversation.
- ajsinfotech
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 0
Thanks andypugh!
Please Log in to join the conversation.
> Can not find -sec EMCMOT -var HOMEMOD -num 1
The above (irrelevant) messages have been silenced:
Ref: github.com/LinuxCNC/linuxcnc/commit/e54a8abb3e
The likely first fatal error reported is:
> from Xlib.protocol import event
> ModuleNotFoundError: No module named 'Xlib'
The required package (master branch) is python3-xlib:
Ref: github.com/LinuxCNC/linuxcnc/blob/master...n/control.top.in#L36
Install using:
$ sudo apt-get install python3-xlib
Example test to verify presence:
$ dpkg -l python3-xlib|grep ii
ii python3-xlib 0.29-1 all interface for Python 3 to the X11 protocol
$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import Xlib
>>> help('Xlib.protocol')
...
Please Log in to join the conversation.
Sorry Dewey, I was trying to clear a forum backlog and clearly didn't read the output carefully enough.> Can not find -sec TRAJ -var TPMOD -num 1
> Can not find -sec EMCMOT -var HOMEMOD -num 1
The above (irrelevant) messages have been silenced:
Please Log in to join the conversation.
- ajsinfotech
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 0
Yes dear, you are right but I underestimate this error because AFAIR it did not appear when I was testing for Axis (and Gmoccapy I think). So, I understand that the only common errors among all the GUIs I tested (QtDragon, Gmoccapy and Axis) were:> from Xlib.protocol import event
> ModuleNotFoundError: No module named 'Xlib'
> Can not find -sec TRAJ -var TPMOD -num 1
> Can not find -sec EMCMOT -var HOMEMOD -num 1
On the other hand, I trust in you:
But all this comments AFAIU, don't match to me. In Axis the python3-xlib problem did not appear, but all the above did.> Can not find -sec TRAJ -var TPMOD -num 1
> Can not find -sec EMCMOT -var HOMEMOD -num 1
The above (irrelevant) messages have been silenced:
Ref: github.com/LinuxCNC/linuxcnc/commit/e54a8abb3e
So now, I'm getting so lost!
Anyway, I'll do all you suggest:
1 - I'll do a brand new pull from git
2 - I'll install the python3-xlib
Many thanks dgarrett!
Please Log in to join the conversation.
- ajsinfotech
- Offline
- Senior Member
-
- Posts: 76
- Thank you received: 0
I did all what you suggest but none of it worked, sorry.
I send you my recent testing logs about qtdragon_auto_tool_probe simulation mode.
I ran dmesg --clear too before run linuxcnc, so dmseg output keeps clean before and after.
I'm absolutely stuck, so any tip are welcome!
Thanks in advance!
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
