Genius Gamepad not working after update Linux CNC 2.7 to 2.8

More
07 Aug 2020 13:54 - 07 Aug 2020 13:55 #177620 by Mara2000
Hi,

could you help me please? I try to set joypad under linux CNC 2.8 . What i know some links and pins in custom_postgui.hal have to be renamed.

Here is my posgui.hal :

# Include your custom_postgui HAL commands here


loadrt or2 count=2
loadrt mux4 count=1
addf or2.0 servo-thread
addf or2.1 servo-thread
addf mux4.0 servo-thread
# set the jog speed for the joypad again use numbers that make sense for your machine
setp mux4.0.in0 0 # this one must be 0 to prevent motion unless a button is pressed
setp mux4.0.in1 25
setp mux4.0.in2 100
setp mux4.0.in3 800
# the following does the magic of setting the jog speeds
net remote-speed-slow or2.0.in0 input.0.btn-top
net remote-speed-medium or2.1.in0 input.0.btn-base
net remote-speed-fast or2.0.in1 or2.1.in1 input.0.btn-base2
net joy-speed-1 mux4.0.sel0 <= or2.0.out
net joy-speed-2 mux4.0.sel1 <= or2.1.out
net joy-speed-final halui.joint.jog-speed <= mux4.0.out

net joy-x-jog halui.axis.x.analog <= input.0.abs-x-position
net joy-y-jog halui.axis.y.analog <= input.0.abs-y-position
net joy-z-jog halui.axis.z.analog <= input.0.abs-rz-position





# This file will not be overwritten when you run PNCconf again



Linux CNC with gmocappy now start without errors but if i i try machine movems with gamepad nothing happen. All signals and pins in hallmeter works OK.

Maybe if somebody have sucessfully configured and working joypad under linux CNC 2.8 then please for posgui , ini and hal files sharing.


Thank you and sorry for bad English ...

Marek.
Attachments:
Last edit: 07 Aug 2020 13:55 by Mara2000.

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

More
07 Aug 2020 17:07 #177631 by tommylight
Ahoj,
There some big differences going from 2.7 to 2.8, so have a look here:
linuxcnc.org/docs/2.8/html/getting-start...dating-linuxcnc.html
especially the updating configuration files and the naming of joints/axis.

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

More
08 Aug 2020 18:07 #177696 by Mara2000
Ahoj :-)

and thank you. It will be beter in my case to do new clean installation of linux CNC 2.7 and comisioning the machine and peripherials under 2.7 because of all tutorials are writed mostly for 2.7. I am beginner with Linux CNC. Then i will instal Linux CNC 2.9 on second HDD only for experiments with Probe basic screen.

What about update 2.7.14 to 2.7.15? Is this process without problems in points of configurations etc .. ?

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

More
08 Aug 2020 19:45 #177704 by tommylight
Ahoj, jak se mate, pane ? :)

What about update 2.7.14 to 2.7.15? Is this process without problems in points of configurations etc .. ?

Yes it is, no major changes there, so it should be OK.
Never used joypads, but from what you have posted in the custom_postgui.hal i am pretty sure there must be other stuff related to joypad in the main hal file or in another file,
www.google.com/search?q=linuxcnc+simple+...xAB&biw=1216&bih=681
www.google.com/search?q=joypad+site:linu...BAq&biw=1216&bih=681
The following user(s) said Thank You: Mara2000

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

More
09 Aug 2020 18:23 #177770 by Mara2000
Mám se dobře :-) Díky pane :-)

Finally it's working! One skilled LinuxCNC user helped me via remote desktop and find out problem in signal linking in custom_postgui.hal . Against tutorial for adding joypad under LCNC 2.7:

wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant

.... you have to add additonal signal links ( marked on picture bellow )

Complete Zip with setting also attached.

Enjoy :-)
Attachments:
The following user(s) said Thank You: tommylight

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

More
09 Aug 2020 19:19 #177773 by tommylight
Nice, thank you for reporting back.
The following user(s) said Thank You: philcobt

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

More
20 Mar 2021 21:35 #203053 by philcobt
Thank you for the clear steps, great graphic description of flows and easy to follow information.

Success in installing a Joypad on V2.8.0. after trying to get it working on v2.7 & v2.8.0
.
Many thanks

Take care & stay safe.
Barry.

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

More
20 Mar 2021 23:38 #203066 by BeagleBrainz
It's really good to see a user reporting back regarding their success.

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

Time to create page: 0.138 seconds
Powered by Kunena Forum