A new update has been released, that allows to use a gamepad as input/teaching device instead of the self made arduino based joystick.
Though it works using a gamepad now, it is rather difficult to teach/move servos using the gamepad. My self made joystick is much more accurate and sensitive than a gamepad. Also gamepads usually have a “dead zone” in the center of the input lever, that makes it difficult to position exactly.
To prevent of much configuration, I created additional programs for gamepad use, the old ones can be still used if you have a self made joystick.
To install:
Download and unpack the g-zipped tar-ball from within /usr/local/bin
The configuration is set to orangepi by default. If you have a raspi 3 you need to copy the configuration file in /usr/local/bin/Modules (cp /usr/local/bin/Modules/ConfigL.pm.raspi /usr/local/bin/Modules/ConfigL.pm)
Probably the perl module “Linux::Joystick” needs to be installed in addition.
The easiest way is to run: cpanm Linux::Joystick
For more, how to use the Update read the enclosed README file.
Hello, im trying to use a ps4 controller as a joystick to save the moviments, but seems like the file you uploaded here is not the correct one, in fact its the same as the tar ball
Dear Fernando, you are right, the package for the gamepad update was missing. Sorry for that and thank you for reporting. Obviously the file got lost when I changed my web server to WordPress. Now you will now find the update file where it belongs: https://bechele.de/wp-content/uploads/2022/12/gamepad_update.tgz