<?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>
        Edward,&lt;br&gt;&lt;br&gt;I&apos;d recommend trying to reduce the complexity of the VBScript part and determine what part is doing what. Keep in mind that this script was taken from a motor system that required apposing values on both motors to move forward ... this is not the case with the boebot where two equal values will move it forward. At this point you will have to experiment with the system to determine what you want to do. &lt;br&gt;&lt;br&gt;We noticed that the current VBScript has been reverted back to the old one as apposed to our simplified version. Thus this is a good time to start experimenting by removing parts of the file that you don&apos;t think you need and once you understand what is happening start to add back in the parts to perform certain movements.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello Steven, Now the boe bot is moving but I have a problem, the boe bot doesn&apos;t turn correctly. It only run forward and When the boe doesn&apos;t detect the color It is turning left slowly.&lt;br&gt;What kind of problem is there?&lt;br&gt;I have changed the object tracking color to blue because it is better than red color.&lt;br&gt;&lt;br&gt;Thank you very much        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</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;Here&apos;s the robofile that we used to test this. Note that we simplified the VBScript file a little to make debugging easier. The program download to the BoeBot is &lt;br&gt;&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;Note that this assumes BlueTooth (the 0 in SERIN) otherwise you will need to change it to 16 (COM1 connected).&lt;br&gt;&lt;br&gt;Also note that motors are on 14 and 15 as apposed to 12, 13.&lt;br&gt;&lt;br&gt;See if this robofile works for you.&lt;br&gt;&lt;br&gt;Note that the robot should turn to face a red object.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello. I&apos;m sorry. The last &quot;DOWNLOAD .robo&quot; is wrong. &lt;br&gt;You have the good project here.&amp;nbsp;&amp;nbsp;Could you look if there is some mistake?&lt;br&gt;&lt;br&gt;Thank you        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello, the first, I am very grateful for your help.&lt;br&gt;You have my project here. Could you look if there is some mistake?&lt;br&gt;&lt;br&gt;Thank you very much.         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</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;can you include your robofile so that we can take a look at all your configuration. Just save a file using somename.robo after clicking on the Save button from the main RR interface (it is used for both images and robofiles). In your next post include that filename in the last Browse button when making a post.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        try reducing the video format (I don&apos;t remember the numbers, but I think it is the second smallest possible setting).        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello, this is my serial configuration.The port com is correct in the serial communications, it say me &quot;connected&quot;. I don&apos;t know that number put in the baud, now I have the number (115200). Data Bits (8).&amp;nbsp;&amp;nbsp;Parity (None).&amp;nbsp;&amp;nbsp;Stop Bits (1). Console (Ascii). &lt;br&gt;Initialization Sequence, it&apos;s empty. In send sequence, I have &quot;[LEFT_MOTOR] and [RIGHT_MOTOR]. In send Rate I have put &quot;AFAP&quot; and receive sequence it&apos;s empty.&amp;nbsp;&amp;nbsp; &lt;br&gt;&lt;br&gt;Video format; 320x240 , color YUY2,&amp;nbsp;&amp;nbsp;speed of pictures 5000.&lt;br&gt;&lt;br&gt;by the end, I have also added parallax_boebot, is it correct?&lt;br&gt;with the next configuration:&lt;br&gt;&lt;br&gt;Motors: LEFT(COG_Y) RIGHT(COG_X) &lt;br&gt;Input/output Pins (selected)&lt;br&gt;14 COG_X (bit 8) OUT&lt;br&gt;15 COG_Y (bit 8) OUT&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you very much        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        are you sure that the settings in the Serial module are correct... it is using the correct port, is the baud and other settings the same as what the BOEBot is looing for?&amp;nbsp;&amp;nbsp;I would also make the pause statement in the BOEbot program a bit longer (try 20 ms).&amp;nbsp;&amp;nbsp;Also check the size settings for the camera under Options --&amp;gt; Video tab --&amp;gt; Video format.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Roborealm can&apos;t connect with boe-bot (serial port)</title>
        <description>
        Good morning, I am following the &quot;Why track colors?&quot; tutorial to do a school project with my boe-bot. In the Roborealm I have added The RGBFilter, the Center of Gravity, the mean filter,the VBScript Program, the serial communications and parallax_boebot.&lt;br&gt;Now, I am lost because I do not know how does roborealm communicate with boe-bot. Could anybody tell me? &lt;br&gt;I have inserted in the boe-bot this code with basic Stamp :&lt;br&gt;&lt;br&gt;&apos; {$STAMP BS2}&lt;br&gt;&apos; {$PBASIC 2.5}&lt;br&gt;&apos; {$PORT COM1}&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;After that, I have added the VBScript Program in the Roborealm program with the next code:&lt;br&gt;&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;&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;&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;&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;end if&lt;br&gt; &lt;br&gt;serial send sequence for Roborealm:&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;Next, I have inserted serial communications and finally I have added parallax_boebot. After doing these things the boebot doesn&apos;t move, it might be some error of configuration.&lt;br&gt;&lt;br&gt;can anybody help me, please?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you very much&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2831</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2831</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
