question

Imransyed avatar image
0 Likes"
Imransyed asked Logan Gold commented

Help with Robot Pick and Place based on Color

Sample File.fsm

Hi everyone!!!

I'm working on a FlexSim project where boxes pass through a source and process before reaching a decision point where they are assigned random colors. I aim to have a robot identify the red (defective) boxes on a conveyor, pick them up, and move them to an adjacent conveyor.

Also, I want the box color after the decision point to be only Brown(good) or red(defective). But currently, I have a random color setting.

Could someone guide me on setting this up? Specifically, I need help with the decision point setup.

Thanks in advance for your help!

FlexSim 24.2.2
robotflexsim24
sample-file.fsm (72.5 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Imransyed, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

While technically possible, using the actual color of an object for decision making logic is unorthodox. You'd generally set a label that denotes whether the item is defective or not and base both the color and further decision on this value.

sample-file_1.fsm


sample-file-1.fsm (71.6 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.