<?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>
        OK correct me if I&apos;m wrong here, I was checking out the module and COG_X.&lt;br&gt;I unplugged my pan servo then watched COG_X.&amp;nbsp;&amp;nbsp;It would seem to me that COG_X is the real &quot;end_servo_1_pos&quot; variable.&lt;br&gt;&lt;br&gt;so I should be able to assign COG_X to the &quot;end_servo_1_pos&quot; variable&lt;br&gt;would that be correct?&lt;br&gt;&lt;br&gt;That being said then that just leaves me with how to query the servos current position and how to change the rate.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4080</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4080</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Sero movment rates and Query servo position</title>
        <description>
        Hi there,&lt;br&gt;&lt;br&gt;I was sifting through some code on the forums.&amp;nbsp;&amp;nbsp;I came across&amp;nbsp;&amp;nbsp;this:&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;But It leaves me with a few questions. &lt;br&gt;1.&amp;nbsp;&amp;nbsp;diff = GetVariable(&quot;servo_1_pos&quot;) - GetVariable(&quot;end_servo_1_pos&quot;)&lt;br&gt;&lt;br&gt;I take it that GetVariable(&quot;servo_1_pos&quot;) can be had from my set variable for the x servo commanded position from the COG_X variable, but&amp;nbsp;&amp;nbsp;GetVariable(&quot;end_servo_1_pos&quot;) leaves me wondering where that is taken from.&lt;br&gt;&lt;br&gt;I have been searching for the last 3 days trying to figure out how to get that number.&lt;br&gt;&lt;br&gt;I tried to use that code Like it was but not only could I not find end_servo_1_pos. I also could not get the rate to change in the SSC-32 module.&lt;br&gt;&lt;br&gt;2.&amp;nbsp;&amp;nbsp;So just how do I go about reading it end position and setting the actual servo movenent rate?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Robert        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4080</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4080</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
