Closed davefeilseifer closed 3 years ago
Interesting.
Which ROS package do you use with ds4drv
to populate the /joy
topic?
Just the regular joy_node from the joy package. The ds4drv sets up the controller as /dev/input/jsX, the joy_node just takes it from there.
Ah, right. Sounds good, although I don't have the resources to test your config at the moment. Thanks!
I've reviewed this on my pr2 at UNR. Any change this can be merged?
Wow, this patch got lost! It just adds a configuration and it works for you, so I will just merge it. Sorry for not doing it already back then, but I was hoping to find the time to test on our PR2 before merging.
Wow, this patch got lost! It just adds a configuration and it works for you, so I will just merge it. Sorry for not doing it already back then, but I was hoping to find the time to test on our PR2 before merging.
thanks! no worries on the delay, I just thought that since ps3 joysticks are not supported well anymore, a ps4 option would be better
ps3 dualshock controller does not work with kernel versions 4.4 and later, added config files that works with the ps4 dualshock controller that is supported in 16.04 and later (using the ds4drv python package: pip install ds4drv)
for now, added separate launch file teleop_ps4_joystick.launch which draws from different config file which has mappings for ps4 dualshock controller. Remaps left hand open/close to joystick buttons instead of left/right arrows which don't show up as buttons on the ps4 controller