<?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>
        Tanner,&lt;br&gt;&lt;br&gt;How a look at the robofile in the top 3 tutorials in the joystick control area.&lt;br&gt;&lt;br&gt;Basically, the idea for using a button is to increment or decrement a variable based on a button being on. The amount you use will determine the speed at which the variable changes.&lt;br&gt;&lt;br&gt;For example, if you place a joy_button_1 in any of the joystick module variable fields and then follow that with a VBScript module which includes&lt;br&gt;&lt;br&gt;if GetVariable(&quot;joy_button_1&quot;) &amp;lt;&amp;gt; 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;my_value&quot;, GetVariable(&quot;my_value&quot;) + 10&lt;br&gt;end if&lt;br&gt;&lt;br&gt;which will increment the variable my_value by 10 each time the button is pressed. To decrement just use another button and&lt;br&gt;&lt;br&gt;if GetVariable(&quot;joy_button_2&quot;) &amp;lt;&amp;gt; 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;my_value&quot;, GetVariable(&quot;my_value&quot;) - 10&lt;br&gt;end if&lt;br&gt;&lt;br&gt;The tutorials contain info on using differential steering ... basically that&apos;s a mapping from the joystick value of -1000 to 1000 and convert that to 0 to 255 and send that to a servo/motor controller.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4064</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4064</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Button Control of servo</title>
        <description>
        Hello All, fairly new to all this so my apologies if this is extremely obvious.... But how the heck do you control a servo with two buttons on an xbox controller? I&apos;m running through a Parallax servo controller and can control the servo with a joystick, but i havent gotten the button thing yet. It will be a servo controlled tilt for a camera and id like to be able to assign one button to up a little (20ish) and the other button to down. &lt;br&gt;Another thing im trying to do is use differential drive steering with the joystick (stick forward both motors forward, stick left = right motor forward left motor back) so help with either would be much appreciated.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4064</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4064</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
