Home› Programming
Discussion
Back to discussions page
bsawlor
Partner Posts: 30 Apprentice
Camera part positions/poses |
21 views
|
Answered | |
/ Most recent by David_Gariepy
in Programming
|
1 comment |

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.
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.
Best Answer
-
David_Gariepy Beta Tester Beetle, Wrist Camera URCap 1.3.0, Vacuum Beta tester Posts: 190 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.
David Gariépy
Integration Coach