<?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>
        &lt;br&gt;Thanks, that answers my question 100% (I suspected as much, but didnt know for sure.)&lt;br&gt;&lt;br&gt;(ahhh. my arduino was supposed to arrive today... now I will have to wait until monday :-(...)        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ahh, Its good to be back on this forum. I haven&apos;t had time to do any Roborealm for months but exams are gonna start and end soon and I&apos;ll have 3 weeks to dedicate to Roborealm YAY!&lt;br&gt;&lt;br&gt;Anyway, to answer your question, the Arduino communicates through serial. The USB is just an interface for the serial. This will work just fine with a USB version of the Arduino, the computer will detect it as a serial device and you can communicate over a COM port.&lt;br&gt;&lt;br&gt;I don&apos;t know the terminology or technicalities behind it though, so someone might like to explain it better.&lt;br&gt;&lt;br&gt;Hope that answers your question :)        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        &lt;br&gt;Im wondering, do I need a actual physical serial connection with the arduino? Or does the USB connection somehow emulate the serial connection?&lt;br&gt;&lt;br&gt;In other words, will this work over USB?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello ProfMason, I am having a bit of trouble getting the Arduino to listen to the COM port. &lt;br&gt;&lt;br&gt;I am using COM1 in roborealm and I have changed to the same port on the Arduino. When I open the serial monitor in the Arduino IDE (i think thats what the technical term for the program is) it has a message at the bottom saying &quot;COM1 is already in use. Try quitting any program that may be using it&quot;.&lt;br&gt;&lt;br&gt;I have both set to a baud rate of 9600. Any idea how I can get around this. I thought that it would be a good thing that another program is using the same COM port, that way it can receive data through it haha.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Sam,&lt;br&gt;&lt;br&gt;If that robofile continues to crash RR please post it here so we can take a look at it.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        OK, I think I know the problem.&lt;br&gt;&lt;br&gt;Arduino changed the servo library between version 11 and 12.&amp;nbsp;&amp;nbsp;I wrote everything for version 11.&amp;nbsp;&amp;nbsp;Version 12 has a built in hardware servo library that uses one of the timers and only works on ports 9 and 10.&amp;nbsp;&amp;nbsp;The calls are conflicting between the two libraries.&amp;nbsp;&amp;nbsp;Last night I rewrote the software servo library and renamed it SoftwareServo on my system.&amp;nbsp;&amp;nbsp;Someone else did this in a nice package and fixed a small timing issue.&amp;nbsp;&amp;nbsp; To fix these issues download the updated library from here.&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;a href=&quot;http://www.avride.com/pop/store/SoftwareServo_millisSet_addon.zip&quot; target=&quot;_blank&quot;&gt;http://www.avride.com/&lt;wbr&gt;pop/&lt;wbr&gt;store/&lt;wbr&gt;SoftwareServo_&lt;wbr&gt;millisSet_&lt;wbr&gt;addon.zip&lt;/a&gt;&lt;br&gt;Just copy the files into your hardware/libraries and hardware/cores directories.&lt;br&gt;&lt;br&gt;I had to change all my references to servo in the code to SofwareServo and it worked again.&lt;br&gt;&lt;br&gt;Take a look at the code in yellow at the bottom of this page which shows how to talk to the updated library. &lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/ComponentLib/Servo&quot; target=&quot;_blank&quot;&gt;http://www.arduino.cc/&lt;wbr&gt;playground/&lt;wbr&gt;ComponentLib/&lt;wbr&gt;Servo&lt;/a&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thanks for the reply,&lt;br&gt;I&apos;m trying to compile the arduino code you have on your website, but it gives me this error:&lt;br&gt;19: error: servo.h: No such file or directory In function &apos;void setup()&apos;:&lt;br&gt;In function &apos;void loop()&apos;:&lt;br&gt;In function &apos;int nextByte&apos;:&lt;br&gt;&lt;br&gt;I used the servo library you mentioned by putting it into the hardware/libraries/ folder and still get the same error.&lt;br&gt;&lt;br&gt;Also the arduinoserver.robo file causes my robo realm to crash upon opening it.&amp;nbsp;&amp;nbsp;I&apos;m assuming that has something to do with the com port I&apos;m using.         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Be more specific Sam....&lt;br&gt;&lt;br&gt;One thing you should be sure not to do is to name your file servo.&amp;nbsp;&amp;nbsp;Python will then think your file is the servo library and give you errors!&amp;nbsp;&amp;nbsp;DONE THAT!&lt;br&gt;&lt;br&gt;I am working on an arduino based PID controller (well at least the PD part) which is talking roborealm through a serial protocol.&amp;nbsp;&amp;nbsp;It is controlling this cutie:&lt;br&gt;&lt;a href=&quot;http://profmason.com/?p=783&quot; target=&quot;_blank&quot;&gt;http://profmason.com/&lt;wbr&gt;?p=783&lt;/a&gt;&lt;br&gt;If you look closely, you can see roborealm running on the screen.&lt;br&gt;&lt;br&gt;I have a winter student working on an autonomous blimp.&amp;nbsp;&amp;nbsp;We just got the camera going on Friday.&amp;nbsp;&amp;nbsp; The blimp is also arduino based:&lt;br&gt;&lt;a href=&quot;http://mtsacflight.blogger.com&quot; target=&quot;_blank&quot;&gt;http://mtsacflight.blogger.com&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Jeff, I have the same issue how did you fix it?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hey guys, &lt;br&gt;I eventually got this working using a different arduino sketch, and a little vbscript. - thanks for your suggestions!         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hey Prof,&lt;br&gt;I just swapped out the standard &apos;Servo&apos; library for the one you linked to above and i&apos;m still getting &quot;Servo&quot; in a different color (as a reserved word) &lt;br&gt;&lt;br&gt;here is the exact code im using, and the errors below it..&lt;br&gt;Thanks for the above suggestions tho!&lt;br&gt;&lt;br&gt;------------------------------------------------&lt;br&gt;//This is the library of servo commands&lt;br&gt;#include &amp;lt;Servo.h&amp;gt;&lt;br&gt;Servo servo1;&lt;br&gt;int state = HIGH;&lt;br&gt;int NumIn[] = {0,0,0};&lt;br&gt;int v = 0;&lt;br&gt;int d = 0;&lt;br&gt;int LED = 7;&lt;br&gt;void setup() {&lt;br&gt;pinMode(LED, OUTPUT); // sets pin7 as a digital output for the LED&lt;br&gt;pinMode(1,OUTPUT);&lt;br&gt;digitalWrite(LED, state); // toggle LED&lt;br&gt;servo1.attach(14); //analog pin 0&lt;br&gt;// Set Serial mode to 2400 8N1 and send out Ready on the serial line.&lt;br&gt;Serial.begin(2400);&lt;br&gt;Serial.println(&quot;Ready&quot;);&lt;br&gt;}&lt;br&gt;void loop() {&lt;br&gt;// Wait for input from the serial port&lt;br&gt;byte i = 0;&lt;br&gt;while (d != 78) { // wait for header again&lt;br&gt;d = nextByte();&lt;br&gt;NumIn[i] = d;&lt;br&gt;i += 1;&lt;br&gt;}&lt;br&gt;// Since the input is in the form of an array three values this has to be&lt;br&gt;// processed to return a 3 digit number IE 1,2,3 becomes 123&lt;br&gt;if (NumIn[1] == 78) {NumIn [2] = NumIn[0]; NumIn[1]=0;NumIn[0]=0;}&lt;br&gt;else if (NumIn[2] == 78) {NumIn[2]=NumIn[1];NumIn[1]=NumIn[0];NumIn[0]=0;}&lt;br&gt;v = 100 * NumIn[0] + 10 * NumIn[1] + NumIn[2];&lt;br&gt;//The input should be an angle between 0 and 180 degrees, rotate the servo&lt;br&gt;//to that angle&lt;br&gt;servo1.write(v);&lt;br&gt;//This servo refresh command actually makes the servo move.&lt;br&gt;Servo::refresh();&lt;br&gt;delay (10);&lt;br&gt;// Toggle the State of the LED&lt;br&gt;if (state == HIGH)&lt;br&gt;state = LOW;&lt;br&gt;else&lt;br&gt;state = HIGH;&lt;br&gt;digitalWrite(LED, state); // toggle LED&lt;br&gt;for (int j=i-1; j&amp;lt;4; j++) {&lt;br&gt;NumIn[j] = 0; // null out NumIn&lt;br&gt;}&lt;br&gt;Servo::refresh();&lt;br&gt;}&lt;br&gt;// This function waits for data, if there is no data, then it refreshes the servo.&lt;br&gt;// If the servo isnt refreshed every 50ms, it doesnt track&lt;br&gt;int nextByte() {&lt;br&gt;while(1) {Servo::refresh();&lt;br&gt;if(Serial.available() &amp;gt; 0) {&lt;br&gt;int b = Serial.read();&lt;br&gt;b = b - 48; //Convert ASCII # to DEC #&lt;br&gt;return b;&lt;br&gt;}&lt;br&gt;}&lt;br&gt;}&lt;br&gt;-------------------------------&lt;br&gt;-------------------------------&lt;br&gt;and the errors:&lt;br&gt;&lt;br&gt;In file included from C:\\Documents and Settings\\trash\\Desktop\\arduino-0012\\hardware\\cores\\arduino/WProgram.h:4,&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected unqualified-id before &apos;int&apos;&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected `)&apos; before &apos;int&apos;&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected `)&apos; before &apos;int&apos;&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected unqualified-id before &apos;int&apos;&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)&apos; before &apos;int&apos;&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)&apos; before &apos;int&apos;&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected identifier before &apos;(&apos; token&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected `)&apos; before &apos;(&apos; token&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected &apos;,&apos; or &apos;...&apos; before &apos;(&apos; token&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected initializer before &apos;)&apos; token&lt;br&gt;&lt;br&gt;&lt;br&gt;c:/documents and settings/trash/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:176: error: &apos;__compar_fn_t&apos; has not been declared&lt;br&gt;&lt;br&gt;&lt;br&gt;In file included from C:\\Documents and Settings\\trash\\Desktop\\arduino-0012\\hardware\\cores\\arduino/WProgram.h:6,&lt;br&gt;&lt;br&gt;------------------------------------&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Just a shot in the dark, but did you include the header file:&lt;br&gt;&lt;br&gt;#include &amp;lt;Servo.h&amp;gt;&lt;br&gt;&lt;br&gt;This is required at the top of your code to make the servo calls work.&amp;nbsp;&amp;nbsp;I also note that your Servo is highlighted, which probably means it is a reserved word.&amp;nbsp;&amp;nbsp;On my code, it is in the same script as the rest of the code (IE not color coded as per reserved words)&lt;br&gt;&lt;br&gt;Are you importing any other headers besides the Servo.h?&amp;nbsp;&amp;nbsp;One of these might use &apos;Servo&apos; as a reserved word. &lt;br&gt;&lt;br&gt;I suspect&amp;nbsp;&amp;nbsp;you might be using the wiring servo library instead of the library that I used which is linked here:&lt;br&gt;&lt;a href=&quot;http://www.arduino.cc/playground/uploads/ComponentLib/servo.zip&quot; target=&quot;_blank&quot;&gt;http://www.arduino.cc/&lt;wbr&gt;playground/&lt;wbr&gt;uploads/&lt;wbr&gt;ComponentLib/&lt;wbr&gt;servo.zip&lt;/a&gt;&lt;br&gt;&lt;br&gt;hope this helps!&lt;br&gt;profmason&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hey Guys,&lt;br&gt;I am SOO close to getting this working.. i&apos;m just getting hung up on the arduino code. It&apos;s giving me a couple errors. (copy/paste quotes are not real ASCII characters etc.) PROFMASON - Thanks a ton for your posts on how to do this! Can you direct me on why i&apos;m getting the errors in the arduino sketch? - its appreciated!&lt;br&gt;&lt;br&gt;I had to modify the .robo file ProfMason posted because it kept crashing the robo program.&amp;nbsp;&amp;nbsp;but i got that working and it looks like this: &lt;br&gt;-------------------------------------------------------&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17809_1.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17809_thumb_1.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;-------------------------------------------------------&lt;br&gt;&lt;br&gt;and my arduino sketch error...&lt;br&gt;-------------------------------------------------------&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17809_2.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17809_thumb_2.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;-------------------------------------------------------&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Shane,&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Proff Mason has posted some code and a .robo on his website&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://profmason.com/?p=543&quot; target=&quot;_blank&quot;&gt;http://profmason.com/&lt;wbr&gt;?p=543&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Good luck and let us know what you manage to do with the two.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Yes please?&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        profmason,&lt;br&gt;&lt;br&gt;Any chance you could post a quick snippet of Arduino code that could serve as an example? Or perhaps a link to such an example?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Arduino</title>
        <description>
        I have controlled Arduino based devices from RoboRealm.&amp;nbsp;&amp;nbsp;Basically just setup the code on your Arduino to continually read the serial port(using the serial.read command)&amp;nbsp;&amp;nbsp;The Arduino will need to execute the desired code based on the incoming serial stream.&amp;nbsp;&amp;nbsp;For instance if you want to control a servo, have the Arduino take the serial input and pass it to the servo. Have roborealm output an appropriate serial character that gives the desired servo position based on the camera output.&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;good luck!        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi,&lt;br&gt;&lt;br&gt;We&apos;ve yet to get an Arduino but know that since it does accept a serial connection it is possible to use the Serial module to communicate with the device. We initially did this with the Parallax Boe-Bot before the BoeBot module was created (if you have a GUI that is built for a device that is always easier to use but not required). Have a look at the serial module and some of the other posts in the forum as to how people have used the serial module to control all sorts of devices.&lt;br&gt;&lt;br&gt;Hopefully we will have a specialized Arduino module at some point ...&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I&apos;ve got the same question...        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>interfacing an Arduino with robo realm?</title>
        <description>
        is it possible to interface an Arduino Diecimila with the robo realm software? &lt;br&gt;&lt;br&gt;P.S. I&apos;m kind of a newb        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=1534</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=1534</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
