Hi,
I am currently trying to connect the robotiq_2f_85 gripper to ROS Noetic on Ubuntu 20.04
The package built just fine, but now I am trying to run the commands from the original tutorial
When I try to connect to the gripper with the command
rosrun robotiq_2f_gripper_control Robotiq2FGripperRtuNode.py /dev/ttyUSB0
I get the following error:
File "/home/user/reitz/workspace/src/robotiq/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py", line 86, in
mainLoop(sys.argv[1])
File "/home/user/reitz/workspace/src/robotiq/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py", line 72, in mainLoop
status = gripper.getStatus()
File "/home/user/reitz/workspace/src/robotiq/robotiq_2f_gripper_control/src/robotiq_2f_gripper_control/baseRobotiq2FGripper.py", line 107, in getStatus
status = self.client.getStatus(6);
File "/home/user/reitz/workspace/src/robotiq/robotiq_modbus_rtu/src/robotiq_modbus_rtu/comModbusRtu.py", line 108, in getStatus
response = self.client.read_holding_registers(0x07D0, numRegs, unit=0x0009)
File "/usr/lib/python3/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
return self.execute(request)
File "/home/user/reitz/workspace/src/robotiq/robotiq_modbus_rtu/src/robotiq_modbus_rtu/robotiqmodbus/client/sync.py", line 85, in execute
return self.transaction.execute(request)
File "/usr/lib/python3/dist-packages/pymodbus/transaction.py", line 116, in execute
_buffer = hexlify_packets(self.client.framer._buffer)
AttributeError: 'ModbusRtuFramer' object has no attribute '_buffer'
Any idea how to fix this?