
You can find the code on my git:
https://github.com/castetsb/rwcLive
Python GUI to visualize the image of a Robotiq Wrist Camera connected on a UR robot |
718 views
|
Answered | |
/ Most recent by Ruben_Speybrouck
in Programming
|
11 comments |
https://share.robotiq.com/public/77332eef1402
The zip folder should be unzip with all contents as it is in the same folder.
Am I supposed to plug an ethernet cable into the robot on one end and into my computer on the other end? How do I configure that connection and find the IP address?
If you make a direct ethernet connection with the robot. You need to set a fix IP for your PC and the robot. Those IP should be different.
You can set robot IP in the setting menu of the teach pendant.
If I have both robot arm, and pc connected to a switch along with my internet cable, how would I then configure this?
I would recommend that you first try to display the image of the camera in your browser using the one of the following URL:
http://<robot_ip_address>:4242/current.jpg?type=color
http://<robot_ip_address>:4242/current.jpg?type=edges
http://<robot_ip_address>:4242/current.jpg?type=magnitude
http://<robot_ip_address>:4242/current.jpg?type=annotations
More details in this post:
https://dof.robotiq.com/discussion/275/wrist-camera-live-image#latest
If it works than the .exe should also work.
Do you have any link where I can read more about the TCP IP connection? Ideally I want to connect our local network, the robot and a computer to the same switch.
But my programming skillset is mainly in python/data analysis, network protocols are new to me. How do I make the robot part of my local network and still manage to communicate with it over HTTP/ RTDE? What is the correct setting?
Connecting to robot to a ethernet network is like connecting a PC to a ethernet network.
You have 2 options:
- Fixed IP which most of the time is use in case of direct ethernet connection between robot and PC.
- Use DHCP automatique IP settings which most of the time is use when you connect the robot to your ethernet network. The routeur of the network which automatically assign an IP to the robot following DHCP process.
I recommend you discuss with your IT technician if you are note familiar with this.I can now ping, but still no image in browser from the camera. Just says page not found. The robot arm is switched on and the camera is working. Should the robot be in any kind of mode or program for this to work?
You need to install the wrist camera URCAP to be able to see the image in your browser. It should be working.