<?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>
        NCUI,&lt;br&gt;&lt;br&gt;Good to hear. No, all variables need not be in all caps ... that&apos;s just a convention we use to distinguish what is a variable and what is not. You can use lower case variables too .. in fact, VBScript sees THIS_TEXT and this_text as being the same variable unlike other languages like c++ which do not.&lt;br&gt;&lt;br&gt;Yes, VBScript is a simpler form of Visual Basic.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3314</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3314</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ok, thanks Steven.&amp;nbsp;&amp;nbsp;With a bit of experimenting I was able to get it to work perfectly.&amp;nbsp;&amp;nbsp;Interesting that you can declare variables in the modules and not in script and I gather that variables must be in ALL_CAPS with no spaces?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I&apos;m not familiar with VBScript syntax, is it based on Visual Basic?&amp;nbsp;&amp;nbsp;I&apos;ll have to do some reading up on it.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3314</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3314</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        NCUI,&lt;br&gt;&lt;br&gt;Its actually very similar to the red object tracking example.&lt;br&gt;&lt;br&gt;You use the VBScript module and use the follow one line to create a variable that scales accordingly. Assume that you use the variable JOY_X to represent the joystick value. This has to be added into the right place in the joystick module first. Then add a VBScript module after that with&lt;br&gt;&lt;br&gt;SetVariable &quot;SERVO_VALUE&quot;, Cint((GetVariable(&quot;JOY_X&quot;) * 255)/1000)&lt;br&gt;&lt;br&gt;which will scale the JOY_X value from 0 - 1000 to 0 - 255 meant for the servo. After this module add the Parallax module and use the variable SERVO_VALUE (that&apos;s what you just created in the VB module) as the value to send to the controller.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3314</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3314</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Joystick =&gt; Servo controller</title>
        <description>
        Hi,&lt;br&gt;I&apos;m new to RR and just started my 30 day demo.&amp;nbsp;&amp;nbsp;Before buying RR one of the first things I want to try is controlling a servo with a joystick.&amp;nbsp;&amp;nbsp;I plugged in my servo controller (a Parallax USB Servo Controller) and my joystick (a Logitech RumblePad II) and tested both appropriate RR Modules.&amp;nbsp;&amp;nbsp;Happily, everything worked perfectly.&amp;nbsp;&amp;nbsp;Now comes the hard part, I want to turn joystick input into servo motion.&amp;nbsp;&amp;nbsp;Basically the input range for a joystick axis is 0 to 1000 and for the servo it is 128 (center) to 255 (end), so if I move the joystick to a value of 500, the servo should move to a value of 194.&amp;nbsp;&amp;nbsp;How do I set this up in RR?&amp;nbsp;&amp;nbsp;I&apos;m guessing it has to be done through code some how, but what would the code look like?&amp;nbsp;&amp;nbsp;I checked the tutorials and although the rocket launcher tutorial came close, I&apos;m still a bit confused.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3314</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3314</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
