<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        joeytk,&lt;br&gt;&lt;br&gt;Yes it will change the result depending on where you have the Spykee module as that&apos;s the module that produces the image. IF you load in an image with the same dimensions as the Spykee module produces then the above issue goes away. The reason for this is how the graphics and added to the image after all processing is done. When the pipeline loops around it will take the image size of the default image loaded in RoboRealm and then change that when the Spykee module is encountered. The problem is when the second loop through the pipeline is done to add the graphics the image is not the same size as it was initially. So either put the Spykee module first (recommended placement) or drag an image into RR with the same dimensions.&lt;br&gt;&lt;br&gt;The problem comes from preventing the graphics from being processed along with the image. Note that in the above image the square is actually ok (a graphic) whilst the image data is all twisted. &lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3639</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3639</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steve&lt;br&gt;Thanks again. That script modification worked perfectly and the spykee is dead on with tracking the red ball. I have 2 more questions then I&apos;ll leave you alone for a while. My pipeline looks like this - spykee mod, RGB filter red, Erode, Center of Gravity and VBscript. The attached image was taken while highlighting the Center of Gravity mod. Should it look so noisy? I&amp;nbsp;&amp;nbsp;also find that I have to put the spykee mod first in the pipeline. If it is at the end like it was in the original red ball chasing program the tracking box is huge and the spykee doesn&apos;t perform well. I know placing the filters in a certain order def affects what the robot sees but does placing the spykee mod in a particular spot affect performance? Thanks&lt;p&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/20797_1.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/20797_thumb_1.jpg&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3639</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3639</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Assuming the script is still somewhat the same as ours, it will be using the COG or Center of Gravity module. This will generate a variable called COG_BOX_SIZE which will be some larger number when something is being seen. So checking that variable in your VBScript will allow you to stop the bot. So right at the bottom of the VBScript you can add&lt;br&gt;&lt;br&gt;if GetVariable(&quot;COG_BOX_SIZE&quot;) &amp;lt; 10 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;left_motor&quot;, 128&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;right_motor&quot;, 128&lt;br&gt;end if&lt;br&gt;&lt;br&gt;which should do the job. You can also be a little smarter about the script and use that conditional to avoid calculating the movement based on a too small object ... but that requires some rearrangement of the script.&lt;br&gt;&lt;br&gt;OR if the following lines still exist in your script&lt;br&gt;&lt;br&gt;if state = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;left_motor = 120&lt;br&gt;&amp;nbsp;&amp;nbsp;right_motor = 145&lt;br&gt;&amp;nbsp;&amp;nbsp;SetTimedVariable &quot;scanning&quot;, 2, 7000&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;scanning&quot;, 1&lt;br&gt;elseif state = 2 then&lt;br&gt;&amp;nbsp;&amp;nbsp;left_motor = 128&lt;br&gt;&amp;nbsp;&amp;nbsp;right_motor = 128&lt;br&gt;else&lt;br&gt;&amp;nbsp;&amp;nbsp;left_motor = GetVariable(&quot;left_motor&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;right_motor = GetVariable(&quot;right_motor&quot;)&lt;br&gt;end if&lt;br&gt;&lt;br&gt;you can replace all that with just&lt;br&gt;&lt;br&gt;left_motor = 128&lt;br&gt;right_motor = 128&lt;br&gt;&lt;br&gt;which would stop the movement.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3639</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3639</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steve&lt;br&gt;Thanks for getting back to me. Seems like I just had to tweak the red filter a bit. What I would like to do now is have the spykee just sit still until it sees the ball and then start tracking. I&apos;m not familiar with writing Vbscript yet but I&amp;nbsp;&amp;nbsp;am very slowly figuring it out. What part of the script should be altered to have the robot just sit and not rotate until it sees the ball? Thanks again        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3639</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3639</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        It is supposed to pivot when it doesn&apos;t see anything red and move forward only when it sees something red.&lt;br&gt;&lt;br&gt;What you can do it snap an image using the main RR gui when it is moving forward and then investigate what in that image could be causing the issue by loading it into RR with the Spykee module disabled. Then you can step through each module to see what is being detected (mainly the RGB module in particular).&lt;br&gt;&lt;br&gt;Or post the image that you snapped here and we&apos;ll investigate what might be going wrong.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3639</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3639</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Spykee Red Ball</title>
        <description>
        Hi. I loaded the Spykee Red Ball program into roborealm and spykee just starts rolling forward. It doesn&apos;t track anything. Is the robot supposed to move continuously or just when it sees something red? I set the motor pulses to 50 so at least now it doesn&apos;t race off but it still doesn&apos;t track. Any ideas?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3639</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3639</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
