Skip to content

Problem activating RobotiqGripperHardwareInterface #88

@Cavalletta98

Description

@Cavalletta98

Hi, when i try to use the driver with a real robotiq 2F-140 connected to a UR10e without an external USB cable and with the ROS485 URCap active, i got this errors
[ros2_control_node-1] [WARN] [1746261825.413040664] [DefaultDriver]: Resending the command because the previous attempt (1 of 5) failed: IO Exception: Requested 8 bytes, but got 0, file /home/ws/src/ros2_robotiq_gripper/robotiq_driver/src/default_serial.cpp, line 62. [ros2_control_node-1] [WARN] [1746261825.912814109] [DefaultDriver]: Resending the command because the previous attempt (2 of 5) failed: IO Exception: Requested 8 bytes, but got 0, file /home/ws/src/ros2_robotiq_gripper/robotiq_driver/src/default_serial.cpp, line 62. [ros2_control_node-1] [WARN] [1746261826.412683502] [DefaultDriver]: Resending the command because the previous attempt (3 of 5) failed: IO Exception: Requested 8 bytes, but got 0, file /home/ws/src/ros2_robotiq_gripper/robotiq_driver/src/default_serial.cpp, line 62. [ros2_control_node-1] [WARN] [1746261826.912489852] [DefaultDriver]: Resending the command because the previous attempt (4 of 5) failed: IO Exception: Requested 8 bytes, but got 0, file /home/ws/src/ros2_robotiq_gripper/robotiq_driver/src/default_serial.cpp, line 62. [ros2_control_node-1] [WARN] [1746261827.412284725] [DefaultDriver]: Resending the command because the previous attempt (5 of 5) failed: IO Exception: Requested 8 bytes, but got 0, file /home/ws/src/ros2_robotiq_gripper/robotiq_driver/src/default_serial.cpp, line 62. [ros2_control_node-1] [ERROR] [1746261827.412331835] [DefaultDriver]: Reached maximum retries. Operation failed. [ros2_control_node-1] [FATAL] [1746261827.412469339] [RobotiqGripperHardwareInterface]: Failed to communicate with the Robotiq gripper: DriverException: Failed to deactivate the gripper..
Does someone knows why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions