PickNikRobotics / ros2_robotiq_gripper

BSD 3-Clause "New" or "Revised" License
50 stars 40 forks source link

Catch missed read/write packets #19

Closed MarqRazz closed 1 year ago

MarqRazz commented 1 year ago

This PR attempts to handle dropped packets between the gripper and computer by not closing communication with it when a read/write packet is missed. The approach is if a read/write exception is thrown but the port is till open tell the user about the event but continue trying to communicate with the device.