<?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>
        Pablo,&lt;br&gt;&lt;br&gt;If I&apos;m not mistake I would expect the servo values to range from 500 to 2500? If so, the actual formula should be:&lt;br&gt;&lt;br&gt;x = CInt((x/width)*2000) + 500&lt;br&gt;y = CInt((y/heigth)*2000) + 500&lt;br&gt;&lt;br&gt;because your range above would be 0 to 2000. +500 gets it into the right range.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5660</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5660</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>scale servo arduino object tracking</title>
        <description>
        I have a problem with the tracking object. the servos dont work good. the servos are moving for every side. I think that is problem with the scale and I dont understand how to do that, who can help me? thanks, sorry with my english I&apos;m learning. Im using arduino uno and the code of the page roborealm.&lt;br&gt; my vbs is &lt;br&gt;&lt;br&gt;width = GetVariable(&quot;IMAGE_WIDTH&quot;)&lt;br&gt;heigth = GetVariable(&quot;IMAGE_HEIGHT&quot;)&lt;br&gt;&lt;br&gt;if GetVariable(&quot;COG_BOX_SIZE&quot;) &amp;gt; 10 then&lt;br&gt;&lt;br&gt;x = GetVariable(&quot;COG_X&quot;)&lt;br&gt;y = GetVariable(&quot;COG_Y&quot;)&lt;br&gt;&lt;br&gt;x = CInt((x/width)*2000)&lt;br&gt;y = CInt((y/heigth)*2000)&lt;br&gt;&lt;br&gt;&lt;br&gt;SetVariable &quot;servo_position_x&quot;,x&lt;br&gt;SetVariable &quot;servo_position_y&quot;, y&lt;br&gt;&lt;br&gt;end if&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5660</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5660</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
