Error with IIWA: Robot is not connected...

asked 2016-03-25 05:30:20 -0500

Ahyan gravatar image

updated 2016-03-26 01:18:08 -0500

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_st... ). 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 ROS_MASTER_URI=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 iiwa_tool_examples iiwa_tool_command_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_st... )

Anybody please give any suggestion to fix it? Thank you

edit retag flag offensive close merge delete

Comments

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

gvdhoorn gravatar image gvdhoorn  ( 2016-03-25 05:43:15 -0500 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2016-03-25 05:44:37 -0500 )edit

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

duck-development gravatar image duck-development  ( 2016-03-25 13:38:12 -0500 )edit

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.

Ahyan gravatar image Ahyan  ( 2016-03-26 01:26:17 -0500 )edit