giving one pulse in a specefic ROI conditioned each time with coming back to home #2428
Unanswered
ReemyAliNasser
asked this question in
Q&A
Replies: 2 comments
-
There are a few ways to code this up. I would encourage you to go through this tutorial and try to model your logic as a "state machine". e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
new_flow_5.zip
Hi,
I have two ROI regions the first one is the home and the other one is specific region that I am interested in - if the animal enters this region it will receive a pulse of light
However, I want to deliver a pulse upon entering that region only if it comes back to home and then entered this region again and so on..
Currently, I have a flow that I can detect the entrance of both regions.
( I tried to combineLatest the boolean results of the two ROIs but it is not helpful as it will keep sending pulses no matter the animal came back to home or not )
I would be happy if you could help, attached my flow
thanks
Reemy
Beta Was this translation helpful? Give feedback.
All reactions