Forum Header

simulation mode

More
4 years 7 months ago #238804 by andypugh
Replied by andypugh on topic simulation mode
This seems to be related to recent changes made to allow pluggable trajectory planners and homing modules.

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 or Create an account to join the conversation.

More
4 years 7 months ago #238854 by ajsinfotech
Replied by ajsinfotech on topic simulation mode
Hi andypugh, thanks for reply!

This seems to be related to recent changes made to allow pluggable trajectory planners and homing modules.

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.

When did you last do a git pull? Possibly this was spotted and fixed.

I pulled the source about 2 weeks ago.

 

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

More
4 years 7 months ago #238857 by andypugh
Replied by andypugh on topic simulation mode
There have been hundreds of changes in the last 2 weeks. Definitely worth a pull and re-build.

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

More
4 years 7 months ago #238858 by ajsinfotech
Replied by ajsinfotech on topic simulation mode
I'll do that.

Thanks andypugh!

 

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

More
4 years 7 months ago #238866 by dgarrett
Replied by dgarrett on topic simulation mode
> 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

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 or Create an account to join the conversation.

More
4 years 7 months ago #238880 by andypugh
Replied by andypugh on topic simulation mode

> 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:
Sorry Dewey, I was trying to clear a forum backlog and clearly didn't read the output carefully enough. 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.356 seconds
Powered by Kunena Forum