Robotics StackExchange | Archived questions

Error with IIWA: Robot is not connected...

I am working with Kuka LBR IIWA and trying to use the package (https://github.com/SalvoVirga/iiwa_stack). I finished cabinet setup (https://github.com/SalvoVirga/iiwa_stack/wiki/cabinet_setup). Now IP addresses are:

cabinet: 192.168.168.2 (IP), 255.255.255.0 (netmask), 192.168.168.0 (gateway)

ubuntu machine: 192.168.168.1 (IP), 255.255.255.0 (netmask), 192.168.168.0 (gateway)

export ROSMASTERURI=http://192.168.168.1:11311 export ROS_IP=192.168.168.1

config.txt: master_ip=192.168.168.1

Then I started the ROSSmartServo application from the SmartPad and executed roscore. I can hear the robot being unlocked. However, when I try roslaunch iiwatoolexamples iiwatoolcommand_moveit.launch, still It shows "Robot is not connected.... No LBR IIWA is connected. waiting for the robot to connect before reading"

Similar post in (https://github.com/SalvoVirga/iiwa_stack/issues/13)

Anybody please give any suggestion to fix it? Thank you

Asked by Ahyan on 2016-03-25 05:30:20 UTC

Comments

Would you please add that you also (cross) posted this to the SalvoVirga/iiwa_stack issues tracker?

Asked by gvdhoorn on 2016-03-25 05:43:15 UTC

Also:

192.168.168.0 (gateway)

don't do that. Some TCP/IP stacks assign special semantics to the .0 address. In addition: you only need a gateway if you are routing between different networks, which you are not.

Asked by gvdhoorn on 2016-03-25 05:44:37 UTC

192.168.168.0 is not a valid ip for Gateway. Change it to ros master ip 192.168.168.0

Asked by duck-development on 2016-03-25 13:38:12 UTC

Modified IP addresses: cabinet:160.69.69.69 (IP),255.255.255.0(netmask),I kept gateway blank. ubuntu:160.69.69.100 (IP),255.255.255.0(netmask),160.69.69.100(gateway) export ROS_MASTER_URI=http://160.69.69.100:11311 export ROS_IP=160.69.69.100 config.txt: master_ip=160.69.69.100 Still same problem.

Asked by Ahyan on 2016-03-26 01:26:17 UTC

Answers