11-06-2021, 02:55 PM
Hi,
I am developing a program for my master thesis and just recently started using RoboDK. I am a newbie in Python, actually programming in general.
I develop an environment with 8 boxes using RoboDK, two of which are different colors. I want to be able to use the robotic arm to detect the color of the boxes using RGB values or whatever is simpler and make it able to pick the one that is out-of-spec and place it out of the line. For example, in a single straight line I have 6 green boxes, 1 red box and 1 blue box. I want to robotic arm with the camera to go over the boxes in a straight path and if it sees the red or blue box, to place it out of the line since it is not green. I also would like to do it with predominantly red boxes and in another case, predominantly blue boxes.
I have attached the RoboDK environment with the targets and everything but have found it difficult to program into the robot this "color sorting" capacity.
Thanks in advance,
Manisan
ColourSorting Project.rdk(Size: 524.77 KB / Downloads: 271)
I am developing a program for my master thesis and just recently started using RoboDK. I am a newbie in Python, actually programming in general.
I develop an environment with 8 boxes using RoboDK, two of which are different colors. I want to be able to use the robotic arm to detect the color of the boxes using RGB values or whatever is simpler and make it able to pick the one that is out-of-spec and place it out of the line. For example, in a single straight line I have 6 green boxes, 1 red box and 1 blue box. I want to robotic arm with the camera to go over the boxes in a straight path and if it sees the red or blue box, to place it out of the line since it is not green. I also would like to do it with predominantly red boxes and in another case, predominantly blue boxes.
I have attached the RoboDK environment with the targets and everything but have found it difficult to program into the robot this "color sorting" capacity.
Thanks in advance,
Manisan
ColourSorting Project.rdk(Size: 524.77 KB / Downloads: 271)