<?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>
        Has anyone tried to get the L2F light intensities?&lt;br&gt;&lt;br&gt;I want to get the light intensity values of a photo resistor loaded on the Boe-Bot but I am not getting a handshake if I add code to receive 2 more values of buffer in basic stamp. Has anyone done that before?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello Steven, I have changed the program but it doesn&apos;t work correctly. When I click &quot;run&quot; in RR the boe moves but after the 3 servo (vertical tilt movement) it gives a strong turn and later doesn&apos;t work anything. &lt;br&gt;I&apos;m using the eb500,a battery of 9v, two servos (x,y) and a miniservo (tilt).&lt;br&gt;&lt;br&gt;You have my project here, could you please take a look at it, to know if there are any mistakes?&lt;br&gt;&lt;br&gt;and BS2 code (that you told me).&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;x VAR Word &lt;br&gt;y VAR Word &lt;br&gt;tilt VAR Word &lt;br&gt;&lt;br&gt;main: &lt;br&gt;SERIN 0,84,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y,DEC4 tilt] &lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;14, x &lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;15, y &lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;13, tilt &lt;br&gt;PAUSE 5 &lt;br&gt;GOTO main &lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you for your time        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thank you very much. Now the RR it&apos;s running with vista.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Anonymous,&lt;br&gt;&lt;br&gt;Try to use&lt;br&gt;&lt;br&gt;regsvr32 ScriptSite.dll&lt;br&gt;&lt;br&gt;in one of those folders. That will tell the Windows OS to register that component. OR try running RoboRealm as an Administrator at least once and it will try to do that too. (See the FAQ for more information)&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.roborealm.com/FAQ.php#q13&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/&lt;wbr&gt;FAQ.php#q13&lt;/a&gt;&lt;br&gt;&lt;br&gt;Albert,&lt;br&gt;&lt;br&gt;The SetVariable is in RoboRealm in the VBScript module NOT in the BS2 code.&lt;br&gt;&lt;br&gt;The two parts you have there seem about right. The part that you are missing is in the serial communication to the boebot. I assume you are using the serial module to send commands to the boebot. You will need to modify that send sequence to include the Y or tilt component.&lt;br&gt;&lt;br&gt;so the send sequence would be something like&lt;br&gt;&lt;br&gt;![Left_motor]&amp;lt;lf&amp;gt;[Right_motor]&amp;lt;lf&amp;gt;[tilt]&amp;lt;lf&amp;gt; &lt;br&gt;&lt;br&gt;and your BS2 code would be &lt;br&gt;&lt;br&gt;x VAR Word&lt;br&gt;y VAR Word&lt;br&gt;tilt VAR Word&lt;br&gt;&lt;br&gt;main:&lt;br&gt;SERIN 0,84,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y,DEC4 tilt]&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;14, x&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;15, y&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;16, tilt&lt;br&gt;PAUSE 5&lt;br&gt;GOTO main &lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello, I would like to make the vertical tilt movement but I don&apos;t know how introduce the variables in BS2. I have this in BS2:&lt;br&gt;&lt;br&gt;x VAR Word&lt;br&gt;y VAR Word&lt;br&gt;&lt;br&gt;main:&lt;br&gt;SERIN 0,84,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y]&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;14, x&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;15, y&lt;br&gt;PAUSE 5&lt;br&gt;GOTO main&lt;br&gt;&lt;br&gt;and&amp;nbsp;&amp;nbsp;the vbscript:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; initialize our start motor values to neutral &lt;br&gt;left_base = 750 &lt;br&gt;right_base = 750 &lt;br&gt;tilt = 700&amp;nbsp;&amp;nbsp; &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get current image size &lt;br&gt;&amp;nbsp;&amp;nbsp;width = GetVariable(&quot;IMAGE_WIDTH&quot;) &lt;br&gt;&amp;nbsp;&amp;nbsp;center = width / 2 &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get the size (width or height) of the current &lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; bounding box &lt;br&gt;&amp;nbsp;&amp;nbsp;size = GetVariable(&quot;COG_BOX_SIZE&quot;) &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; if it is equal to &quot;&quot; then no object was detected &lt;br&gt;&amp;nbsp;&amp;nbsp;if size &amp;lt;&amp;gt; &quot;&quot; then &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; get the horizontal center of gravity found by the COG &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; module &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogX = GetVariable(&quot;COG_X&quot;) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it is less than 75 the blob is on the left side &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; of the screen so move that way &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogX &amp;lt; center-5 then &lt;br&gt;&amp;nbsp;&amp;nbsp;left_base = 750 &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750-(cogX-center)/2&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise move to the right if above 85 pixels (and no &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; movement if 75 &amp;lt; cogX &amp;lt; 85 ) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogX &amp;gt; center+5 then &lt;br&gt;left_base = 750+(center-cogX)/2 &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750 &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the ball is too close then we have to move backwards &lt;br&gt;size = GetVariable(&quot;COG_BOX_SIZE&quot;) &lt;br&gt;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&amp;nbsp;(size &amp;gt; 60)&amp;nbsp;&amp;nbsp;then &lt;br&gt;left_motor = left_base+((60-size)*2) &lt;br&gt;right_motor = right_base-((60-size)*2) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else &lt;br&gt;left_motor = left_base-((size-60)*3) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; right_motor = right_base+((size-60)*3) &lt;br&gt;&amp;nbsp;&amp;nbsp; end if &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; set the final motor values to be picked up by &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; the SSC module &lt;br&gt;end if &lt;br&gt;if (size&amp;lt;10) then &lt;br&gt;left_motor=750 &lt;br&gt;right_motor=750 &lt;br&gt;end if &lt;br&gt;SetVariable &quot;LEFT_MOTOR&quot;, CInt(left_motor) &lt;br&gt;SetVariable &quot;RIGHT_MOTOR&quot;, CInt(right_motor) &lt;br&gt;&apos; now lets work on the tilt ... grab the current &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; tilt value &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = GetVariable(&quot;TILT&quot;) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it was not set then default to 700 (in our case &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; this is horizontal to the floor) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if tilt = &quot;&quot; then &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = 700 &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the blob is below 55 then tilt down up a bit more &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise tilt up a little more &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogY = GetVariable(&quot;COG_Y&quot;) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogY &amp;lt; 55 then &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = tilt - (60-cogY)/5 &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogY &amp;gt; 65 then &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = tilt + (cogY-60)/5 &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; we don&apos;t want to look up more than horizontal to the &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; floor as we don&apos;t expect the &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; ball to be on the ceiling &lt;br&gt;&amp;nbsp;&amp;nbsp; if (cogY&amp;lt;5)or(cogY&amp;gt;105) then &lt;br&gt;tilt =700 &lt;br&gt;end if &lt;br&gt;&lt;br&gt;I saw this code in a previous post. He say that introduce in BS2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;TILT&quot;, CInt(tilt)&amp;nbsp;&amp;nbsp;but the Stamp editor has a error.&lt;br&gt;&lt;br&gt;How can I insert the tilt variable in Bs2?&lt;br&gt;&lt;br&gt;Thank you very much&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Good morning, I am using a bluetooth and eb500 with windows vista system. Every time that I click &quot;run&quot; the program tell me &quot;Could not find the file ScriptSite.dll Please place in the c/windows/system32 You will find the ScriptSite.dll in the roborealm folder&quot;. After this I copy and paste this file in the folder system32 but always it tell me the same, and I can&apos;t sent date to Boe.&lt;br&gt;&lt;br&gt;I have 1.8.23.4 version of Roborealm.&lt;br&gt;&lt;br&gt;Anybody can help me?&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;Thank you&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        The other alternative to the recommended USBLIVE product noted above is to use a TV Tuner video card.&amp;nbsp;&amp;nbsp;Hauppauge makes one and I&apos;ve been using it on my laptop with no problems.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Edward,&lt;br&gt;&lt;br&gt;The camera would need to transmit its signal back to the PC and then a USB digitizer will be needed to get the video into the PC. So you need two components like:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.geeks.com/details.asp?InvtId=203C-50MW-N&amp;AID=10440852&amp;CJPID=2194341&amp;cm_ven=CJ&amp;cm_pla=2194341&amp;cm_ite=REDIRECT-ProductSpecific_Text_9-11-2006&amp;cm_cat=1920981&quot; target=&quot;_blank&quot;&gt;http://www.geeks.com/&lt;wbr&gt;details.asp?InvtId=203C-&lt;wbr&gt;50MW-&lt;wbr&gt;N&amp;AID=10440852&amp;CJPID=2194341&amp;cm_&lt;wbr&gt;ven=CJ&amp;cm_&lt;wbr&gt;pla=2194341&amp;cm_&lt;wbr&gt;ite=REDIRECT-&lt;wbr&gt;ProductSpecific_&lt;wbr&gt;Text_&lt;wbr&gt;9-&lt;wbr&gt;11-&lt;wbr&gt;2006&amp;cm_&lt;wbr&gt;cat=1920981&lt;/a&gt;&lt;br&gt;&lt;br&gt;and&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.hauppauge.com/pages/products/data_usblive.html&quot; target=&quot;_blank&quot;&gt;http://www.hauppauge.com/&lt;wbr&gt;pages/&lt;wbr&gt;products/&lt;wbr&gt;data_&lt;wbr&gt;usblive.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;to get the image into the camera. See the tutorial on &lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.roborealm.com/tutorial/ball_picker/slide010.php&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/&lt;wbr&gt;tutorial/&lt;wbr&gt;ball_&lt;wbr&gt;picker/&lt;wbr&gt;slide010.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;as to how we did that.&lt;br&gt;&lt;br&gt;Yes, you can select the COM port in serial with Bluetooth ... the Bluetooth connection looks like a serial COM port to the PC. So the change is easy from a physical serial cable to bluetooth.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Steven Gentner,thanks for the reply!&lt;br&gt;&lt;br&gt;I have changed the buad to 9600 and I have used the parameter SERIN 16 in Bs2,but the boebot doesn&apos;t stop to move in circles. After I have read this post,now the boebot is working well.&lt;br&gt;&lt;br&gt;I want to do the wireless connection , and I want to add a wireless cam, too.&lt;br&gt;I know I have to buy the bluetooth adapter eb500, a bluetooth adabter for pc, a wireless cam but how does it connect to PC?&lt;br&gt;Can you tell me the components that I need, please?&lt;br&gt;&lt;br&gt;Finally, I change the Serin to 0. In Serial communications I can&apos;t select port com, because I will use bluetooth. Do I use the USB_HID in Roborealm?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Edward,&lt;br&gt;&lt;br&gt;Yes, two current issues. One, you need to specify 9600 buad in the serial module .. it seems that you did not have anything set when we loaded in your robofile. &lt;br&gt;&lt;br&gt;Second, the SERIN command needs a 16 instead of a 0 as the first parameter since you are using COM1 or the physical connection. 0 works with the bluetooth but you need 16 if you are to run it over the debugging COM1.&lt;br&gt;&lt;br&gt;We will continue to investigate your script further as even when it does communicate with the boebot it does not appear to be sending out the right motor values.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello, I followed the &quot;Color Object Tracking&quot;&amp;nbsp;&amp;nbsp;tutorial and I also reviewed this post. After that I have created the roborealm project and the boebot doesn&apos;t work,doesn&apos;t move anything. I don&apos;t understand why it&apos;s happens. I use the serial comunications without eb500. &lt;br&gt;I have upload my project. can anybody look my project and say me if all is good?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Glad it working.&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ah, it finally works now! I guess I relied too much upon the original algorithm. So I changed the algorithm to fit what I needed: Boe Bot soccer goalie.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        here it is...        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        ok, after further hacking I finally got it back to the way is was b4. Now it still has problem in going other directions. Here is the .robo with moving forward and backward commented out(it only has the turn towards red ball function).&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I notice that different things happen if I change the COM port. Just want to check that the outgoing port is the correct one to use for serial        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        i have a table which translates that&amp;nbsp;&amp;nbsp;for 8 data bits, no parity through line driver, the val is 396 for 2400 baud. &lt;br&gt;&amp;nbsp;&amp;nbsp;I am sending &lt;br&gt;! [Left_motor] &amp;lt;lf&amp;gt; [Right_motor] &amp;lt;lf&amp;gt;&lt;br&gt;like Tom did.&lt;br&gt; And this used to work. But now even though the console shows that it is being sent and even the eb500&apos;s light is on, the bot still doesnt move.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        are you sending a &quot;!&quot; as part of your SEROUT?&amp;nbsp;&amp;nbsp;Are you sure that 396 is the correct value for receiving a 2400 baud signal?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        more updates...&lt;br&gt;&amp;nbsp;&amp;nbsp;If I decrease the baudrate to 2400 instead of 9600, it seems like(at least for now) that the lag has stopped. Even the serial modules shows that the positions are being transmitted. However, the boebot does nothing!&lt;br&gt;&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;PAUSE 1000&lt;br&gt;x VAR Word&lt;br&gt;y VAR Word&lt;br&gt;&lt;br&gt;main:&lt;br&gt;&apos;Connect to the remote device&lt;br&gt;&lt;br&gt;SERIN 0,396,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y]&lt;br&gt;&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;14, x&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;15, y&lt;br&gt;&lt;br&gt;GOTO main        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        btw, that bot of yours looks awesome!&lt;br&gt;I tried troubleshooting a bit more. And it seems like after I finally resolved my bluetooth issues, the fps is now always low(instead of before where only if the ball goes off the camera then roborealm starts lagging). Because of the constant lag, the boebot no longer moves at all. If this code works for you, would that mean that I have a camera issue? &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Again, thanks for your help        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I basically built my boebot off of yours. And because nothing is fully functional yet, I have not added anything. I only altered the camera size.&lt;br&gt;&amp;nbsp;&amp;nbsp;On another thread I talked about another issue that I had. The frame rate greatly decreases with this code. Can you run it and see if that happens for you? Thanks!&lt;br&gt;&lt;br&gt;Le        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Can you post the code you are using. I started this thread and have a robot set up that I can test your code on.&lt;br&gt;Tom&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17268_1.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17268_thumb_1.jpg&quot;&gt;&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I&apos;ve managed to fix the freezing up problem. Seems to have been caused by problems with my bluetooth adapter. The Boebot can move, but it only move forward and not back. Any help?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        the .robo file you posted a few post prior also freezes up on roborealm. I&apos;m sure it ran fine on your pc. What could be the problem?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        thanks for the reply! I got it working!&lt;br&gt;However, when I tried using the eb500 instead it didn&apos;t work. When I ran the .robo roborealm comes with the error that roborealm needs to close. I know that the eb500 is connected to the pc and I ran the exact vb code and .robo that you had. &lt;br&gt;&amp;nbsp;&amp;nbsp; Do you know why it freezes?&lt;br&gt;&lt;br&gt; Thanks for the help!        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I think the code should be the same... double check your settings in the &quot;Serial&quot; section to make sure you are actually communicating with all the correct settings (speed, port, etc.).         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I&apos;m trying to do the same and I&apos;m having some trouble. I used the exact code above and roborealm shows that it recognizes the ball I&apos;m using and my BOE even flashes continuously. But nothing happens. &lt;br&gt;&amp;nbsp;&amp;nbsp; One reason that nothing is happening is probably because I&apos;m not using the eb500 properly. I know that the eb500 allows for the pc to communicate to the board wirelessly, but I just want to have the boebot connected via serial. How would the code be different?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        If I remember correctly , This was the send sequence I used.&lt;br&gt;&lt;br&gt;! [Left_motor] &amp;lt;lf&amp;gt; [Right_motor] &amp;lt;lf&amp;gt; [Tilt] &amp;lt;lf&amp;gt;&lt;br&gt;&lt;br&gt;I am sorry I have not posted this sooner. I have been away taking care of my mom who was battling cancer. She is doing fine now.&lt;br&gt;Tom A&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        This is the VB script running on roborealm in the above video.&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; initialize our start motor values to neutral&lt;br&gt;left_base = 750&lt;br&gt;right_base = 750&lt;br&gt;tilt = 700&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get current image size&lt;br&gt;&amp;nbsp;&amp;nbsp;width = GetVariable(&quot;IMAGE_WIDTH&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;center = width / 2&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get the size (width or height) of the current&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; bounding box&lt;br&gt;&amp;nbsp;&amp;nbsp;size = GetVariable(&quot;COG_BOX_SIZE&quot;)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; if it is equal to &quot;&quot; then no object was detected&lt;br&gt;&amp;nbsp;&amp;nbsp;if size &amp;lt;&amp;gt; &quot;&quot; then&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; get the horizontal center of gravity found by the COG&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; module&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogX = GetVariable(&quot;COG_X&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it is less than 75 the blob is on the left side&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; of the screen so move that way&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogX &amp;lt; center-5 then&lt;br&gt;&amp;nbsp;&amp;nbsp;left_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750-(cogX-center)/2&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise move to the right if above 85 pixels (and no&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; movement if 75 &amp;lt; cogX &amp;lt; 85 )&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogX &amp;gt; center+5 then&lt;br&gt; left_base = 750+(center-cogX)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the ball is too close then we have to move backwards&lt;br&gt;size = GetVariable(&quot;COG_BOX_SIZE&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&amp;nbsp;(size &amp;gt; 60)&amp;nbsp;&amp;nbsp;then&lt;br&gt; left_motor = left_base+((60-size)*2)&lt;br&gt; right_motor = right_base-((60-size)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br&gt;left_motor = left_base-((size-60)*3)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; right_motor = right_base+((size-60)*3)&lt;br&gt;&amp;nbsp;&amp;nbsp; end if&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; set the final motor values to be picked up by&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; the SSC module&lt;br&gt;end if&lt;br&gt;if (size&amp;lt;10) then&lt;br&gt;left_motor=750&lt;br&gt;right_motor=750&lt;br&gt;end if&lt;br&gt; SetVariable &quot;LEFT_MOTOR&quot;, CInt(left_motor)&lt;br&gt; SetVariable &quot;RIGHT_MOTOR&quot;, CInt(right_motor)&lt;br&gt;&apos; now lets work on the tilt ... grab the current &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; tilt value&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = GetVariable(&quot;TILT&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it was not set then default to 700 (in our case &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; this is horizontal to the floor)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if tilt = &quot;&quot; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = 700&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the blob is below 55 then tilt down up a bit more&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise tilt up a little more&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogY = GetVariable(&quot;COG_Y&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogY &amp;lt; 55 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = tilt - (60-cogY)/5&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogY &amp;gt; 65 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = tilt + (cogY-60)/5&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; we don&apos;t want to look up more than horizontal to the &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; floor as we don&apos;t expect the&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; ball to be on the ceiling&lt;br&gt;&amp;nbsp;&amp;nbsp; if (cogY&amp;lt;5)or(cogY&amp;gt;105) then&lt;br&gt;tilt =700&lt;br&gt;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; and set that value for the bs2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;TILT&quot;, CInt(tilt)&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I&apos;m sorry Steve, I should have clarified a little better in the post, I just jumped in on this thread at the end, and am not the original person that posted.&amp;nbsp;&amp;nbsp;my issue is getting information from the stamp. I am working on having the stamp read information from sensors, and then input that data into RR. In my little example, I am trying to send the number 65, and have it read by RR, and stored as a variable. If you could look at my examples, and tell me why I am not getting a variable generated that holds the value, sent from the stamp, I would be extremely grateful. Sorry again, that I didn&apos;t clkarify a little better, but the thread seemed to be dealing with similar issues, and I was trying to avoid starting another thread.... Ooops!        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        It is a rather long thread, so appologies in advance if I am way off base, but isn&apos;t the idea for the Stamp to &quot;read&quot; the serial string from RoboRealm?&amp;nbsp;&amp;nbsp;That is, shouldn&apos;t you be using SERIN, not SEROUT?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I dunno, I am still having problems, and it must be something simple.... I cannot get the variable to create, and thus no data.... I will attach my simple test code here:&lt;br&gt;&lt;br&gt;STAMP CODE:&lt;br&gt;&lt;br&gt;&apos;&amp;nbsp;&amp;nbsp; {$STAMP BS2}&lt;br&gt;&apos;&amp;nbsp;&amp;nbsp; {$PBASIC 2.5}&lt;br&gt;&lt;br&gt;st:&lt;br&gt;SEROUT 16,16468, [DEC 65, 10]&lt;br&gt;GOTO st&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The way that I am understanding the 16468, should be the 8 data bits, with no parity, the 16 should be the correct pin, although I have tried others...&lt;br&gt;&lt;br&gt;and the simple robofile is also attached here:&lt;br&gt;&lt;br&gt;It must be something really simple that I am doing wrong, but for the life of me, I have not been able to figure what I am continually doing wrong.&lt;br&gt;&lt;br&gt;I really appreciate your help!&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Correct, it only creates the variable when it receives the data. One thing to note is that based on [test]\\n RoboRealm will wait for a newline to signal the end of the value for &apos;test&apos;. Thus you will need to send 65 and then 10 in order to signal the end of the variable. OR you could specify \\[test] without the \\n and with a single &apos;\\&apos; in front of it. This tells RoboRealm that the variable test should be created using a single byte that is received from the serial stream. If you want to use 4 bytes (a word) use a double &apos;\\\\&apos; instead.&lt;br&gt;&lt;br&gt;Does this help?&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ok, steven... Hmmm so this [test]\\n should be in the large box under receive sequence, in the roborealm serial module? For some reason, it is saying that it is connected to my BS2 board, and I am sending from the BS2 board, but the variable -test- is not being created, and I have tried this about a thousand different ways.... in my BS2 code, I am sending the dec number 65, over and over, and never seeing the -test- variable created... I&apos;m not sure that I understand how the receive section of the serial module actually works, or how to correctly use the insert field, if the module is going to create the variable when it receives the information... Does any of this make any sense?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        grindel,&lt;br&gt;&lt;br&gt;The difference between the two is that the // mean that a binary number (4byte number) will be transmitted as apposed to a variable amount depending on the size of the number being transmitted in text.&lt;br&gt;&lt;br&gt;The \\\\n is the escape sequence for a newline that indicates the end of a text message that should be read into [test].&lt;br&gt;&lt;br&gt;Thus the line&lt;br&gt;&lt;br&gt;[test]\\\\n&lt;br&gt;&lt;br&gt;will read in anything sent from the BoeBot until a newline is seen. Then it will start reading again and again for as many messages come from the BoeBot overwriting the value within the variable &quot;test&quot;. &lt;br&gt;&lt;br&gt;Keep in mind that the \\\\n is actually just a single byte.&lt;br&gt;&lt;br&gt;Note that the &quot;test&quot; variable will only be created when something was read. &lt;br&gt;&lt;br&gt;Does that make any better sense?&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>[test]\\n in the boe bot .robo file</title>
        <description>
        I am still trying to wrap my head around serial communications.&amp;nbsp;&amp;nbsp;I don&apos;t see where the &quot;[test]\\n&quot; in the receive sequence of&amp;nbsp;&amp;nbsp;the serial command is doing anything in this boe bot communication.&amp;nbsp;&amp;nbsp;Why would the \\n be in there in the first place?&amp;nbsp;&amp;nbsp;In the serial communications section, it mentions it in examples, but I find them hard to understand.&amp;nbsp;&amp;nbsp;I&apos;ll quote them here:&lt;br&gt;&quot;&lt;br&gt;[binary_input_1]:\\[binary_input_2]&lt;br&gt;&lt;br&gt;which would read binary numbers delimited by &apos;:&apos; and ended with \\r into the two variables (\\1024:\\667\\n) but&lt;br&gt;&lt;br&gt;[ascii_input_1]:[ascii_input_2]&lt;br&gt;&lt;br&gt;would read in two ascii numbers into the two variables (1024:667\\n). &quot;&lt;br&gt;&lt;br&gt;I have tried transmitting the \\n to roborealm, but maybe I am not doing it right.&lt;br&gt;&lt;br&gt;Also, when I run the boe bot .robo file &quot;test&quot; doesn&apos;t show up as one of the variables.&amp;nbsp;&amp;nbsp;What is the preferred method of initializing this variable?&amp;nbsp;&amp;nbsp;Would it show up if I ever got it to write?&lt;br&gt;&lt;br&gt;As mentioned in an earlier thread, I am trying to write a value to a variable from a propeller microcontroller, I can see the correct inputs in hyperterminal, but I am doing something wrong in roborealm because it never correctly sets the variable.&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;I hope this is not too much of a threadjack, but I wanted to respond in the same thread as the .robo files in question.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Anyone try this yet</title>
        <description>
        I was wondering if anyone has tried this setup and what they think of it.&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;The parts for the pan and tilt are cnc machined from expanded pvc. The unit uses 2 mini servos and a spycam I purchased on ebay. The bumper uses 4 small springs and 4-40 screws. The super bright leds were purchased from ebay as well. The whole assembly minus the cam ( cam availible seperatly on ebay ) is availible on ebay, but for those who wish to make their own see the attached pics and email me if you have any questions.&lt;br&gt;&lt;br&gt;Tom&lt;br&gt;harms1@optonline.net&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/842_1.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/842_thumb_1.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/842_2.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/842_thumb_2.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/842_3.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/842_thumb_3.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/842_4.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/842_thumb_4.jpg&quot;&gt;&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        &lt;br&gt;Very cool!! Can you explain or do you have a link that describes the pan/tilt system more? Perhaps a quick parts list of how you&apos;ve accomplished this would help others achieve the same thing!&lt;br&gt;&lt;br&gt;Nice!&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Guys,&lt;br&gt;Heres a new video of Bluetooth Boe Bot with Pan and Tilt accessory running with Roborealm.&lt;br&gt;&lt;br&gt; &lt;a href=&quot;http://www.youtube.com/watch?v=gbf0zaxWjvI&quot; target=&quot;_blank&quot;&gt;http://www.youtube.com/watch?v=gbf0zaxWjvI&lt;/a&gt;&lt;br&gt;&lt;br&gt;Tom&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/837_1.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/837_thumb_1.jpg&quot;&gt;&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Here is an update to vb script program for color tracking Boe Bot. Some bugs have been worked out.&lt;br&gt;&lt;br&gt;Tom&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; initialize our start motor values to neutral&lt;br&gt;left_base = 750&lt;br&gt;right_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get current image size&lt;br&gt;&amp;nbsp;&amp;nbsp;width = GetVariable(&quot;IMAGE_WIDTH&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;center = width / 2&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get the size (width or height) of the current&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; bounding box&lt;br&gt;&amp;nbsp;&amp;nbsp;size = GetVariable(&quot;COG_BOX_SIZE&quot;)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; if it is equal to &quot;&quot; then no object was detected&lt;br&gt;&amp;nbsp;&amp;nbsp;if size &amp;lt;&amp;gt; &quot;&quot; then&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; get the horizontal center of gravity found by the COG&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; module&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogX = GetVariable(&quot;COG_X&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it is less than 75 the blob is on the left side&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; of the screen so move that way&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogX &amp;lt; center-5 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_base = 750-(center-cogX)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise move to the right if above 85 pixels (and no&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; movement if 75 &amp;lt; cogX &amp;lt; 85 )&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogX &amp;gt; center+5 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750+(cogX-center)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the ball is too close then we have to move backwards&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (size&amp;gt;90) then&lt;br&gt; left_motor = left_base+((40-size)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_motor = right_base-((40-size)*2)&lt;br&gt; &apos; otherwise move forward&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br&gt;left_motor = left_base-((size-40)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_motor = right_base+((size-40)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; set the final motor values to be picked up by&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; the SSC module&lt;br&gt;end if&lt;br&gt;if (size&amp;lt;20) then&lt;br&gt;left_motor=750&lt;br&gt;right_motor=750&lt;br&gt;end if&lt;br&gt; SetVariable &quot;LEFT_MOTOR&quot;, CInt(left_motor)&lt;br&gt; SetVariable &quot;RIGHT_MOTOR&quot;, CInt(right_motor)&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;Thanks for the advise, I think I will have to set motors to 750 near end of code. The ball is styrofoam painted red on a shish kabob skewer. The camera is one of those cheap spy cams from ebay ( about $30.00 ) with receiver. I&apos;m not sure if you can get those cams with different frequencies, but the Soccer Boe Bot sounds like fun project.&lt;br&gt;Tom         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;Thanks for posting the video above!! It shows some nice control of the BoeBot using video. Is that a kitty-cat toy that you are using for the red ball? I&apos;m enjoying the comparison of play with your robot like playing with your cat :-)&lt;br&gt;&lt;br&gt;Its interesting in that using the size of the red ball one can do a simplistic depth perception in that the robot will move forwards and backwards based on the size of the ball. Perhaps you can now turn the BoeBot into a soccer playing robot?&lt;br&gt;&lt;br&gt;Also which camera did you use on the BoeBot?&lt;br&gt;&lt;br&gt;Great stuff!&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Yes, you can check the COG_BOX_SIZE and if that is &amp;gt; 20 then you probably have an object in view. To see that working check out the robo-file in another forum post at &lt;a href=&quot;http://www.roborealm.com/forum/index.php?forum_id=806&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/forum/index.php?forum_id=806&lt;/a&gt;&lt;br&gt;&lt;br&gt;I&apos;m assuming that you are using the COG?&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Guys,&lt;br&gt;I am working on getting the Boe Bot to stay still when no object is detected. Any thoughts?&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;Here is the address of the video. I did some more fine tuning of software.&lt;br&gt;http://www.youtube.com/watch?v=mngim02Cqec &lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;I am working on the video. Of all things to happen I need to get some batteries.....lol I should have some by this evening. &lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;That&apos;s fantastic! When do we get to see a video??&lt;br&gt;&lt;br&gt;The code looks good and we don&apos;t have any suggestions at this time. If we think of something we&apos;ll post it here!&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        STeven,&lt;br&gt;We have finaly got the Boe Bot with eb500 bluetooth working perfectly.It works perfectly with the color tracking tutorial. With your help and that of Jeff who has some posts here related to the same project, it is working. We made some changes to the vb script as well as the Bs2 code and the send sequence. The changes are as follows:&lt;br&gt;&lt;br&gt;Bs2 code&lt;br&gt;&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;x VAR Word&lt;br&gt;y VAR Word&lt;br&gt;main:&lt;br&gt;SERIN 0,84,[WAIT (&quot;!&quot;),DEC4 x,DEC4 y]&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;14, x&lt;br&gt;PULSOUT&amp;nbsp;&amp;nbsp;15, y&lt;br&gt;PAUSE 5&lt;br&gt;GOTO main&lt;br&gt;&lt;br&gt;&lt;br&gt;VB script&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; initialize our start motor values to neutral&lt;br&gt;&amp;nbsp;&amp;nbsp;left_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;right_base = 750&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get current image size&lt;br&gt;&amp;nbsp;&amp;nbsp;width = GetVariable(&quot;IMAGE_WIDTH&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;center = width / 2&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get the size (width or height) of the current&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; bounding box&lt;br&gt;&amp;nbsp;&amp;nbsp;size = GetVariable(&quot;COG_BOX_SIZE&quot;)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; if it is equal to &quot;&quot; then no object was detected&lt;br&gt;&amp;nbsp;&amp;nbsp;if size &amp;lt;&amp;gt; &quot;&quot; then&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; get the horizontal center of gravity found by the COG&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; module&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogX = GetVariable(&quot;COG_X&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it is less than 75 the blob is on the left side&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; of the screen so move that way&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogX &amp;lt; center-5 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_base = 750-(center-cogX)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise move to the right if above 85 pixels (and no&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; movement if 75 &amp;lt; cogX &amp;lt; 85 )&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogX &amp;gt; center+5 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750-(cogX-center)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the ball is too close then we have to move backwards&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (size&amp;gt;90) then&lt;br&gt; left_motor = left_base-((40-size)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_motor = right_base+((40-size)*2)&lt;br&gt; &apos; otherwise move forward&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_motor = left_base-((size-40)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_motor = right_base+((size-40)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; set the final motor values to be picked up by&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; the SSC module&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;LEFT_MOTOR&quot;, CInt(left_motor)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;RIGHT_MOTOR&quot;, CInt(right_motor)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;end if&lt;br&gt;&lt;br&gt;send sequence&lt;br&gt;&lt;br&gt;! [Left_motor] &amp;lt;lf&amp;gt; [Right_motor] &amp;lt;lf&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;If you see ways of improving this code we would appreciate anything you can contribute.&lt;br&gt;&lt;br&gt;Thanks for all your help&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven&lt;br&gt;I will make a video and post it on you tube so you can see whats going on. I will try to get it done today.&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Great! That&apos;s good news.&lt;br&gt;&lt;br&gt;When you say not following too well can you be more specific? Does it require you to move the ball slowly? Does it not move fast enough? Is it&apos;s movement jerky?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven,&lt;br&gt;The boe bot is not following to well. But is responding to moving a red object.&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Heres the robo file        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven,&lt;br&gt; Now I&apos;m getting confused...lol&amp;nbsp;&amp;nbsp;There is no double slash in the robo file you posted. The Boe Bot is running with the following code loaded on it and the robo code attached.&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;&lt;br&gt;x VAR Word&lt;br&gt;y VAR Word&lt;br&gt;main:&lt;br&gt;SERIN 0,84,[DEC x,y]&lt;br&gt;PULSOUT 15,x&lt;br&gt;PULSOUT 14,y&lt;br&gt;PAUSE 5&lt;br&gt;GOTO main&lt;br&gt;&lt;br&gt;The only thing that is not working is that Boe Bot will not back up, but it will follow.&lt;br&gt;&lt;br&gt;Tom&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        &lt;br&gt;Note that this code will not work with the robo-file that we posted. The issue is with the use of &quot;DEC&quot; in the serin. That looks for an ascii string that represents a number. The posted robo-file transmits a 4 byte number ... not an ascii string. You will have to change the serial module to output&lt;br&gt;&lt;br&gt;[cog_x]&amp;lt;cr&amp;gt;&lt;br&gt;&lt;br&gt;i.e. remove the double \\\\ in front of the variable. You also need the &amp;lt;cr&amp;gt; since the &quot;DEC&quot; in pbasic looks for the first non-digit ascii code in order to know that the number is complete.&lt;br&gt;&lt;br&gt;Try that change with the above code that you posted and see if you have better success.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven,&lt;br&gt;My boe bot works fine with other code. As a matter of fact this code works to test eb500 and 1 servo. I am using the program.robo that you posted and this short bs2 code works with it to test communication and servo function. This code also works with direct serial connection when you change serin pin to 16&lt;br&gt;&lt;br&gt;x VAR Word&lt;br&gt;main:&lt;br&gt;SERIN 0,84,[DEC x]&lt;br&gt;PULSOUT 15,x&lt;br&gt;PAUSE 5&lt;br&gt;GOTO main&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;Can you try the other programs that come with the BoeBot to see if they still function as expected? At this point you may just want to verify that your BoeBot is functioning normally. Are you able to run the servos at different speeds even when you code those values directly into a PBasic program? I.e. use a for loop that slowly increases and decreases the motor values.&lt;br&gt;&lt;br&gt;STeven.         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven,&lt;br&gt;I am still unable to get any predictable results. One thing that I am noticeing is that something seems to be loading up. I have tried with and without the serial cable and I have had similar behaviors for both. I get no response to variable changes unless I bring object very close to cam, when I do the servos will speed up and stay in the same state even after I take the object away. The only way to change the state of the servos after this happens is to reset the boe bot. This happens with the eb500 removed from BOE as well. So I&apos;m thinking it may be related to the memory use on the bs2. I am not experienced enough to remedy this problem, but I hope this information helps in the debugging.&lt;br&gt;Thanks&lt;br&gt;Tom&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thanks STeven, I will give that a try today.&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;quick thought .. your script was using pin 0 for serin ... we were using pin 16 which is used when you have a direct serial cable connected to the BOE. Either try with a serial cable or switch the serin number to 0 like you had it.&lt;br&gt;&lt;br&gt;We only tried with the serial cable and did not try this with BT just yet.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven,&lt;br&gt;I have double checked servo connections. I can tell you that when I turn the Boe Bot on it slowly turns in place. When I start roborealm the green light on the eb500 lights up. Roborealm opens and I can wave a red object in front of cam and roborealm responds the way it should, but the Boe Bot continues to slowly turn around in place as it does before I start roborealm. I suspect that maybe my dongle may be incompatible. I am using a kensington bluetooth usb adapter 2.0 What kind are you using?&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;Check your motor pins. The code we posted was using pin 15 and 14 which are not the ones the BoeBot manual says to use.&lt;br&gt;&lt;br&gt;If the pins check out but a freqout after the serial command to hear if the serial command is completing correctly. If not, check that the serial module has the &amp;lt;cr&amp;gt; at the end.&lt;br&gt;&lt;br&gt;Also note that the \\9 at the end of the read serial command was in fact just one backslash as apposed to the doubling error that the forum caused (which is now hopefully fixed).&lt;br&gt;&lt;br&gt;If all that does not work then hard code some values that increment to even see if you can move the servo&apos;s at all.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;Thank You for the work you have done so far. I have not been able to get the code to work yet. My eb500 connects ok when robo program starts, but the servos do not respond to movement of red object. I can see the variables changing but it has no effect on Boe Bot. A similar thing happened with MSRS. When I switched from MSRS version 1.0 to version 1.5 and tried the tutorials that had worked with 1.0 my eb500 would connect but servos would not respond. When I switched back to version 1.0 everything worked fine. I dont know if this helps at all, but I figured I would mention it since the behavior is very similar.&lt;br&gt;Thanks Again&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;there is a problem with the forum posting code ... it doubles up the backslash on any posted code. Just translate each double one to a single backslash. We&apos;ll see about fixing that problem.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I do not know why the last post got 4 slashes there should only be 2.&lt;br&gt;slashslash9        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;Thanks so much for taking the time to do this. When I tried to load the Bs2 code my basic stamp editor would not let me load the second backslash in the following line :&lt;br&gt;SERIN 16, 84, 20, xmitFailed, [STR rcv_data\\\\9] &lt;br&gt;The error stated&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; expected a constant, variable, unary operator, or &apos;(&apos;&amp;nbsp;&amp;nbsp;with the second backslash highlighted.&lt;br&gt;I am using Basic Stamp Editor 2.2 with pbasic 2.5&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Tom&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;We tries the code you supplied with the Boe-Bot and found that there are some modifications that need to be made. Below is the robo-file that you can use to test the connection (try using the serial cord connection instead of the bluetooth for now). Note that the serial module has a cr at the end of the left and right motor variables. This cr is used to check in the boe-bot that everything was transmitted correcting. Using the robo-file and the following boe-bot program we were able to get the boe bot to turn based on the position of a red object. Give it a try and see if it improves what you currently have.&lt;br&gt;&lt;br&gt;Let us know how it goes. We are working on a boe-bot module that will be ready in a week or two but you should be able to use the serial module to get started.&lt;br&gt;&lt;br&gt;&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;&lt;br&gt;&apos;-----[I/O Definitions]--------------------------------------&lt;br&gt;LMotor CON 15&lt;br&gt;RMotor CON 14&lt;br&gt;&apos;-----[Constants]--------------------------------------------&lt;br&gt;&apos;-----[Variables]--------------------------------------------&lt;br&gt;rcv_data VAR Byte(9) &apos; Array&lt;br&gt;left_motor VAR Word&lt;br&gt;right_motor VAR Word&lt;br&gt;delim VAR Byte&lt;br&gt;&apos;-----[Initialization]---------------------------------------&lt;br&gt;Initialize:&lt;br&gt;&lt;br&gt;&apos;Wait for the eb500 radio to be ready&lt;br&gt;&apos;PAUSE 1000&lt;br&gt;&apos;Set the initial state to hold&lt;br&gt;left_motor = 750&lt;br&gt;right_motor = 750&lt;br&gt;GOTO main&lt;br&gt;&apos;-----[Main Code]--------------------------------------------&lt;br&gt;Main:&lt;br&gt;&apos;Wait for a command&lt;br&gt;SERIN 16, 84, 20, xmitFailed, [STR rcv_data\\9]&lt;br&gt;IF rcv_data(8)&amp;lt;&amp;gt;CR THEN xmitFailed&lt;br&gt;left_motor = rcv_data(0)|(rcv_data(1)&amp;lt;&amp;lt;8)&lt;br&gt;right_motor = rcv_data(4)|(rcv_data(5)&amp;lt;&amp;lt;8)&lt;br&gt;xmitFailed:&lt;br&gt;&lt;br&gt;PULSOUT LMotor, left_motor+10&lt;br&gt;PULSOUT RMotor, right_motor+10&lt;br&gt;GOTO Main        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Again Steven,&lt;br&gt;I have discovered a problem with my eb500 bluetooth device. I am sure that is why I have not been able to use the serial setup in Roborealm. I&amp;nbsp;&amp;nbsp;will get a new one and let you know what happens.&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        STeven,&lt;br&gt;Can you tell me exactly what the form of data is when it goes through serial port from roborealm? I am sending 2 variables and I also need to know how they start and end if I am to have any hope of making this work correctly. Forgive my ignorance on this subject, but I am trying to learn as I go.&lt;br&gt;Thanks&lt;br&gt;Tom        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi STeven,&lt;br&gt;I am using roborealm I downloaded yesterday. I am still having problem. When I add the slashes Boe Bot will not respond at all. Without slashes Boe bot will sporadically turn left only and it will not back up at all. I do not know about the cast thing you mentioned earlier, can you give me alittle more info on that.&lt;br&gt;Thanks&lt;br&gt;Tom&lt;br&gt;P.S. Is the Boe Bot plug in almost ready? I am going nuts here.....lol        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Boe Bot Serial Communication</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;Are you using the most current version of RoboRealm? The double slash technique was added about two weeks ago or so. Let us know if you still have an issue and we will investigate further.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        When I add the slashes it does not work at all. sorry about the other posts related to this one. I press wrong button to reply.&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/726_1.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/726_thumb_1.jpg&quot;&gt;&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tom,&lt;br&gt;&lt;br&gt;Try what the Parallax forums have mentioned (making the motor values 16 bits) and see if that makes a difference. Note that I assume you are using something like &lt;br&gt;&lt;br&gt;(single backslash)[left_motor](single backslash)[right_motor]&lt;br&gt;&lt;br&gt;correct? When you switch your PBasic program to accept 16 bits you will need to change the above to double backslashes since a single backslash will only transmit 8 bits over serial whereas a double will do 16. Or you can keep that the same but do the cast of 8 to 16 bits in the stamp before sending them to the PULSOUT motor coordinates.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Boe Bot Serial Communication</title>
        <description>
        Hi Guys,&lt;br&gt;I am running this bs2 code on my Boe Bot and vb script in roborealm. And I am not sure how to use the serial command window on roborealm. I can connect to my eb500 bluetooth with roborealm, but I am not sure how to set up the serial part of roborealm. The variables are being sent but Boe Bot just jerks around in circles. can anyone help?&lt;br&gt;Thanks &lt;br&gt;Tom&lt;br&gt;&lt;br&gt;&apos;-----[I/O Definitions]--------------------------------------&lt;br&gt;LMotor CON 15&lt;br&gt;RMotor CON 14&lt;br&gt;&apos;-----[Constants]--------------------------------------------&lt;br&gt;&apos;-----[Variables]--------------------------------------------&lt;br&gt;left_motor VAR Byte&lt;br&gt;right_motor VAR Byte&lt;br&gt;&apos;-----[Initialization]---------------------------------------&lt;br&gt;Initialize:&lt;br&gt;&apos;Wait for the eb500 radio to be ready&lt;br&gt;PAUSE 1000&lt;br&gt;&apos;Set the initial state to hold&lt;br&gt;left_motor = 750&lt;br&gt;right_motor = 750&lt;br&gt;GOTO main&lt;br&gt;&apos;-----[Main Code]--------------------------------------------&lt;br&gt;Main:&lt;br&gt;&apos;Wait for a command&lt;br&gt;SERIN 0,84, [DEC left_motor,right_motor]&lt;br&gt;PULSOUT LMotor,left_motor&lt;br&gt;PULSOUT RMotor,right_motor&lt;br&gt;GOTO Main&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;vb&lt;br&gt;&lt;br&gt;&apos; initialize our start motor values to neutral&lt;br&gt;&amp;nbsp;&amp;nbsp;left_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;right_base = 750&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; get the size (width or height) of the current &lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; bounding box&lt;br&gt;&amp;nbsp;&amp;nbsp;size = GetVariable(&quot;COG_BOX_SIZE&quot;)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&apos; if it is equal to &quot;&quot; then no object was detected&lt;br&gt;&amp;nbsp;&amp;nbsp;if size &amp;lt;&amp;gt; &quot;&quot; then&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; get the horizontal center of gravity found by the COG &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; module&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogX = GetVariable(&quot;COG_X&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it is less than 75 the blob is on the left side &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; of the screen so move that way&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogX &amp;lt; 75 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_base = 750-(80-cogX)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise move to the right if above 85 pixels (and no &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; movement if 75 &amp;lt; cogX &amp;lt; 85 )&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogX &amp;gt; 85 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_base = 750&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_base = 750-(cogX-80)/2&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the ball is too close then we have to move backwards&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (size&amp;gt;40) then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_motor = left_base+((size-40)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_motor = right_base+((size-40)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise move forward&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;left_motor = left_base-((40-size)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;right_motor = right_base-((40-size)*2)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; set the final motor values to be picked up by &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; the SSC module&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;LEFT_MOTOR&quot;, left_motor&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;RIGHT_MOTOR&quot;, right_motor&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; now lets work on the tilt ... grab the current &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; tilt value&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = GetVariable(&quot;TILT&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if it was not set then default to 220 (in our case &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; this is horizontal to the floor)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if tilt = &quot;&quot; then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = 220&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; if the blob is below 55 then tilt down up a bit more&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; otherwise tilt up a little more&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cogY = GetVariable(&quot;COG_Y&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if cogY &amp;lt; 55 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = tilt - (60-cogY)/5&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;elseif cogY &amp;gt; 65 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = tilt + (cogY-60)/5&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; we don&apos;t want to look up more than horizontal to the &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; floor as we don&apos;t expect the&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; ball to be on the ceiling&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if tilt &amp;gt; 220 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tilt = 220&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; and set that value for the SSC module too&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SetVariable &quot;TILT&quot;, tilt&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&lt;br&gt;&lt;br&gt;I am only sending the motor variables        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=721</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=721</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
