Discussion

Left ArrowBack to discussions page
RazvanRazvan Posts: 10 Apprentice
Hello, 
 I am using the robotiq wrist camera with UCC 1.4.1 and the skills add-on, my program is simple, robot goes to snap pozition, then I have the camera node, after the camera node I have a loop with a camera node that says loop camera node until detection score >75 after >75 found go and pick.
 So I encountered the following problem, I start the program and the robot takes photos without any part present, detection score 0, I put a good part while looping and I get detection score 50, because it is lower than 75 the robot is still taking stills and getting on average detection score 50, I stop the program, I start it again I do not touch or move the part that I was getting detection score 50, the robot doesn't move from the snap pozition, the robot takes the picture and I get a detection score of 90, on the exact part, with the exact position that I was getting detscore50 results. Why is this happening, it is happening everytime, I can replicate and make a video. 
 Do you know any fixes or have any other ideas, I need to get the >75 detection score without restarting the program.

Comments

  • Nicholas_FrancoeurNicholas_Francoeur Posts: 93 Handy
    Hi @Razvan,

    You could simply set the treshold to a score of 75 instead of looping. Are you doing any other actions when the detection score is below 75?

    As for the change in detection score, @dnolet could you clarify this for us?
    Nicholas Francoeur
    Co-Founder | Vanguard Robotics
    e:   [email protected]
    w:  vanguard-robotics.com
  • RazvanRazvan Posts: 10 Apprentice
    Hi @Nicholas_Francoeur
    I am not doing any other actions, but I need to take photos until I see something, if I don't get a score of >75 I take photos until I find a 75.
    It is this strange thing that is happening while in the loop if i put a good part I get a low detscore, and if I just restart the program and I leave the part in the exact place, the robot is still in snappoz, same everything, the detection score is 90+.
  • Nicholas_FrancoeurNicholas_Francoeur Posts: 93 Handy
    Understood. I will let Dany Nolet, our Wrist Camera Product Owner answer your second question.
    Nicholas Francoeur
    Co-Founder | Vanguard Robotics
    e:   [email protected]
    w:  vanguard-robotics.com
  • Nicholas_FrancoeurNicholas_Francoeur Posts: 93 Handy
    @Razvan

    Is your focus set to automatic? In that case it is possible that the automatic focus is not exactly the same between snapshot.

    Could you try setting the focus manually via the Test/Modify screen?
    Nicholas Francoeur
    Co-Founder | Vanguard Robotics
    e:   [email protected]
    w:  vanguard-robotics.com
  • RazvanRazvan Posts: 10 Apprentice
    Yes the focus is set to automatic, when I get the 90 detection score I get it at the camera node before the loop, in the camera node in the loop, when photos are taken one after the other the score is low, makes sense, the focus could change, I will try and set the focus manually and I'll let you know.
Sign In or Register to comment.
Left ArrowBack to discussions page