<?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>
        boaz,&lt;br&gt;&lt;br&gt;Yes, you can add in the VBScript module just before you send out the variable to the servos and include the following code.&lt;br&gt;&lt;br&gt;cogX = GetVariable(&quot;COG_X&quot;) &lt;br&gt;if cogx = &quot;&quot; then&lt;br&gt;&amp;nbsp;&amp;nbsp;cogx = GetVariable(&quot;LAST_COG_X&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;COG_X&quot;, cogx&lt;br&gt;end if&lt;br&gt;&lt;br&gt;SetVariable &quot;LAST_COG_X&quot;, cogx&lt;br&gt;&lt;br&gt;which will use the last non-zero COG_X value if the current one is zero. It will also update the LAST_COG_X variable with the current coord if not zero.&lt;br&gt;&lt;br&gt;You&apos;d need to also do this for COG_Y.&lt;br&gt;&lt;br&gt;You can also put in a counter that if after say 10 times of being zero you&apos;d then assign zero to COG_X if you needed at some point the values to be zero.&lt;br&gt;&lt;br&gt;Or you could also average the past values .... lots of options here!&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;&lt;br&gt;         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2961</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2961</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        correction- the COG_X\\Y gives N\\A ( not a 0)..&lt;br&gt;&lt;br&gt;(is their any way to change a post ?)&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;&lt;br&gt;boaz        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2961</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2961</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>transfering variable from previous frame-using VBScript</title>
        <description>
        hi&lt;br&gt;i have built a pan-tilt webcam using BrainStem controller.&lt;br&gt;when the program run the COG_X\\Y is flickering in the same rate if FPS.&lt;br&gt;in some interval of 15-25 frame it throws 0 to COG and the Pan-Tilt loos the direction.&lt;br&gt;&lt;br&gt;is their any way to transfer the SERVO_VALUE or COG_X\\Y from the previous frame using VBScript module?&lt;br&gt;or a better solution to avoid the 0 that i get ?&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;&lt;br&gt;boaz        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2961</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2961</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
