Testing Roborealm
Uploader Comments (slmnn)
All Comments (7)
-
@neurosp Try this Robo file it might help you
hyper text tranfer protocol hotfile dot com slash dl slash 70683654/87bb9fd slashThreeCOG dot robo dot html(In place of dot place"." and in place of slash put"/" and in place hyper.......protocol place you might know and ignore any space.
I have to do this because youtube it not permitting to publish any link.
-
slmnn you are the best man thanks for upload an explain for the others you are aproud member of this cause haha greets
-
ahhh ,ok.
-
ok i have something like this using a marker for clear after every cog, it works withaout white background but with mistakes. im learning watching the codes of other peopple, thanks!!
-
With pseudo code:
variable loop_count = 0
if loop_count equals 0 then track the red object set loop_count to 1
end if
if loop_count equals 1 then track the blue object set loop_count to 2
end if
if loop_count equals 2 then track the yellow object
end if
Try it. If you don't get it, ask again.
-
Then the second hint: Roborealm loops the command series over and over again. If you put three RGBFilters and three Center of Gravity in one after another it wont work. The result of the filter above is the input for the one below it. You need a variable and some if_statements. One variable should be enough and three if_statements.
but i really want to see how you do it just with one cog and one filter!!
neurosp 4 years ago
I did not say that it can be done with one filter. As far as I know you can't change filter parameters "on the fly". Have to use three filters...
slmnn 4 years ago
I checked it again and guess what, you don't need any if statements or variables.
Just put three "Object tracking" series in a row. Just like in the example.
Remember to mark the checkbox I mentioned in that comment right above.
I needed three if_statements because I wanted to send three different object coordinates via serial port. But the recognition will work without them.
slmnn 4 years ago
On the 'Center of Gravity' filter remember to check the box "Overlay Graphics on the source image"...
slmnn 4 years ago