Joypad confusion.
- 109jb
- Offline
- Senior Member
- Posts: 78
- Thank you received: 8
I tried doing a search on how to install a joypad, but I find multiple ways to do it. It also looks as if some of the methods were originated some time ago and the pages not updated in a long time. Also, being a newbie I find some of the stuff a bit confusing. What I am trying to figure out is if there is a certain preferred method to implement a joypad and if the instructions for that method are current. A step by step, or "Joypads for dummies" would be great but I just can't seem to find it.
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7000
- Thank you received: 1172
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
John
Please Log in or Create an account to join the conversation.
- 109jb
- Offline
- Senior Member
- Posts: 78
- Thank you received: 8
One more question. In the house I use the linuxCNC simulator on my laptop to play with stuff. I assume this will work on the sim right?
Thanks much
Please Log in or Create an account to join the conversation.
- Rick G
- Offline
- Junior Member
- Posts: 26
- Thank you received: 155
No reason not to use it on the sim.
The WIKI has information on using the joypad and different approaches.
Once you are up and running if you want to add more features you might get some ideas from...
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding...imple_Remote_Pendant
Rick G
Please Log in or Create an account to join the conversation.
- 109jb
- Offline
- Senior Member
- Posts: 78
- Thank you received: 8
I would like to modify the hal file for the joypad to use the mode switch to select incremental or jog mode. How it is now works, but I see no real way to determine if the mode is inc or jog except to just maje a move. I figure if it was tied to themode switch somehow you just look at the led next to the mode seitch and you know right away (ie: lit is inc, not lit is jog)
I guess I will have to learn some more to see if I can make that change.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7000
- Thank you received: 1172
John
Please Log in or Create an account to join the conversation.
- Rick G
- Offline
- Junior Member
- Posts: 26
- Thank you received: 155
I would like to modify the hal file for the joypad to use the mode switch to select incremental or jog mode. How it is now works, but I see no real way to determine if the mode is inc or jog except to just maje a move
Good point, I found that to be a draw back.
If you look at the wiki I changed that to use two different buttons, the #4 for incremental and the #6? (the front button below the #4) for proportional.
That way just hit the right button and no more guessing. I also added two different audible beeps to confirm the mode using beep and the pc speaker.
Look at part two of the wiki.
Rick G
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
- Posts: 396
- Thank you received: 81
Is the hal_joystick component still supported in 2.7 or was it a cutom comp? i dont seem to be able to load it in HAL. Maybe i should download and compile?
Thanks
Henk
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23178
- Thank you received: 4865
linuxcnc.org/docs/2.4/html/man/man1/hal_joystick.1.html
hal_input should do the same, and more.
linuxcnc.org/docs/2.7/html/man/man1/hal_input.1.html
Please Log in or Create an account to join the conversation.