Changes

Jump to navigation Jump to search
Line 44: Line 44:  
[[File:turtleart-followme-palette.png|250px]]
 
[[File:turtleart-followme-palette.png|250px]]
   −
Download:[http://www.fing.edu.uy/inco/proyectos/butia/files/followme_ta_plugin.zip followme_ta_plugin.zip]
+
Download: [http://www.fing.edu.uy/inco/proyectos/butia/files/followme_ta_plugin.zip followme_ta_plugin.zip]
    
Examples:
 
Examples:
 +
 +
The "classic" use. After the "Start", the "Calibrate" block open a windows that show the capture of the camera. In the center of that capture there are an red square. The FollowMe Plugin uses an algorithm that obtain the "promedial" color of the object in the square. The result of that algorithm is showed in an little square in the corner. When you consider that the color is a good "representation of the object" you press any key, and the windows close, and the Plugin obtain the latest color calibrated. After, when you calibrate, you can use the "X position" and "Y position" when you want, don't need re-calibrate. The block "X position" return the "center" of the object that the camera "see" in the "X" axis. This value is an integer between 0 and 320. When the object is not detected, the camera have problems, the algorithm returns -1. The operation of the "Y position" block are the same, but returns the position respect the "Y" axis. The value returned is between 0 and 240.
    
[[File:turtleart-followme-classic.png|250px]]
 
[[File:turtleart-followme-classic.png|250px]]
 +
 +
When you know the color to "follow" (it occurs rarely, since the color is very variable light conditions) you can use the "Follow RGB" block. This block sets the color directly to the algorithm. In all cases, the color have a bit of threshold in each component (25 of each color) seted by default. In future version, this can be modify.
    
[[File:turtleart-followme-specificcolor.png|250px]]
 
[[File:turtleart-followme-specificcolor.png|250px]]
 +
 +
The third option, is use the "FollowMe" block that "follow" a generic color similar to that shown.
    
[[File:turtleart-followme-turtlecolor.png|250px]]
 
[[File:turtleart-followme-turtlecolor.png|250px]]
130

edits

Navigation menu