Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Testing Roborealm

Loading...

Sign in or sign up now!
4,161
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 11, 2007

Multiple colours.

Category:

Entertainment

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (slmnn)

  • but i really want to see how you do it just with one cog and one filter!!

  • 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...

  • 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.

  • On the 'Center of Gravity' filter remember to check the box "Overlay Graphics on the source image"...

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • @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.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more