<?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>
        Scott,&lt;br&gt;&lt;br&gt;Robert is on the right track, in your case it would be more like&lt;br&gt;&lt;br&gt;x = Cint(((GetVariable(&quot;JOY_X&quot;)+1000) * 255) / 2000)&lt;br&gt;&lt;br&gt;which will scale -1000 to 1000 down to 0 to 255 (I think you meant 255 instead of 250).&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4075</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4075</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I&apos;m not sure exactly how to do that. But, I&apos;m using this to scale my servo movements to the camera view.&lt;br&gt;&lt;br&gt;&apos; scale the image space into the servo space&lt;br&gt;&amp;nbsp;&amp;nbsp;x = CInt(((x/width)*2000))+500&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; scale the image space into the servo space&lt;br&gt;&amp;nbsp;&amp;nbsp;y = CInt(((y/height)*2000))+500&lt;br&gt;&lt;br&gt;I&apos;m guessing it will be something very close to&amp;nbsp;&amp;nbsp;that.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4075</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4075</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Joystick to Sabertooth</title>
        <description>
        I am using the Joystick module and the Sabertooth module.&amp;nbsp;&amp;nbsp;I need to scale down the Joystick movements from (-1000 to 1000) to something the Sabertooth can recognize (0-250).&amp;nbsp;&amp;nbsp;Sorry for the repost:)        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4075</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4075</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
