DoF - a Robotiq Community
Warning sign
The Dof Community was shut down in June 2023. This is a read-only archive.
If you have questions about Robotiq products please reach our support team.
newuhe

my pc system is ubuntu14.04, ros version is indigo, and I used robotiq package to control my gripper using this command

rosrun robotiq_c_model_control CModelRtuNode.py /dev/ttyUSB0
however I received 
AttributeError: 'ModbusIOException' object has no attribute 'getRegister'
I checked and found the issue is caused by this line of comModbusRtu.py in /home/username/catkin_ws/src/robotiq/robotiq_modbus_rtu/
response = self.client.read_holding_registers(0x07D0, numRegs, unit=0x0009)
this line throws 'ModbusIOExcption'.

I don't understand why it happens, I check my usb port with 
dmesg | grep tty & lsusb
and get  
[2483608.973947] usb 1-13: FTDI USB Serial Device converter now attached to ttyUSB0
Bus 001 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
and the LED in gripper is always red, however when I connect the RS485 to usb cable of gripper to ur robot controller, the LED turns blue and I can control it using polyscope.

Can anybody help me figure the issuem, I'm really confused.