<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=15&amp;t=9236" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2013-04-21T13:45:06+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=9236</id>
<entry>
<author><name><![CDATA[RNope]]></name></author>
<updated>2013-04-21T13:45:06+01:00</updated>
<published>2013-04-21T13:45:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=9236&amp;p=37627#p37627</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=9236&amp;p=37627#p37627"/>
<title type="html"><![CDATA[Robobuilder RQ-HUNO &amp; Ubuntu]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=9236&amp;p=37627#p37627"><![CDATA[
HI !<br /><br />On my quest to control a RQ over the web ,(&amp; despite the fact  i succedded with other languages under Windows)  i'm actually trying node.js and serialport lib, under Ubuntu.<br /><br />Unfortunatly the little fellow doesn't move at all<br /><br />I see three options:<br />Coding is wrong or it doesn't reach the robot because of a serial port adressing pb or both (or even something else ?)<br /><br />My code , as javascript doesn't really stand byte array uses node.js buffers , looking at the manual   <!-- m --><a class="postlink" href="http://nodejs.org/api/buffer.html">http://nodejs.org/api/buffer.html</a><!-- m -->    <br /><dl class="codebox"><dt>Code: </dt><dd><code>var headerbuffer = new Buffer&#40;&#91;0xFF, 0xFF, 0xAA, 0x55, 0xAA, 0x55, 0x37, 0xBA&#93;&#41;;</code></dd></dl><br />seems pretty good to replace the C#   command  <br /><dl class="codebox"><dt>Code: </dt><dd><code>byte&#91;&#93; header = new byte&#91;&#93; &#123; 0xFF, 0xFF, 0xAA, 0x55, 0xAA, 0x55, 0x37, 0xBA &#125;;</code></dd></dl><br />to create byte array<br />But i may be wrong on that point (even if helpers from no.js forum seems to say the same) especially on the exact nature of the buffer<br /><br /><br /><br />On the other hand i suspect the data not to be sent  or beeing sent at the wrong place<br /><br />I did nothing special to install the USB to UART  or robobuilder drivers yet.<br />It did not appeared to be a necessy to me (but i might be wrong) because:<br />$lsusb seems to see the device : 10c4:ea60  -&gt; cp210x<br />$lsmod |grep cp 210x seems to confirm conrresponding driver is loaded<br />$ls -l /dev/ttyUSB0 confirm device was created<br /><br />Despite that , i get  a curious dmesg error :https://gist.github.com/anonymous/bf29d61c752e4363e585  <br /><br />Also ,something curious i noticed : Under Windows, the usb key lights the LED a few second a statup and then shut it down( and restart at data transmission) .<br />In Ubuntu , the red light is always on from the moment i plug it .<br /><br />Has anyone some experience using  a robobuilder with linux ? I couldn't find  any searching over the web.<br /><br />Thx a lot to any helper !<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4159">RNope</a> — Sun Apr 21, 2013 1:45 pm</p><hr />
]]></content>
</entry>
</feed>