A much simpler way to use a joypad is described here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant |
A much simpler way to use a joypad is described here: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant |
[Here] is how to check if your joypad outputs the right values. |
[Here] is how to check if your joypad outputs the right values. |
Of course writing a new hal component that converts directly the float input from joypad axis to an integer counter output is possible (and easy), but this requires more knowledge, while the method described here only requires components that are already provided with EMC2. Also using that method it is easy to update the system from joypad to a jogwheel. If you are interested in how to write the new hal component described, [here] you will find instructions. |
Of course writing a new hal component that converts directly the float input from joypad axis to an integer counter output is possible (and easy), but this requires more knowledge, while the method described here only requires components that are already provided with EMC2. Also using that method it is easy to update the system from joypad to a jogwheel. If you are interested in how to write the new hal component described, [here] you will find instructions. |
In the second example we will use only one button to toggle flood on and off. To do that we will use [Halui]. Halui provides a lot of HAL pins to command some EMC2 functions. To use Halui you've to add the line HALUI = halui just after the line [HAL] in your .ini configuration file. |
In the second example we will use only one button to toggle flood on and off. To do that we will use [Halui]. Halui provides a lot of HAL pins to command some EMC2 functions. To use Halui you've to add the line HALUI = halui just after the line [HAL] in your .ini configuration file. |