Installing linuxcnc python library for an X-Box interface on a Raspberry Pi4

More
02 May 2022 06:05 #241832 by SimonCNC123
I am running LinuxCNC on a Raspberry Pi4 with all the install recommendations from this fantastic forum. My system is running perfectly and I now want to write a python interface to allow us to use an X-Box controller as a pendant to control Linuxcnc. I have no problems writing the python code and getting all the X-box inputs using 'evdev', but I can't seem to get the 'linuxcnc' library installed on the pi so that I can access it in python3. From what I have read, I need to install linuxcnc-dev, but I'm not having any luck doing that! Can anybody please point me in the right direction?.
 

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

More
02 May 2022 06:30 - 02 May 2022 06:30 #241834 by elovalvo
In the past there have been many examples of using a joypad with LinuxCNC, in particular using the hal_input function (linuxcnc.org/docs/html/man/man1/hal_input.1.html).

In the meantime, you can start from here: wiki.linuxcnc.org/cgi-bin/wiki.pl?A_New_...oypads_With_LinuxCNC,
Last edit: 02 May 2022 06:30 by elovalvo.
The following user(s) said Thank You: SimonCNC123

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

Time to create page: 0.051 seconds
Powered by Kunena Forum