joystick pendant control

More
20 Nov 2017 11:40 #102054 by oldmetalbasher
I have tried three examples of adding a joystick and all three show on the debug file info
custom_postgui.hal:69: pin input.0.abs-rz-position does not exist.
# that line out and it will now run and update x and y from the joy pad, however in the hal configuration window no rz or z position can be found , x position and y position are visible.
old age has dulled the brain and I am lost !
using Linuxcnc 2.7.11 thank you in advance

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

More
20 Nov 2017 18:38 #102090 by newbynobi
Replied by newbynobi on topic joystick pendant control
Looking in my glas ball, i can say for sure, you have an error in your config. If you post your config we will even be able to mention it and find a solution.

Norbert

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

More
20 Nov 2017 19:43 #102098 by oldmetalbasher
thank you for your offer to help , not knowing what to send I have sent lots

File Attachment:

File Name: custom_2017-11-20.hal
File Size:0 KB

File Attachment:

File Name: custom_pos...1-20.hal
File Size:3 KB

File Attachment:

File Name: plasma_2017-11-20.hal
File Size:3 KB

File Attachment:

File Name: plasma_2017-11-20.ini
File Size:2 KB

File Attachment:

File Name: postgui_ba...1-20.hal
File Size:0 KB

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

More
20 Nov 2017 21:05 #102105 by Tchefter
Replied by Tchefter on topic joystick pendant control
Hi, do you try this out?
qjoypad.sourceforge.net/
Works fine in Axis 2.7.11
You have to install some Files manually, they where shown by the startup from Qjoypad

Regards, Fritz

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

More
24 Nov 2017 18:01 #102304 by andypugh
Replied by andypugh on topic joystick pendant control
The problem is that (for whatever reason) your joypad isn't creating a pin of that name. So you need to find out what HAL pins your joypad does create.

Open a terminal when LinuxCNC is not running and type the following
halrun
loadusr -W hal_input -KRAL usb       
loadusr halshow

That starts the HAL realtime environment and then loads the joypad driver. It then opens a halshow that will allow you to list all the HAL pins associated with the joypad

You can then select the "watch" tab, add the pins from the list on the left to that, and see what hal pin name corrsponds to which physical button.

You can open Halshow from inside LinuxCNC (machine-<show hal config in Axis) but doing it inside LinuxCNC makes it less obvious which HAL pins are the joypad.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum