JoseMiguel Posted September 5, 2017 Share Posted September 5, 2017 Hello, I have followed the tutorial for the workstation setup but I can't stablish communication with the robot. I can do ping "169.254.xx.yy" and open the intera software by means of chrome navigator. I have the intera.sh with : - robot_hostname = "<serialNumber>.local" - your_ip = "169.254.255.201" and when I execute the script and the command " env | grep ROS " I get among other things : ROS_MASTER_URI = http://<serialNumber>.local : 11311. If I ping <serialNumber>.local he says to me : Unknown port. If I use : avahi-browse -a -r I get only the Ubuntu.local hostname, none robot hostname. However, the ping 169.254.xx.yy that sawyer provide to me still working. What could be the problem ? any clue ? Thanks. jm Link to comment Share on other sites More sharing options...
Ian McMahon Posted September 5, 2017 Share Posted September 5, 2017 Hi Jose, Sawyer actually has two different boot modes: Intera Manufacturing and Intera SDK. The fact that you were able to open the Intera Software in Chrome leads me to think you have booted into the Manufacturing software stack. If you want to communicate over ROS, you will need to boot into the SDK stack as this is the only mode where the firewall ports for ROS are open. Please see the FSM wiki page for info on booting into the SDK. Additionally, you can follow the latter portion of the software update procedure to get you back into SDK mode. Hope this helps! ~ Ian Link to comment Share on other sites More sharing options...
JoseMiguel Posted September 6, 2017 Author Share Posted September 6, 2017 Yes, you was right. I always started in the intera manufacturing mode. Now I have started in the SDK ( There is a black screen with the logo and SAWYER SDK text ), but still having same problem. Of course, I can't open the intera software in the navigator, but I still can do a ping to the address 169.254.0.1 although not to the <SerialNumber>.local. I am using the number serial of the controller, which I get from the info screen. Also ( : 1. if I execute " rostopic list" he says " ERROR : Unable to communicate with Master" . 2. If execute "avahi-browse -a -r" I only see Ubuntu.local adress, no robot address. ( before execute the ./intera.sh script ) What can I test now ? any idea ? Link to comment Share on other sites More sharing options...
Don Spear Posted September 7, 2017 Share Posted September 7, 2017 Hi Jose, Are you connecting your workstation and robot directly via Ethernet? If so, did you follow all of the avahi configurations steps on the networking page of the WIKI that need to be performed prior to running the avahi-browse command? Also, do you mind attaching your intera.sh file for review? Thanks, Don Link to comment Share on other sites More sharing options...
JoseMiguel Posted September 11, 2017 Author Share Posted September 11, 2017 Hi, In the FSM menu I changed the identification mode. Instead using <serialNumber>.local, I choose IP number, modified the intera.sh script, and now seems that it works. At least it shows a list when I write rostopic list.The reason ? I don't know. Now I'm trying to show something a little more interesting, like showing a image from the camera. I wrote rosrun intera_examples camera_display.py and I get what you can see in the screenshot. That means I have connection ? The failure is because there is not real connection or because I have to do something more with the python scripts ? Thanks. Link to comment Share on other sites More sharing options...
Don Spear Posted September 11, 2017 Share Posted September 11, 2017 Hi Jose, Can you try adding the argument to have the robot display the image from the "right_hand_camera"? I would like to see if you receive the same error. By default, the example will attempt to display the image from the head camera. Thanks, Don Link to comment Share on other sites More sharing options...
JoseMiguel Posted September 12, 2017 Author Share Posted September 12, 2017 Hello Don, Now is working with the right hand camera, thank you. finally I can assure that I have the robot connected Only a few comments by if can help someone: 1. I have python2 and Python3 installed. I had to write : #! /usr/bin/env python2 to choose python 2 because with python 3 does not work. 2. I had to change a timeout to give more time to the initialization. I used the wait_for function with 50 seconds instead 1, because seems very slow. As you can see in the screenshot, the error with the head camera is different. Now it says to me that can't do streaming As conclusion, ¿ Is possible to use the head camera with de intera sdk or not ? Link to comment Share on other sites More sharing options...
Don Spear Posted September 12, 2017 Share Posted September 12, 2017 Hi Jose, I am happy to hear you were able to confirm robot communication. It is possible to use the head camera with the SDK. There may be a hardware error that needs investigation, I will email you offline in order to troubleshoot further. Best, Don Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.