<?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>
        Thank you Steven for the detailed example. This is valuable information for the arm movement. Great software!        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4029</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4029</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ariel,&lt;br&gt;&lt;br&gt;If you download 2.37.5 you will be able to use the &lt;br&gt;&lt;br&gt;[variable]&lt;br&gt;&lt;br&gt;expression in the rate field (and the min/max too) to get that value from a variable. So if you want to control the rate of channel one put in something like &lt;br&gt;&lt;br&gt;[channel_1_rate]&lt;br&gt;&lt;br&gt;and set that variable to the rate that you want to send to the board.&lt;br&gt;&lt;br&gt;The next question you will have is how to alter that variable at specific times. You&apos;d have to use one of the programming modules like the VBScript module and enter&lt;br&gt;&lt;br&gt;if GetVariable(&quot;servo_1_pos&quot;) &amp;lt;&amp;gt; 2500 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; set the servo position to extreme&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;servo_1_pos&quot;, 2500&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;channel_1_rate&quot;, 5000&lt;br&gt;&amp;nbsp;&amp;nbsp;SetTimedVariable &quot;channel_1_rate&quot;, 2000, 500&lt;br&gt;&amp;nbsp;&amp;nbsp;SetTimedVariable &quot;channel_1_rate&quot;, 100, 1000&lt;br&gt;end if&lt;br&gt;&lt;br&gt;which will set the servo position to the max and start out really fast. 1/2 second later (500ms) it will slow to less than 1/2 speed and finally after 1 second (1000ms) it will really slow down till completion.&lt;br&gt;&lt;br&gt;The trick here is the timing. &lt;br&gt;&lt;br&gt;IF you have feedback turned on that is can be more automatic.&lt;br&gt;&lt;br&gt;if GetVariable(&quot;end_servo_1_pos&quot;) &amp;lt;&amp;gt; 2500 then&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; set the servo position to extreme ... this will CHANGE with feedback&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;servo_1_pos&quot;, 2500&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;end_servo_1_pos&quot;, 2500&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;channel_1_rate&quot;, 5000&lt;br&gt;&lt;br&gt;else&lt;br&gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; adjust rate&lt;br&gt;&amp;nbsp;&amp;nbsp;diff = GetVariable(&quot;servo_1_pos&quot;) - GetVariable(&quot;end_servo_1_pos&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;if diff &amp;lt; 0 then diff = - diff&lt;br&gt;&amp;nbsp;&amp;nbsp;if diff &amp;lt; 1000 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;channel_1_rate&quot;, 3000&lt;br&gt;&amp;nbsp;&amp;nbsp;elseif diff &amp;lt; 500 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;channel_1_rate&quot;, 2000&lt;br&gt;&amp;nbsp;&amp;nbsp;elseif diff &amp;lt; 100 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;channel_1_rate&quot;, 100&lt;br&gt;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;end if&lt;br&gt;&lt;br&gt;which will set the rate based on how far the servo has to go. You can play with the actual distance to speed values (or even create a formula which will transform distance into speed) to get the right ones for you.&lt;br&gt;&lt;br&gt;Hopefully this gets you along the desired path.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4029</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4029</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Changing Servo speed from VBScript</title>
        <description>
        HI, Im working with VBScript module sending variables to Lynxmotion_SSC but I dont know how to change the servomotor speed from VBScript. Im only able to modify the speed from the Lynxmotion_SSC interface for every motor. My objective is to accelerate the arm at the beginning of the movement and slowdown before the tip reaches the target.&lt;br&gt;&lt;br&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Is it possible to modify the servo speed programmatically in VBScript module?&lt;br&gt;&lt;br&gt;Let me know if you have any advice. &lt;br&gt;&lt;br&gt;Thank you.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4029</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4029</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
