<?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>
        Sorry, I forgot to include AVM Navigator module to the top of the video pipeline in my program.robo file. It is necessary for producing of NV_L_MOTOR and NV_R_MOTOR variables. So you should include it yourself :)        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4102</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4102</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I think for merging of manual and automatic control by Navigator is needed changes in your VBScript program like this:&lt;br&gt;&lt;br&gt;&lt;br&gt;&apos; this program translates the joystick range of -1000 and 1000 to 0 and 255. This number&lt;br&gt;&apos; can then be feed directly to the robot for speed and turing&lt;br&gt;&lt;br&gt;&apos; amount of y joystick determines speed &lt;br&gt;speed = 128 - CInt(((GetVariable(&quot;joy_y&quot;) * 128) / 1000))&lt;br&gt;&apos; amount of x joystick determines rotation&lt;br&gt;turn = CInt(((GetVariable(&quot;joy_x&quot;) * 128) / 1000))&lt;br&gt;&lt;br&gt;&apos; determine intermediate values&lt;br&gt;manual_left = speed + turn&lt;br&gt;manual_right = speed - turn&lt;br&gt;&lt;br&gt;&apos;ensure they are within the range 0 - 255&lt;br&gt;if manual_left&amp;lt;0 then manual_left=0&lt;br&gt;if manual_right&amp;lt;0 then manual_right=0&lt;br&gt;if manual_left&amp;gt;255 then manual_left=255&lt;br&gt;if manual_right&amp;gt;255 then manual_right=255&lt;br&gt;&lt;br&gt;nv_L_Motor = GetVariable(&quot;NV_L_MOTOR&quot;) &lt;br&gt;nv_R_Motor = GetVariable(&quot;NV_R_MOTOR&quot;) &lt;br&gt;&lt;br&gt;nxt_L_Motor = round(128 + (nv_L_Motor/100.0)*127) &lt;br&gt;nxt_R_Motor = round(128 + (nv_R_Motor/100.0)*127)&lt;br&gt;&lt;br&gt;manual_control = GetVariable(&quot;MANUAL_CONTROL&quot;)&lt;br&gt;&lt;br&gt;if manual_left &amp;lt;&amp;gt; 128 OR manual_right &amp;lt;&amp;gt; 128 then manual_control = 100&lt;br&gt;&lt;br&gt;if manual_control = 0 then mleft = nxt_L_Motor else mleft = manual_left&lt;br&gt;if manual_control = 0 then mright = nxt_R_Motor else mright = manual_right&lt;br&gt;&lt;br&gt;if manual_control &amp;gt; 0 then manual_control = manual_control - 1&lt;br&gt;&lt;br&gt;&apos; finally set the variables to be used in the joystick module&lt;br&gt;SetVariable &quot;left_motor&quot;, mleft&lt;br&gt;SetVariable &quot;right_motor&quot;, mright&lt;br&gt;SetVariable &quot;MANUAL_CONTROL&quot;, manual_control&lt;br&gt;&lt;br&gt;&lt;br&gt;If manual control is activated then it set the value of MANUAL_CONTROL variable to 100.&amp;nbsp;&amp;nbsp;Control will be switched to manual in this case and will stay in this status during about 4 seconds after stop of manual commands (while MANUAL_CONTROL will countdown).&lt;br&gt;&lt;br&gt;For more detail see attached program file below:        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4102</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4102</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I assume I would use the AVM - NV_L_MOTOR &amp; NV_R_MOTOR variables in some way?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4102</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4102</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Can I merge AVM with external control</title>
        <description>
        Hey I was just wondering if it was possible to merge my existing RR program with AVM.&amp;nbsp;&amp;nbsp;I want be able to control my bot with my Playstation remote (which already works) and still have AVM do its thing.&amp;nbsp;&amp;nbsp;Attached is my file please take a look an let me know if it can be done.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4102</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4102</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
