<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://createforums.irobot.com/irobotcreate/styledfeed_xsl?board.id=Create_Support" ?>
<?xml-stylesheet type="text/css" href="http://createforums.irobot.com/irobotcreate/styledfeed_css" ?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Technical Support Discussion</title>
    <link>http://createforums.irobot.com/irobotcreate/board?board.id=Create_Support</link>
    <description>Technical Support Discussion</description>
    <pubDate>Fri, 10 Sep 2010 04:59:29 GMT</pubDate>
    <dc:creator>Create_Support</dc:creator>
    <dc:date>2010-09-10T04:59:29Z</dc:date>
    <item>
      <title>iRobo Create Power ON Issue</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2025#M2025</link>
      <description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;I have been using iRobo create for a Robot purpose for past 2 years. Recently from past one month the iRobo create started behaving erratically. When I switch it on it goes on some times but every time. I tried using all the 3 buttons simultaneously but still the result is inconsistent. I also tried removing battery &amp;amp; placing it back.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;The charge indicates &amp;quot;Constant Green&amp;quot; when put it for charging. However, when I remove the charger, the iRobot doesn't switch on.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;-- Vasu&lt;/p&gt;</description>
      <pubDate>Wed, 08 Sep 2010 15:19:45 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2025#M2025</guid>
      <dc:creator>Vasu</dc:creator>
      <dc:date>2010-09-08T15:19:45Z</dc:date>
    </item>
    <item>
      <title>How to extract the real velocity values of the right and left wheels?</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2024#M2024</link>
      <description>&lt;p&gt;Hi, everybody, this is the situation:&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;If we give two values to the wheels, for instance, right wheel= 3m/s, left wheel=5m/s . However, in practice, the velocity could have some deviations because of the friction and so on.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;so I want to know the real velocity of the two wheels, &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; PS: if there are some controllers inside to control the velocity, then the real velocity is the given one;&lt;/p&gt;&lt;p&gt;but i do not whether there are controllers inside. In case there are no this kind of controllers, then the real velocity is not the given one, but I can not  extract the real velocity. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;So does any body have some ideals?&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Any help would be appreciated.  &lt;/p&gt;</description>
      <pubDate>Tue, 07 Sep 2010 20:46:33 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2024#M2024</guid>
      <dc:creator>xinwei</dc:creator>
      <dc:date>2010-09-07T20:46:33Z</dc:date>
    </item>
    <item>
      <title>Trouble reading from sensors</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2023#M2023</link>
      <description>&lt;p&gt;I've been trying to write a basic program for my create. I can tell it to drive around just fine but when I try and read from the sensors it starts messing up.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;The problem I am having is that when I use the sensors command (op code 142) it inconsistently acts up. Some times it runs just fine, spits back my sensor information and waits for me to continue. Other times it will spit back the sensor information and essentially restart the create. Other times it will cause the create to start driving around (some times it will spit back the sensor information before doing this) and other times it does nothing other then cause the 3 LEDs to blink sequentially. I've been trying data bytes 0, 1 and 6, I haven't tried the others but I can only assume it results in the same. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Originally I started out using the roombacomm API but since it wasn't originally written to work with the create I thought this might be the problem so I switched over to using RealTerm and I am still having the problem.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Any help is greatly appreciated.&lt;/p&gt;</description>
      <pubDate>Mon, 30 Aug 2010 15:59:28 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2023#M2023</guid>
      <dc:creator>Burmanator</dc:creator>
      <dc:date>2010-08-30T15:59:28Z</dc:date>
    </item>
    <item>
      <title>Ping))) Parallax Sensor - C module wanted</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2020#M2020</link>
      <description>&lt;p&gt;Hello, I have a ICreate and i have equiped it with the Parallax Ping))) sensor and servo. I have got the servo to move the way i want it and am now looking at programming the sensor.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Does anyone have a module already created and tested for the sensor?&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;any help would appreciated.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;All my love&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;gjames wb. x&lt;/p&gt;</description>
      <pubDate>Thu, 19 Aug 2010 13:24:03 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2020#M2020</guid>
      <dc:creator>gjames</dc:creator>
      <dc:date>2010-08-19T13:24:03Z</dc:date>
    </item>
    <item>
      <title>Power button on Create not working. How do I get this worked on under Warranty or elsewhere?</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2019#M2019</link>
      <description>&lt;p&gt;Power button on Create not working. How do I get this worked on under Warranty or elsewhere?&lt;/p&gt;&lt;p&gt;Any assistance would be greatly appreciated.&lt;/p&gt;&lt;p&gt;-Scott&lt;/p&gt;</description>
      <pubDate>Wed, 18 Aug 2010 22:25:23 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2019#M2019</guid>
      <dc:creator>Scott</dc:creator>
      <dc:date>2010-08-18T22:25:23Z</dc:date>
    </item>
    <item>
      <title>iRobot create programing error 1 in Windows 7</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2018#M2018</link>
      <description>&lt;div&gt;This is the Output windows text: &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;gt; &amp;quot;make.exe&amp;quot; program&lt;/div&gt;&lt;div&gt;avrdude -p atmega168 -P com54     -c stk500    -U flash:w:input.hex &lt;/div&gt;&lt;div&gt;avrdude: ser_open(): can't open device &amp;quot;\\.\com54&amp;quot;: Access is denied.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;make.exe: *** [program] Error 1&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;gt; Process Exit Code: 2&lt;/div&gt;&lt;div&gt;&amp;gt; Time Taken: 00:00&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description>
      <pubDate>Sat, 14 Aug 2010 22:16:09 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2018#M2018</guid>
      <dc:creator>artbot345</dc:creator>
      <dc:date>2010-08-14T22:16:09Z</dc:date>
    </item>
    <item>
      <title>Connectivity, Bluetooth, Dongle, BAM Issues</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2013#M2013</link>
      <description>&lt;p&gt;I am repeatedly getting this message in Matlab everytime I try to communicate commands in through a bluetooth signal. I use the bluesoleil radio and BAM advertised on this site. (These are all commands by the way that I've gotten to work with a serial cable) Does anyone know what the root problem of this is? Thanks in advance. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div&gt;&lt;font color="#FF0000"&gt;java.io.IOException: No error in nativeDrain&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;font color="#FF0000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#FF0000"&gt;at gnu.io.RXTXPort.nativeDrain(Native Method)&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;font color="#FF0000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#FF0000"&gt;at gnu.io.RXTXPort$SerialOutputStream.flush(RXTXPort.java:1209)&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;font color="#FF0000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#FF0000"&gt;at com.mathworks.toolbox.instrument.SerialComm.writeBinaryToHardware(SerialComm.java:790)&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;font color="#FF0000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#FF0000"&gt;at com.mathworks.toolbox.instrument.InstrumentWriter.writeBinarySync(InstrumentWriter.java:628)&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;font color="#FF0000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#FF0000"&gt;at com.mathworks.toolbox.instrument.InstrumentWriter.writeBinary(InstrumentWriter.java:587)&lt;/font&gt;&lt;/div&gt;&lt;p&gt;&lt;span class="Apple-style-span"&gt;&lt;span&gt;&lt;font color="#FF0000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#FF0000"&gt;at com.mathworks.toolbox.instrument.InstrumentWriter.fwrite(InstrumentWriter.java:311)&lt;/font&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;P.S.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;I think that I have a connection between the usb/bluetooth adapter and the BAM but for whatever reason, the commands in Matlab do not reliably go through to the create. And when the commands do go through they only go through for a short amount of time. This prevents me from controlling the create for long durations (i.e. over 30 seconds) of time. &lt;/p&gt;</description>
      <pubDate>Fri, 23 Jul 2010 17:15:12 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2013#M2013</guid>
      <dc:creator>jDogg</dc:creator>
      <dc:date>2010-07-23T17:15:12Z</dc:date>
    </item>
    <item>
      <title>Control Create in Matlab - Good for Beginners</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2012#M2012</link>
      <description>&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;This is a Matlab toolbox full of high-level wrapper functions (put together by Joel Esposito and some other people at the Naval Academy) designed specifically to control the iRobot Create. I have used these Matlab commands to control the Create through a serial cable (which comes with the Create) from a regular PC. I hope you find it beneficial. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Directions:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Get instructions for what the functions do and how to use them under the link entitled &amp;quot;MTIC Documentation.&amp;quot;&lt;/p&gt;&lt;p&gt;Get the functions under the link entitled &amp;quot;MTIC Files.&amp;quot; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a target="_blank" href="http://www.usna.edu/Users/weapsys/esposito/roomba.matlab/#download"&gt;http://www.usna.edu/Users/weapsys/esposito/roomba.matlab/#download&lt;/a&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;PS Here is sample code for a Proportional Derivative (PD) Controller that a friend of mine wrote to make the Create follow a black line on a white surface. It uses the front cliff sensors to follow the line. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;PD Controller Matlab Code:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;% ProportionalDerivative Controller&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Initializing the Create&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;[roombaSerialObject] = RoombaInit(1)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Setting Things Up&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span class="Apple-style-span"&gt;desired_value=30;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;kp=.008;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;kd=.0007;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;vel=.15;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Running the Program&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;for i=2:500&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;font face="'Courier New'"&gt;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;pause(.007);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Getting the Sensor Values&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;[left_front]=CliffFrontLeftSignalStrengthRoomba(roombaSerialObject);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;[right_front]=CliffFrontRightSignalStrengthRoomba(roombaSerialObject);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Setting the Initial Errors to Zero&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;left_err(1)=0;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;right_err(1)=0;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Computing the Error Values&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;left_err(i)=desired_value-left_front;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;right_err(i)=desired_value-right_front;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Computing the Derivative Error Values&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;left_err_der=left_err(i)-left_err(i-1);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;right_err_der=right_err(i)-right_err(i-1);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Getting the Actuation Values&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;act_left=kp*left_err(i)+kd*left_err_der;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;act_right=kp*right_err(i)+kd*right_err_der;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Adjusting the Wheels Speeds&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;SetDriveWheelsCreate(roombaSerialObject,vel-act_right+act_left,vel-&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;act_left+act_right);&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;end&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span&gt;&lt;font color="#008000"&gt;%Stopping the Create&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span"&gt;SetDriveWheelsCreate(roombaSerialObject,0,0);&lt;/span&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;</description>
      <pubDate>Fri, 23 Jul 2010 16:14:47 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2012#M2012</guid>
      <dc:creator>jDogg</dc:creator>
      <dc:date>2010-07-23T16:14:47Z</dc:date>
    </item>
    <item>
      <title>timeout error on the command module</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2011#M2011</link>
      <description>&lt;p&gt;I am getting an error in the WinAVR IDE while downloading the program&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;span&gt;avrdude -p atmega168 -P com9     -c stk500    -U flash:w:input.hex &lt;/span&gt;&lt;br&gt;&lt;span&gt;avrdude: stk500_2_ReceiveMessage(): timeout&lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;is there something wrong with my makefile&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;</description>
      <pubDate>Fri, 23 Jul 2010 01:06:07 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2011#M2011</guid>
      <dc:creator>ro16102003</dc:creator>
      <dc:date>2010-07-23T01:06:07Z</dc:date>
    </item>
    <item>
      <title>iRobot Create Not Switching on.</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2010#M2010</link>
      <description>&lt;p&gt;Hi, I am using a battery case with fresh/new 12 AA Alkaline batteries.&lt;/p&gt;&lt;p&gt;iRobot Create is not switching on when I press the power-on button.&lt;/p&gt;&lt;p&gt;Pls. let me know what could be the issue.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:23:23 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2010#M2010</guid>
      <dc:creator>Curious</dc:creator>
      <dc:date>2010-07-20T12:23:23Z</dc:date>
    </item>
    <item>
      <title>Question about OI (Open Interface)</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2008#M2008</link>
      <description>&lt;p&gt;I want my iRobot to drive for X meters, and while it is driving if a bumper is touched I want it to react (e.g. turning 90°). How could I write it with the OI?&lt;/p&gt;&lt;p&gt;Because if I use the Wait Mode, the iRobot won't move.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;Matt.</description>
      <pubDate>Sun, 18 Jul 2010 19:44:04 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2008#M2008</guid>
      <dc:creator>mtebele</dc:creator>
      <dc:date>2010-07-18T19:44:04Z</dc:date>
    </item>
    <item>
      <title>Using TIMER1 with PWM for Servo - Assistance Needed</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2006#M2006</link>
      <description>&lt;p&gt;&lt;strong&gt;Hello,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Long time reader, first time poster.  I am trying to get PWM working on timer1 of the CREATE.  I have timer0 successfully being used to generate 1ms (0.8ms actual) interrupts to handle sensor polling and other activities.  However, I can't get my timer1/PWM working.  My servo (which is good) only hums when hooked up.  Any suggestions on what I'm doing wrong?  &lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;I know there are a lot of ways to implement PWM- I'm willing to try a different timer mode if someone could provide some assistance.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Thanks!&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; // Setup the PWM&lt;br&gt; // ===============================&lt;br&gt; // F_PWM = F_CLOCK / (2 x N x TOP)&lt;br&gt; // 50 * (2 * N * TOP) = 18432000&lt;br&gt; // TOP = 18432000 / (2 * N * 50), @ N = 8&lt;br&gt; // TOP = 23,040 to provide a 50Hz signal&lt;br&gt; ICR1 = 23040;&lt;br&gt; TCNT1 = 0;&lt;br&gt; &lt;br&gt; //Set up phase and freq select mode for pwm&lt;br&gt; TCCR1A= (1 &amp;lt;&amp;lt; COM1A1) | //Compare Match Output A Mode, clear OC1A on compare&lt;br&gt;            (1 &amp;lt;&amp;lt; COM1A0) | //Compare Match Output A Mode&lt;br&gt;            (0 &amp;lt;&amp;lt; COM1B1) | //Compare Match Output B Mode - not used&lt;br&gt;            (0 &amp;lt;&amp;lt; COM1B0) | //Compare Match Output B Mode&lt;br&gt;            (0 &amp;lt;&amp;lt; WGM11)  | //&lt;br&gt;            (0 &amp;lt;&amp;lt; WGM10);   //Waveform Generation Mode&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; //Configuration Timer Counter Control Register B:&lt;br&gt; TCCR1B= (1 &amp;lt;&amp;lt; WGM13) | //Waveform Generation Mode - phase correct&lt;br&gt;            (0 &amp;lt;&amp;lt; WGM12) |&lt;br&gt;            (0 &amp;lt;&amp;lt; CS12) |  //Clock Select  prescaler of 8 chosen&lt;br&gt;            (1 &amp;lt;&amp;lt; CS11)  | //Clock Select  prescaler of 8 chosen&lt;br&gt;            (0 &amp;lt;&amp;lt; CS10) ;  //Clock Select  prescaler of 8 chosen&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;//Set OC1A PIN as output. It is  PB1&lt;br&gt; DDRB|=(1 &amp;lt;&amp;lt; PB1);&lt;/p&gt;&lt;p&gt;  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Then to test the servo I do this:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;for(OCR1A=750;OCR1A&amp;lt;2500;OCR1A++)&lt;br&gt; {&lt;br&gt;  delayMs(2);&lt;br&gt; }&lt;br&gt; &lt;/p&gt;</description>
      <pubDate>Fri, 16 Jul 2010 14:23:12 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2006#M2006</guid>
      <dc:creator>zmanwv</dc:creator>
      <dc:date>2010-07-16T14:23:12Z</dc:date>
    </item>
    <item>
      <title>Position of iRobot Create</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2002#M2002</link>
      <description>&lt;p&gt;I need to accurately get the position of the iRobot Create.  Currently I am using the angle and distance packet data to determine its location.  I have found this to be unreliable since sometimes the wheels slip, causing it to throw off its location.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Does anyone have an accurate way of determining the iRobot Create's relative position? &lt;/p&gt;</description>
      <pubDate>Tue, 13 Jul 2010 19:14:44 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2002#M2002</guid>
      <dc:creator>AlanRosenthal</dc:creator>
      <dc:date>2010-07-13T19:14:44Z</dc:date>
    </item>
    <item>
      <title>WebCam with OI</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2000#M2000</link>
      <description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;Is there any way to use stream images from a web camera connected to a laptop using the OI (Open Interface)??? (the laptop is connected to the iRobot by serial port)&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Because if not, I have to develop in VPL and I really don't want it. I've already developed all the algorithm in IO (drive, stop, sensors, etc), and I want to know if it is possible to include the streaming of images from a webcam for motion detection.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <pubDate>Mon, 12 Jul 2010 20:52:44 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=2000#M2000</guid>
      <dc:creator>mtebele</dc:creator>
      <dc:date>2010-07-12T20:52:44Z</dc:date>
    </item>
    <item>
      <title>Serial communication between iPAQ and iRobot via Bluetooth(BAM) ?</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1999#M1999</link>
      <description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;I am trying to use an iPAQ to communicate with an iRobot via Bluetooth (BAM). &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Here is what I was able to do so far:&lt;/p&gt;&lt;p&gt;C program (which I modified HungryTom's and compiled from Visual Studio) sends the commands to iRobot from my laptop via Bluetooth, which will use serial communication. It connects through COM8 and works good. I tested with both the serial cable and BAM with success.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Now that I want to use my PDA(HP iPAQ) instead of my laptop to send commands to the iRobot. I created a new project from Visual Studio for Windows Mobile(SDK were installed) and deployed the solution on the iPAQ (iPAQ is running on the Windows Mobile 6). I ran the deployed program from command prompt on the iPAQ. The result is &amp;quot;Failed to open port&amp;quot;, which is generated by handler having &amp;quot;INVALID_HANDLE_VALUE&amp;quot;.On the Bluetooth configuration, it says incoming port is COM4 and outgoing is COM5. I tested with COM0-COM9 but the results are the same.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Does anyone know how to resolve this issue?&lt;/p&gt;&lt;p&gt;Or should I use completely different set of APIs for iPAQ?&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Thanks in advance for any help.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;The following is the part of the code:&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;#include &amp;lt;windows.h&amp;gt;&lt;br&gt;#include &amp;lt;commctrl.h&amp;gt;&lt;br&gt;&lt;br&gt;int main()&lt;/p&gt;&lt;p&gt;{&lt;br&gt;HANDLE h;&lt;br&gt;char comport;&lt;br&gt;int pass = 0;&lt;br&gt;&lt;br&gt;for (int aa=0; aa&amp;lt;9; aa++)&lt;br&gt;{&lt;br&gt;    comport = aa+48;&lt;br&gt;    h = CreateFile(TEXT(&amp;quot;COM&amp;quot;+comport),&lt;br&gt;    GENERIC_READ|GENERIC_WRITE,&lt;br&gt;    0,NULL,&lt;br&gt;    OPEN_EXISTING,0,NULL);&lt;br&gt;   &lt;br&gt;    if(! (h == INVALID_HANDLE_VALUE)) { pass =1; break; }&lt;br&gt;    else printf(&amp;quot;Failed to open port COM%c  \n&amp;quot;,comport);&lt;br&gt;}&lt;br&gt;&lt;/p&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Sung on &lt;/span&gt;&lt;span class="local-date"&gt;07-09-2010&lt;/span&gt;&lt;span class="local-time"&gt; 03:29 PM&lt;/span&gt;&lt;/div&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Sung on &lt;/span&gt;&lt;span class="local-date"&gt;07-09-2010&lt;/span&gt;&lt;span class="local-time"&gt; 03:30 PM&lt;/span&gt;&lt;/div&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Sung on &lt;/span&gt;&lt;span class="local-date"&gt;07-09-2010&lt;/span&gt;&lt;span class="local-time"&gt; 03:32 PM&lt;/span&gt;&lt;/div&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Sung on &lt;/span&gt;&lt;span class="local-date"&gt;07-12-2010&lt;/span&gt;&lt;span class="local-time"&gt; 01:45 PM&lt;/span&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 09 Jul 2010 19:28:18 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1999#M1999</guid>
      <dc:creator>Sung</dc:creator>
      <dc:date>2010-07-09T19:28:18Z</dc:date>
    </item>
    <item>
      <title>User can send commands but cannot read sensor data</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1989#M1989</link>
      <description>&lt;p&gt;As mentioned in previous posts, I have created a LabVIEW VI that allows me to control a Create through a Bluetooth connection. Writing commands to the Create works just fine - I am able to drive, stop, request sensor data, etc. However, actually reading sensor data from the Create has proven to be more of an issue. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;I have the code set up such that it requests sensor data from the Create, waits for 50ms, determines how many bytes are at the port, and then reads the bytes from that port. I tested this over a wired connection, and it worked just fine, showing 1 or 2 bytes at port depending on what sensor data I requested. Over the Bluetooth connection, however, it showed that there were 0 bytes at the port each time.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;What might be causing this behavior? &lt;/p&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Lisa on &lt;/span&gt;&lt;span class="local-date"&gt;07-01-2010&lt;/span&gt;&lt;span class="local-time"&gt; 10:51 AM&lt;/span&gt;&lt;/div&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Lisa on &lt;/span&gt;&lt;span class="local-date"&gt;07-01-2010&lt;/span&gt;&lt;span class="local-time"&gt; 10:54 AM&lt;/span&gt;&lt;/div&gt;</description>
      <pubDate>Thu, 01 Jul 2010 17:50:25 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1989#M1989</guid>
      <dc:creator>Lisa</dc:creator>
      <dc:date>2010-07-01T17:50:25Z</dc:date>
    </item>
    <item>
      <title>Angle Data</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1985#M1985</link>
      <description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;I am using Packet Data 19 and 20 (Distance and Angle) to calculate the relative location (x y position) of the robot.  It says on page 24 of the &amp;quot;iRobot Create Open Interface&amp;quot; that the angle is in units &amp;quot;mm&amp;quot;.  How do I convert this into degrees/radians?&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Alan &lt;/p&gt;</description>
      <pubDate>Mon, 28 Jun 2010 14:30:34 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1985#M1985</guid>
      <dc:creator>AlanRosenthal</dc:creator>
      <dc:date>2010-06-28T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Dirt Dog: Running Silent (No beeps) and How do I Park It?</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1984#M1984</link>
      <description>&lt;p&gt;I pressed the clean button a couple of times one day and ever since, it no longer beeps or plays tones. Does anyone know if there are button presses that can reset this?&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Also, I was hoping there was a way to park a Dirt Dog. It's very frustrating to get this thing back on the charging base.&lt;/p&gt;</description>
      <pubDate>Sat, 26 Jun 2010 21:37:27 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1984#M1984</guid>
      <dc:creator>devedsmith</dc:creator>
      <dc:date>2010-06-26T21:37:27Z</dc:date>
    </item>
    <item>
      <title>Question about design of USB cable accessory</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1983#M1983</link>
      <description>&lt;p&gt;I got offered a battered and beaten create robot.  I don't think it has all it's accessories, but I thought I might be able to simply get the USB cable and do some simple SCI stuff with that.  What I don't know is how the USB side of the cable presents itself to the OS.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;ol&gt;&lt;li&gt;Does it show up as a USB serial device or does it show up as some proprietary USB device?.  &lt;/li&gt;&lt;li&gt;Are there USB drivers for Windows x86 and x64?  &lt;/li&gt;&lt;li&gt;Are there linux drivers for it?  &lt;/li&gt;&lt;li&gt;Is the driver open source?&lt;/li&gt;&lt;li&gt;What is the USB VID (Vendor ID) and PID (Product ID),&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Here's the part I'm looking at buying:&lt;/div&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a target="_blank" href="http://store.irobot.com/product/index.jsp?productId=2818673"&gt;http://store.irobot.com/product/index.jsp?productId=2818673&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img height="380" title="undefined" src="http://irbt.imageg.net/graphics/product_images/pIRBT-3946167v380.png" width="380" alt=""&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;-Dan &amp;lt;11011011&amp;gt; &lt;/p&gt;</description>
      <pubDate>Thu, 24 Jun 2010 02:35:41 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1983#M1983</guid>
      <dc:creator>d4n13</dc:creator>
      <dc:date>2010-06-24T02:35:41Z</dc:date>
    </item>
    <item>
      <title>Taking sensor data while robot is in middle of While Distance loop</title>
      <link>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1977#M1977</link>
      <description>&lt;p&gt;I need my robot to drive for distances that I input into the user interface during the robot's operation. The way I currently have this set up is through a While Distance loop. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Is there any way I can stream sensor data while the robot is driving a given distance in the loop? Or will I have to break my one While Distance loop into smaller While Distance loops and take the sensor data in between each loop?&lt;/p&gt;&lt;div class="message-edit-history"&gt;&lt;span class="edit-author"&gt;Message Edited by Lisa on &lt;/span&gt;&lt;span class="local-date"&gt;06-18-2010&lt;/span&gt;&lt;span class="local-time"&gt; 12:28 PM&lt;/span&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 18 Jun 2010 19:27:23 GMT</pubDate>
      <guid>http://createforums.irobot.com/irobotcreate/board/message?board.id=Create_Support&amp;message.id=1977#M1977</guid>
      <dc:creator>Lisa</dc:creator>
      <dc:date>2010-06-18T19:27:23Z</dc:date>
    </item>
  </channel>
</rss>

