Open jnisa opened 7 years ago
Looks like a udev rules problem. When you plug a usb device in your computer it creates a “file” where you can access the device, for example: /dev/ttyUSB0 or /dev/ttyACM0 , you need to identify which is the one that the ps3 joystick generates. Once you know that please post here again so that i can give more guidance.
Try:
ls /dev/joy0
With and without the joypad connected for example.
As you can see with the controller already connected I can't access to the folder /dev/joy0.
ls /dev/input/js0
sudo usermod -a -G dialout your_username
sudo nano /etc/udev/rules.d/80-ps3-joypad.rules
paste this line inside:
SUBSYSTEM=="usb",ATTRS{idProduct}=="0268",ATTRS{idVendor}=="054c",SYMLINK+="pioneer/joypad",GROUP="dialout"
sudo service udev restart
plug in and out the ps3 controller
done, your device should be available under:
ls /dev/pioneer/joypad
Please tell me if this solved the issue, thanks
The problems keeps appearing :(
Please do:
sudo usermod -a -G dialout joao
cat /etc/udev/rules.d/80-ps3-joypad.rules
udevadm info -a -n /dev/input/js0
ok, you missed to execute one instructions properly... -.-
please do:
echo "SUBSYSTEM=="usb",ATTRS{idProduct}=="0268",ATTRS{idVendor}=="054c",SYMLINK+="pioneer/joypad",GROUP="dialout"" | sudo tee /etc/udev/rules.d/80-ps3-joypad.rules
sudo service udev restart
plug in and out the ps3 controller
done, your device should be available under:
ls /dev/pioneer/joypad
please let me know if worked
Keeps saying that is not possible to access to that directory
Did you plugged in and out the ps3 controller? (Disconect and conect the usb device) after doing:
sudo service usev restart
Also please do not execute several times the sudo... tee command. The file under /etc/udev/rules.d should only have this information one time.
Just drop anytime by 8.18 today between 10:30 - 12:00 or 14:00-18:00 and we can take a look
We have solved the problem about turtle_teleop package but now I have this issue presented in the image. Do you know how to solve it? Thank you for your attention.