<?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=5&amp;t=7448" />

<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-06-04T12:20:05+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=7448</id>
<entry>
<author><name><![CDATA[james.thorniley]]></name></author>
<updated>2013-06-04T12:20:05+01:00</updated>
<published>2013-06-04T12:20:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37996#p37996</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37996#p37996"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37996#p37996"><![CDATA[
I've switched over to the modified Dynamixel SDK library anyway though, which is working nicely <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />I've also made some further modifications to support the USB2AX's SYNC_READ instruction via the C library, and written a small Python wrapper.<br /><br />My code is here if anyone is interested: <!-- m --><a class="postlink" href="https://github.com/jthorniley/pyusb2ax">https://github.com/jthorniley/pyusb2ax</a><!-- m --><br /><br />Running python setup.py install will download and make the necessary changes to the C library, then create a python module called usb2ax from which you can access the dynamixels.<br /><br />Cheers<br />James<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4561">james.thorniley</a> — Tue Jun 04, 2013 12:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[james.thorniley]]></name></author>
<updated>2013-06-04T12:15:58+01:00</updated>
<published>2013-06-04T12:15:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37995#p37995</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37995#p37995"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37995#p37995"><![CDATA[
Yeah I think it must be just linux serial port weirdness. A possible cause of my problems is that I'm using by Fedora laptop while my beaglebone is out of service. I'm running a modern kernel (3.9.4) - versions used by Raspberry Pi etc maybe behave differently.<br /><br />Another problem I've found that probably only affects desktop Linux distros is that modem-manager sometimes locks the serial port device, which is a pain. Running<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>sudo killall modem-manager<br /></code></dd></dl><br /><br />Fixes that problem if you have it.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4561">james.thorniley</a> — Tue Jun 04, 2013 12:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[siempre.aprendiendo]]></name></author>
<updated>2013-06-03T19:20:50+01:00</updated>
<published>2013-06-03T19:20:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37985#p37985</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37985#p37985"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37985#p37985"><![CDATA[
I just have tested it and it works without setting stty. <br /><br />Misteries of the arcane serial ports...<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=698">siempre.aprendiendo</a> — Mon Jun 03, 2013 7:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[siempre.aprendiendo]]></name></author>
<updated>2013-06-03T16:49:11+01:00</updated>
<published>2013-06-03T16:49:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37984#p37984</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37984#p37984"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37984#p37984"><![CDATA[
Thanks for sharing the solution. Interesting...<br /><br />I detected a similar problem using C# on linux (mono) at 1000000 with the USB2Dynamixel (I'm not sure if I tested it with USB2AX), using serial port at 57600 also works ok, in Windows works correctly with all baud rates, but not in iinux. With  C++ there are no problem.<br /><br />From <!-- m --><a class="postlink" href="http://pyserial.sourceforge.net/pyserial_api.html">http://pyserial.sourceforge.net/pyserial_api.html</a><!-- m --><br /><br /><blockquote class="uncited"><div><br />The parameter baudrate can be one of the standard values: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200. These are well supported on all platforms. Standard values above 115200 such as: 230400, 460800, 500000, 576000, 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, 4000000 also work <span style="font-weight: bold">on many</span> platforms.<br /></div></blockquote><br /><br />&quot;Only&quot; <span style="font-weight: bold">on many</span> platforms <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=698">siempre.aprendiendo</a> — Mon Jun 03, 2013 4:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xevel]]></name></author>
<updated>2013-06-03T16:45:42+01:00</updated>
<published>2013-06-03T16:45:42+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37983#p37983</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37983#p37983"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37983#p37983"><![CDATA[
Great!<br /><br />I'll have a look lib_robotis anyway to have a definitive answer as to why it doesn't work.<br /><br />If needed I'll publish a patched version on <a href="http://xevelabs.com" class="postlink">xevelabs.com</a>, next to the patched file for the Dynamixel SDK for Linux ^^<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2658">xevel</a> — Mon Jun 03, 2013 4:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[james.thorniley]]></name></author>
<updated>2013-06-03T16:26:32+01:00</updated>
<published>2013-06-03T16:26:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37982#p37982</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37982#p37982"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37982#p37982"><![CDATA[
Hi<br /> <br />Thanks for responding. Its no problem - it turns out it wasn't the USB2AX at fault exactly. I got out the scope and looked at the data pin on the USB2AX and it seemed to be working fine -- in fact a much cleaner signal than the USB2Dynamixel produces! (The latter has loads of ringing when running at 1mbps).<br /><br />I think it must have been the way that lib_robotis.py sets the baud rate that doesn't work with the USB2AX. I got it to work by first setting the baud with<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>$ stty -F /dev/ttyACM0 1000000 raw<br /></code></dd></dl><br /><br />Then running the lib_robotis.py command (presumably whatever that script does with the --baud switch has no effect).<br /><br />Thanks for responding anyway, but its working now, cheers!<br /><br />James<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4561">james.thorniley</a> — Mon Jun 03, 2013 4:26 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xevel]]></name></author>
<updated>2013-06-03T15:41:49+01:00</updated>
<published>2013-06-03T15:41:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37981#p37981</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37981#p37981"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37981#p37981"><![CDATA[
Hello James,<br /><br />I'm sorry you're having a problem :/ Each unit is factory-tested so this should not happen :/<br /><br />I haven't tried lib_robotis for myself (yet), but at first glance, it seems to me that your test should be successful.<br /><br />A quick check you could do is to verify the voltage on the DATA pin of the USB2AX relative to its GND pin it should be around 5V, when the USB2AX is plugged in an opened (you can open it with any serial monitor/terminal for this test).<br />I'll test lib_robotis.py to see if it has any reason to be incompatible as soon as possible.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2658">xevel</a> — Mon Jun 03, 2013 3:41 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[james.thorniley]]></name></author>
<updated>2013-06-03T13:34:58+01:00</updated>
<published>2013-06-03T13:34:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37979#p37979</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37979#p37979"/>
<title type="html"><![CDATA[Best way to test USB2AX]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37979#p37979"><![CDATA[
Hi,<br /><br />What is the best way to test the USB2AX under linux? I've got one and have been trying to use it. I've also got a USB2Dynamixel for testing.<br /><br />I've tried lib_robotis.py as one user above mentioned (I can't include the URL as this is my first post, but its easy to find)<br /><br />I have the SMPS2Dynamixel power adaptor, and with the USB2Dynamixel pluggin in the following works:<br /><br />$ python lib_robotis.py -d /dev/ttyUSB0 --baud 1000000 --ang 0<br /><br />I.e. the servo moves to the centre position.<br /><br />But then I plug in the USB2AX instead and get:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>$ python lib_robotis.py -d /dev/ttyACM0 --baud 1000000 --ang 0<br />Traceback &#40;most recent call last&#41;:<br />  File &quot;lib_robotis.py&quot;, line 435, in &lt;module&gt;<br />    servo = Robotis_Servo&#40; dyn, opt.id &#41;<br />  File &quot;lib_robotis.py&quot;, line 142, in __init__<br />    &#40; servo_id, self.dyn.dev_name &#41;&#41;<br />RuntimeError: lib_robotis: Error encountered.  Could not find ID &#40;1&#41; on bus &#40;/dev/ttyACM0&#41;, or USB2Dynamixel 3-way switch in wrong position.<br /></code></dd></dl><br /><br />No movement in the servo...<br /><br />Any ideas what could be causing this or how to fix? From dmesg it looks like the device is connected ok:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>&#91; 6083.176966&#93; usb 3-3: new full-speed USB device number 25 using xhci_hcd<br />&#91; 6083.190487&#93; usb 3-3: New USB device found, idVendor=16d0, idProduct=06a7<br />&#91; 6083.190498&#93; usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=220<br />&#91; 6083.190504&#93; usb 3-3: Product: USB2AX<br />&#91; 6083.190509&#93; usb 3-3: Manufacturer: Xevelabs<br />&#91; 6083.190513&#93; usb 3-3: SerialNumber: 6403635373035121E161<br />&#91; 6083.191243&#93; usb 3-3: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes<br />&#91; 6083.192000&#93; cdc_acm 3-3:1.0: ttyACM0: USB ACM device<br /></code></dd></dl><br /><br />Any help much appreciated!<br /><br />James<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4561">james.thorniley</a> — Mon Jun 03, 2013 1:34 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[barbar]]></name></author>
<updated>2013-04-28T21:11:32+01:00</updated>
<published>2013-04-28T21:11:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37666#p37666</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37666#p37666"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37666#p37666"><![CDATA[
USB2AX arrived Friday. First quick test run today. AX12 to USB2AX to Raspberry Pi (raspbian, python script using lib_robotis.py).  Its working fine! <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><br /><br />Thanks again for the awesome work, particularly the small form factor, the good documentation and the fair price. I wont be suprised if a bunch of raspberry-pi-dynamixel-enthusiasts jump into it.<br /><br />Cheers!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=123">barbar</a> — Sun Apr 28, 2013 9:11 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2013-04-10T14:43:28+01:00</updated>
<published>2013-04-10T14:43:28+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37532#p37532</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37532#p37532"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37532#p37532"><![CDATA[
Hi all, xevel<br /><br />We've recently received the first batch of Xevel's boards in our (UK) warehouse.<br /><br />The product page is now up so I'm happy to report <span style="color: green">RoboSavvy is all ready to start shipping the USB2AXs</span>.<br /><br />You can place your order here <!-- m --><a class="postlink" href="http://robosavvy.com/store/product_info.php/products_id/3787">http://robosavvy.com/store/product_info ... ts_id/3787</a><!-- m --><br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Wed Apr 10, 2013 2:43 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xevel]]></name></author>
<updated>2013-04-07T18:53:39+01:00</updated>
<published>2013-04-07T18:53:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37502#p37502</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37502#p37502"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37502#p37502"><![CDATA[
Thanks Barbar <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br />I can indeed sell you one directly since it is not yet listed at any other European's store.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2658">xevel</a> — Sun Apr 07, 2013 6:53 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[barbar]]></name></author>
<updated>2013-04-07T10:15:23+01:00</updated>
<published>2013-04-07T10:15:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37501#p37501</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37501#p37501"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37501#p37501"><![CDATA[
<blockquote><div><cite>siempre.aprendiendo wrote:</cite><br />... get it from him.<br /></div></blockquote> <br />stupid me, didnt think. Lets see if we get thru customs.<br /><br /><blockquote><div><cite>xevel wrote:</cite><br />Enjoy!<br /></div></blockquote> <br />Pleased to read you. Congratulations for rolling out USB2AX. As an observer since the beginnings in 2011 I can imagine what you and your helpers have invested. Thank you very much!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=123">barbar</a> — Sun Apr 07, 2013 10:15 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[siempre.aprendiendo]]></name></author>
<updated>2013-04-03T18:44:42+01:00</updated>
<published>2013-04-03T18:44:42+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37494#p37494</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37494#p37494"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37494#p37494"><![CDATA[
If you want, you also can order it to its creator (France), I get it from him.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=698">siempre.aprendiendo</a> — Wed Apr 03, 2013 6:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xevel]]></name></author>
<updated>2013-04-03T18:26:46+01:00</updated>
<published>2013-04-03T18:26:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37493#p37493</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37493#p37493"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37493#p37493"><![CDATA[
I can't speak for Robosavvy, but we are working on it together - if only the postal service would have the decency to cooperate &gt;&lt;<br /><br />I published the documentation (still some topics to finish, but the bulk of it is there) at <a href="http://xevelabs.com" class="postlink">http://xevelabs.com</a><br />(<a href="http://usb2ax.com" class="postlink">http://usb2ax.com</a> points directly to the documentation itself).<br /><br />It is, like the rest of the project, all open source (CC-BY-SA 3.0 here). Any comment or help is very welcome <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />Enjoy!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2658">xevel</a> — Wed Apr 03, 2013 6:26 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[barbar]]></name></author>
<updated>2013-04-03T17:54:30+01:00</updated>
<published>2013-04-03T17:54:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37492#p37492</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37492#p37492"/>
<title type="html"><![CDATA[USB2AX, a small powerful USB to Dynamixel controller]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7448&amp;p=37492#p37492"><![CDATA[
<blockquote><div><cite>siempre.aprendiendo wrote:</cite><br />I have received it. It's really tiny!<br />And it's faster, some first tests: (querying 16 AX-12)<br />Poll test, conn USB, duration 00:00:00.2500000 COM3 USB2Dynamixel<br />Poll test, conn USB, duration 00:00:00.0625000 COM7 USB2AX<br />You should remember that in Linux it appears as ttyACM0, not TTyUSB0 as USB2Dynnamixel<br /></div></blockquote><br /><br />Thx for infos.<br /><br />Looking forward to getting my USB2AX. When will RoboSavvy have it in store <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":-)" title="Smile" />. Had to order my sample in China.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=123">barbar</a> — Wed Apr 03, 2013 5:54 pm</p><hr />
]]></content>
</entry>
</feed>