naoki-mizuno / ds4_driver

DualShock 4 driver for both ROS1 and ROS2
http://wiki.ros.org/ds4_driver
85 stars 53 forks source link

controller fails to reconnect after accidental disconnect due to faulty use of rclpy.spin, wrong usage of rclpy.shutdown_now(), wrong approach ot destroying the one-shot timer in controller_ros.py #20

Closed geoporus1 closed 3 years ago

geoporus1 commented 3 years ago

Hello @naoki-mizuno! After we successfully merged the latest changes to the foxy-devel branch I have continued working with the ds4_driver and spotted some more issues:

I have opened a new pull request #19 for the foxy-devel branch in which I am addressing all of these issues with proper fixes which I have also tested thoroughly. Please check the new changes whenever you got the time and let me know if you think they are suitable.

naoki-mizuno commented 3 years ago

Merged #19. Thanks!