Discussion

Left ArrowBack to discussions page
Kaleb_RodesKaleb_Rodes Posts: 60Founding Pro, Partner, Beta Tester VIsion 1.1 Program, Tactile Sensor Beta Testers, Beta Tester Camera URCap 1.2.0-beta Handy
Can we see the live image from the wrist camera when it’s trying to locate the part?

On the UR teach pendant and/or externally (e.g. computer screen)?
Kaleb Rodes
Applications Engineer
Behco
Tagged:

Best Answer

  • PierreOlivier_ProulxPierreOlivier_Proulx Posts: 68 Handy
    edited August 2016 Accepted Answer
    @Kaleb_Rodes On the teach pendant that is not possible, you can only have the annotated image that was processed for the part detection.

    However from an external pc you can have the live image from a web browser. There are two use cases:
    1. The robot program is not running. In this case you can access the image from this uri
      http://<robot_ip_address>:4242/current.jpg?annotations=<on|off>
    2. The program is running. In this case, before accessing the image as in 1., you must issue this command to the vision server:
      http://<robot_ip_address>:4242/captureimage
    You can use your browser with an autorefresh plugin to automatically send the commands. The result is however not really 'live'. The is a large delay.



    Pierre-Olivier Proulx
    Software Designer
    [email protected]

Comments

  • EnricEnric Posts: 112Founding Pro, Partner, Beta Tester Multi Gripper, Vacuum Beta tester Handy
    @PierreOlivier_Proulx
    So we can see the image in real time, but is it possible to export the image at *.jpg format of each of the photos that the "Camera Locate" instruction generates?

    Thanks in advance.
    Enric Vila Avila
    Vicosystems S.L.L.
    Industrial Collaborative Systems

    [email protected]
  • PierreOlivier_ProulxPierreOlivier_Proulx Posts: 68Beta Tester VIsion 1.1 Program, Vacuum Beta tester Handy
    No, not automatically. To do that you would have to monitor when a camera locate is called and get the image from its uri. 
    Pierre-Olivier Proulx
    Software Designer
    [email protected]
  • dasrugedasruge Posts: 1 Recruit
    No, not automatically. To do that you would have to monitor when a camera locate is called and get the image from its uri. 

    Could you explain how it would be???
    What is an uri?
    Thanks in advance!!
  • PierreOlivier_ProulxPierreOlivier_Proulx Posts: 68Beta Tester VIsion 1.1 Program, Vacuum Beta tester Handy
    The URI is the address i.e.
    http://<robot_ip_address>:4242/current.jpg?annotations=<on|off>
    You would have to externally monitor when a camera locate instruction is hit. For example, you could write a value in a modbus register  inside a camera locate, and have an external process (e.g. a python script) that monitors that register. When the external process receives the signal, it fetches the image at the URI above and it stores the image somewhere.

    Does it answer your question?
    Pierre-Olivier Proulx
    Software Designer
    [email protected]
  • jofelobajofeloba Posts: 1 Recruit
    Is this still working in version 1.3.0?
    Our program now crashes the robot program (and did not in the past). The error is "XMLRPC: Failed with error code 2: findmodel".
    Any way to solve this?
  • JensJens Posts: 3 Apprentice
    So you just have to connect the robot Controller via ethernet with your pc and use the commands above in your browser or how is this supposed to work?
    Tried to get the Image on the pc but couldnt really make it work. Using the command http://<robot_ip_address>:4242/captureimage it says:
    {
        "code": 2,
        "error": "Unknown request.",
        "status": "failed"
    }
    Is there a way to get this working?

  • JensJens Posts: 3 Apprentice
    Is it possible to get the camera Image in a higher resolution? For me its only 616x463 pixel.
    I wonder if I can control the camera via uri. Like turning the lights on and focussing? Or is there maybe another way of controlling the camera via pc? 

    I am trying to get a usable image out of the camera to use it in our software. So we would like to use the robotiq camera hardware but with our own software. Is that possible anyhow? 
  • David_GariepyDavid_Gariepy Posts: 176Beta Tester Beetle, Wrist Camera URCap 1.3.0, Vacuum Beta tester Handy
    Hi Jens, 
    Unfortunately, it is not possible. There is no API available for the camera so you can not control the resolution or the LED. 

    David Gariépy
    Integration Coach
  • casmanncasmann Posts: 4 Recruit
    edited July 24
    @Mario_Laframboise
     I just got a robotiq wrist camera, and used the link http://<robot_ip_address>:4242/current.jpg?type=color with my robots ip address, but nothing showed up, my browser wasn't able to connect. I can see the image fine on the tablet and it says the vision system is functional, but I can't view the camera output from my computer. Is it possible it has changed in a new version?

    I am using the urcap version 1.8 with the wrist camera with a ur5e robot.
  • Mario_LaframboiseMario_Laframboise Posts: 2 Recruit
    @Casmann Can you still ping the robot ? The request hasn't changed in the newer versions.
  • casmanncasmann Posts: 4 Recruit
    Sorry, it seems like I was just having network issues earlier, and after restarting the robot, I can now connect and see the image fine.
Sign In or Register to comment.
Left ArrowBack to discussions page