<?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>
        Nurul,&lt;br&gt;&lt;br&gt;There are a couple mistakes in the script that you included. I think there might be some confusion with regards to the memory space of the VBScript module and the memory of RR. Since the VBScript runs in its own space it needs to use the Get and Set Variable functions to move data into and out of RR space. Without that setting or getting the information will not move correctly into RR. I think what you want to use is&lt;br&gt;&lt;br&gt;---------&lt;br&gt;&lt;br&gt;&apos;Get servo variables &lt;br&gt;&lt;br&gt;meanIntensity = GetVariable (&quot;MEAN_INTENSITY&quot;) &lt;br&gt;&lt;br&gt;&apos;Servo rotate according to mean intensity value &lt;br&gt;if meanIntensity &amp;lt; 126 then &lt;br&gt;&lt;br&gt;Position_New= 512 + 100 &lt;br&gt;&lt;br&gt;else&lt;br&gt;&lt;br&gt;Position_New= 512 - 100 &lt;br&gt;&lt;br&gt;end if &lt;br&gt;&lt;br&gt;SetVariable &quot;Position_New&quot;, Position_New &lt;br&gt;&lt;br&gt;---------&lt;br&gt;&lt;br&gt;since the CENTRE variable is not being set as a VBScript variable. I assume you are using Position_New variable in the Dynamixel module right?&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Servo AX dynamixel is not moving</title>
        <description>
        Hi Steven, &lt;br&gt;&lt;br&gt;Currently, I have problem in connecting AX 12 Dynamixel servo. The servo is being recognized by RR however, when I did some programming to turn servo into certain angle, it did not work. &lt;br&gt;&lt;br&gt;I use VBS script function. &lt;br&gt;&lt;br&gt;This is my program that I have made and use the mean intensity value to move the servo. &lt;br&gt;&lt;br&gt;___________________________________________________________________ &lt;br&gt;&lt;br&gt;&apos;Get servo variables &lt;br&gt;&lt;br&gt;meanIntensity = GetVariable (&quot;MEAN_INTENSITY&quot;) &lt;br&gt;SetVariable &quot;CENTRE&quot;, 512 &lt;br&gt;&lt;br&gt;&apos;Servo rotate according to mean intensity value &lt;br&gt;&lt;br&gt;if meanIntensity &amp;lt; 126 then &lt;br&gt;&lt;br&gt;Position_New= CENTRE + 100 &lt;br&gt;&lt;br&gt;end if &lt;br&gt;&lt;br&gt;SetVariable &quot;Position_New&quot;, Position_New &lt;br&gt;&lt;br&gt;__________________________________________________________________ &lt;br&gt;&lt;br&gt;Questions: &lt;br&gt;&lt;br&gt;1. What are the possible reasons for the servo is not moving? &lt;br&gt;2. Do I have to everytime check on the Robotis Dynamixel function before doing any programming coding in VBS script? &lt;br&gt;3. Does the coding above is correct?&lt;br&gt;&lt;br&gt;Your help are highly appreciated. &lt;br&gt;&lt;br&gt;Thanks        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
