Left ArrowBack to discussions page
bsawlorbsawlor Posts: 25Partner Apprentice
edited July 18 in Programming
With the camera taking a picture and looking for the taught part, is there a way to check the positions of all positive parts detected?  ie, can I store each positive pose detected by the camera to a different variable?  If so, is there a limit to how many positions it can show?

Second to that, if using the camera in this way, and no action/movement is taken, can I direct the camera command to use the last picture taken, rather then having to retake the picture?

I've got a demo in mind I'd like to do, using 2 different parts and doing part position checks during a certain aspect of the program.  Being able to reuse the image could be beneficial in time reduction.


  • David_GariepyDavid_Gariepy Posts: 64 Handy
    Hello @bsawlor,
    The camera can only detect one part at a time. 
    In a camera locate node you can store the position of the detected object in a variable using the following command: 
    var1 = object_location()

    Unfortunately, it is not possible to use a previously taken picture to locate a part.  You need to take a picture every time you want to locate a part. 

Sign In or Register to comment.
Left ArrowBack to discussions page