naoki-mizuno / ds4_driver

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

Cannot reconnect after returning from suspend #6

Open naoki-mizuno opened 4 years ago

naoki-mizuno commented 4 years ago

ds4_driver_node seems to terminate from exception after coming back from suspend.

Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/home/naoki/ros/workspaces/kinetic/common/src/ds4_driver/src/ds4_driver/controller.py", line 56, in run
    self.loop.run()
  File "build/bdist.linux-x86_64/egg/ds4drv/eventloop.py", line 102, in run
    for fd, event in self.epoll.poll(self.epoll_timeout):
IOError: [Errno 4] Interrupted system call