<?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=7586" />

<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>2014-04-08T17:08:22+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=7586</id>
<entry>
<author><name><![CDATA[wiweet]]></name></author>
<updated>2014-04-08T17:08:22+01:00</updated>
<published>2014-04-08T17:08:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=43182#p43182</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=43182#p43182"/>
<title type="html"><![CDATA[Re: Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=43182#p43182"><![CDATA[
Great thanks to you i-Bot, I've followed your guidance here, and I'm succesfully make a Dynamixel Device for IMU, the difference is I use Robotis Gyro and MMA7361 as the sensor, both of them are analog output, so my code is much simpler.<br /><br />Thank you for sharing your expertise.<br /><br />Regards,<br /><br />wiweet<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2691">wiweet</a> — Tue Apr 08, 2014 5:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-15T00:30:16+01:00</updated>
<published>2011-12-15T00:30:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33223#p33223</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33223#p33223"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33223#p33223"><![CDATA[
The allocation of X, Y, and Z  and pitch/rate is dependant on the IMU orientation, and register allocation is easily changed in the code. In the same way gain adjustment, sign conversion, and filtering may be done within in the IMU if required.<br /><br />Have fun over the Holidays <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Thu Dec 15, 2011 12:30 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdeba]]></name></author>
<updated>2011-12-14T23:07:13+01:00</updated>
<published>2011-12-14T23:07:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33222#p33222</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33222#p33222"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33222#p33222"><![CDATA[
The latest updated version works perfectly even with RoboPlus Task. Minor problem was that I realized that IMU adresses from here: <!-- m --><a class="postlink" href="http://www.bioloid.info/tiki/tiki-index.php?page=6-Axis+Bus+IMU+Documentation">http://www.bioloid.info/tiki/tiki-index ... umentation</a><!-- m --> are reversed in my case. That means if 26 was responsible for Sideway Accel then it is in my case Pitch Rate <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /> But I've tested everything and it works ok. I've also updated my adress table and now everything is fine. Thanks for help. I'll have some more time during upcoming holidays so then I'll share my humanoid with IMU with you all <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2999">sdeba</a> — Wed Dec 14, 2011 11:07 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-14T10:26:57+01:00</updated>
<published>2011-12-14T10:26:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33214#p33214</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33214#p33214"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33214#p33214"><![CDATA[
I put the updated projects in my file area<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Wed Dec 14, 2011 10:26 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdeba]]></name></author>
<updated>2011-12-14T01:35:44+01:00</updated>
<published>2011-12-14T01:35:44+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33212#p33212</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33212#p33212"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33212#p33212"><![CDATA[
Thanks for sharing status. That's strange behavior for sure. Good luck and thanks for helping me <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2999">sdeba</a> — Wed Dec 14, 2011 1:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-13T14:40:02+01:00</updated>
<published>2011-12-13T14:40:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33202#p33202</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33202#p33202"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33202#p33202"><![CDATA[
mmmh interesting. The problem appears to be in the bioloid packet handler. After a while the CM-5 sends a bad CRC (CRC = FF) for some reason. The Bioloid IO code tries to log the error and hangs. I commented out the CRC error logging and it works OK. I will take a look at the HUV logging functions.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue Dec 13, 2011 2:40 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-13T13:48:30+01:00</updated>
<published>2011-12-13T13:48:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33200#p33200</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33200#p33200"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33200#p33200"><![CDATA[
Sorry this is taking longer than I thought.<br /><br />I fixed the IMU timeout, but when I checked with Task it did not fix the problem. When I tested with HUV Bioloid-IO, that also has same problem, so I now need to look at the HUV code, not my changes.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue Dec 13, 2011 1:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdeba]]></name></author>
<updated>2011-12-10T14:40:46+01:00</updated>
<published>2011-12-10T14:40:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33158#p33158</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33158#p33158"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33158#p33158"><![CDATA[
Ok, so if you'll do so, give me a sign. Thanks for that <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br /><br />I wasn't testing a lot with IO code, but from what I remember there weren't any issues.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2999">sdeba</a> — Sat Dec 10, 2011 2:40 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-10T14:22:36+01:00</updated>
<published>2011-12-10T14:22:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33157#p33157</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33157#p33157"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33157#p33157"><![CDATA[
I just took a look at the asm listing of the 6DOFIMU project, and the I2C timeout value is way too long. The patch doc said a few ms, but it is a lot longer. Since the timeout function is blocking this is possible cause.<br /><br />I will reduce timeout, and add a call to process dynamixel requests within the timeout.<br /><br />I am surprised that Task does not retry. It should not need replugging to recover though if this is cause. Is Task OK with the BioloidIO code?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Sat Dec 10, 2011 2:22 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdeba]]></name></author>
<updated>2011-12-09T23:14:36+01:00</updated>
<published>2011-12-09T23:14:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33153#p33153</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33153#p33153"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33153#p33153"><![CDATA[
Yes, I've directly uploaded *.hex file from Debug directory in new version. I'll test if this problem occurs while using libbioloid, but RoboPlus Task will be preffered while I would like to use motion <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br /><br />I'll try to make a guide to do this sensor board, but don't know when. I'm an executive editor of one of the biggest Android websites in my country, so I have some ongoing duties <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2999">sdeba</a> — Fri Dec 09, 2011 11:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-09T22:48:55+01:00</updated>
<published>2011-12-09T22:48:55+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33152#p33152</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33152#p33152"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33152#p33152"><![CDATA[
Are you using the latest version of the code with twimaster.c ?<br /><br />Please document and share anything you think is useful or of interest  to others. Text, pics, video, anything.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Fri Dec 09, 2011 10:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdeba]]></name></author>
<updated>2011-12-09T20:37:53+01:00</updated>
<published>2011-12-09T20:37:53+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33147#p33147</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33147#p33147"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33147#p33147"><![CDATA[
You mean documenting building this whole Sensor project?<br /><br />I've made simple program in RoboPlus Task, just to test if it works with IMU. It was writing gyro values without problem, but for some time. After about 1 minute it started to show a connection error. Then I've unplugged and plugged the cable from IMU to CM-5, and then it started working again for another minute, then connection error. I think it is occuring because there is to many requests, do you have any ideas how to fix it? <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2999">sdeba</a> — Fri Dec 09, 2011 8:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-09T20:14:47+01:00</updated>
<published>2011-12-09T20:14:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33146#p33146</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33146#p33146"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33146#p33146"><![CDATA[
To run Motion with C code is possible, but not simple.<br /><br />The actual CM-5/CM-510 remains closed source from Robotis.<br /><br />I didn't keep up with any current CM-5/CM-510 emulation projects, so you should search for these first. Also waht work hs been done to document the protocol<br /><br />The protocol and interaction of Motion with the CM5/CM510 is an extension of the Dynamixel protocols, but adds some major new dimensions. The ability to download motions into the CM5/CM-510 and then to have them execute locally is the main addition. This means that a motion engine needs to be implemented in the controller.<br /><br />Good news comes from the DARwin project, where source is provided for a very similar motion engine( even including Gyro support).<br /><br />Any chance for you to document your work in blog or article for others ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Fri Dec 09, 2011 8:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdeba]]></name></author>
<updated>2011-12-09T18:01:33+01:00</updated>
<published>2011-12-09T18:01:33+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33144#p33144</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33144#p33144"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33144#p33144"><![CDATA[
Just like I thought. Is there any possibility to run Motion using C code? <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=";)" title="Wink" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2999">sdeba</a> — Fri Dec 09, 2011 6:01 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2011-12-09T17:55:04+01:00</updated>
<published>2011-12-09T17:55:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33143#p33143</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33143#p33143"/>
<title type="html"><![CDATA[Sensor usage with CM-5]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7586&amp;p=33143#p33143"><![CDATA[
I don't use libbioloid, but it seems quite normal to me. To work with Roboplus Manager or Roboplus Motion, you need the CM-5 to communicate with the appropriate protocol for these programs. Using Libbioloid uses the serial link for whatever you program in CM-5.<br /><br />To use Roboplus Manager or Roboplus motion you need either to replace the original Robotis CM-5 code, or write a compatible version in libbioloid.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Fri Dec 09, 2011 5:55 pm</p><hr />
]]></content>
</entry>
</feed>