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

<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>2011-02-02T12:58:59+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=1638</id>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2011-02-02T12:58:59+01:00</updated>
<published>2011-02-02T12:58:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=30011#p30011</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=30011#p30011"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=30011#p30011"><![CDATA[
I found a number of similar errors with bit mask usage. <img src="http://forum.robosavvy.com/images/smilies/icon_redface.gif" alt=":oops:" title="Embarassed" /> <br /><br />The revised code has been placed in my files area.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Wed Feb 02, 2011 12:58 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2011-02-01T21:53:06+01:00</updated>
<published>2011-02-01T21:53:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=30007#p30007</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=30007#p30007"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=30007#p30007"><![CDATA[
Wow, some nice work to decompile the Robotis ASM and add meaningful variable names to everything. I will check that thread out.<br /><br />If I decide to try and implement a superset of Robotis firmware then your work will be a very nice reference. So many thanks for sharing it!<br /><br />If I spot anymore errors along the way then i shall list them and send you a PM.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Tue Feb 01, 2011 9:53 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2011-02-01T13:32:44+01:00</updated>
<published>2011-02-01T13:32:44+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29997#p29997</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29997#p29997"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29997#p29997"><![CDATA[
Thanks Fraser,<br /><br />In fact the line should read<dl class="codebox"><dt>Code: </dt><dd><code>   if&#40;&#40;Timer0Count++ &amp; 0x01FF&#41; == 0&#41;<br /></code></dd></dl> ...which runs once every 512 passes.<br /><br />What you are looking at is my best &quot;reading&quot; of the actual ax-12 firmware translated into c-like form.  The output is meant to be used as a document that finally answers all the questions about the ax-12 algorithm for moving.<br /><br />The input comes from an ax-12 storage dump posted in binary format on an earlier thread at this site, titled &quot;Ax-12 firmware update gone wrong&quot;.  You can find that thread from the Bioloid wiki page, reachable from the RoboSavvy site menu.<br /><br />Because much of the translation process is done by hand and because it has never been compiled, there are probably more errors, like the one you identified, still in there.  I'll fix them if someone points them out to me.  Also, because the input is nearly two years old, the current firmware may have changed a bit.<br /><br />The reason that I choose to post on this thread is because it is also linked to the Bioloid wiki page, an excellent resource.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Tue Feb 01, 2011 1:32 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fraser]]></name></author>
<updated>2011-02-01T00:44:24+01:00</updated>
<published>2011-02-01T00:44:24+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29991#p29991</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29991#p29991"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29991#p29991"><![CDATA[
Hi Fritzoid,<br /><br />The code is nice and readable, thanks for posting.<br /><br />Slightly off topic, but then the thread is very old:<br /><br />How did you generate the Temperature conversion table. i.e. what did you measure? the temperature of the servo case? the motor? temp sensor package?<br /><br />(And do you mind if I use the table <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /> )<br /><br />P.S.<br />I just noticed this, and thought I'd mention just in case operation is not as intended:<br /><dl class="codebox"><dt>Code: </dt><dd><code>// update temperature and voltage entries<br />if&#40;&#40;++Timer0Count &amp; 0x0100&#41; == 0&#41;<br />&#123;<br />    ...<br />&#125;<br /></code></dd></dl><br />Block ... executes when bit 9 of Timer0Count is low, so executes continuously for 255 passes  and then off for 255 passes. Should it be this:<br /><dl class="codebox"><dt>Code: </dt><dd><code>// update temperature and voltage entries<br />if&#40;&#40;++Timer0Count &amp; 0x00FF&#41; == 0&#41;<br />&#123;<br />    ...<br />&#125;<br /></code></dd></dl><br />which executes once every 255 passes.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2470">Fraser</a> — Tue Feb 01, 2011 12:44 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2011-01-31T14:47:54+01:00</updated>
<published>2011-01-31T14:47:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29987#p29987</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29987#p29987"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=29987#p29987"><![CDATA[
Marmakoide asked:<br /><blockquote class="uncited"><div><br />I have to know how the AX12 computes the torque to go from pos A to pos B with the speed V. Is somebody knowing that ?<br /></div></blockquote><br /><br />I'd say it probably works something like this:<br /><br /><a href="http://robosavvy.com/Builders/Fritzoid/AX-12.zip" class="postlink">http://robosavvy.com/Builders/Fritzoid/AX-12.zip</a><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Mon Jan 31, 2011 2:47 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[JonHylands]]></name></author>
<updated>2007-08-18T14:36:59+01:00</updated>
<published>2007-08-18T14:36:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10483#p10483</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10483#p10483"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10483#p10483"><![CDATA[
Its not really the load, and it only updates at 7 Hz.<br /><br />What that value really represents is the amount of current the motor is consuming. If the servo isn't moving, then it gives a decent (although slow) approximation of load. If the servo is moving, you have to factor in the amount of torque you're inducing by the movement.<br /><br />- Jon<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=373">JonHylands</a> — Sat Aug 18, 2007 2:36 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Lenny]]></name></author>
<updated>2007-08-18T14:10:27+01:00</updated>
<published>2007-08-18T14:10:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10481#p10481</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10481#p10481"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10481#p10481"><![CDATA[
I have monitored the load of three AX12's of my bioloid-arm  randomly moving around.<br /><br />x-axes is the load of servo 1<br />y-axes blue stars is the load of servo 2<br />y-axes red o's is the load of servo 3<br /><br /><img src="http://robosavvy.com/Builders/Lenny/AX12Load.JPG" alt="Image" /><br /><br />Have someone an idea why the load is not uniform distributed?<br /><br />Lenny<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=677">Lenny</a> — Sat Aug 18, 2007 2:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Dewey]]></name></author>
<updated>2007-08-18T11:40:03+01:00</updated>
<published>2007-08-18T11:40:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10479#p10479</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10479#p10479"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10479#p10479"><![CDATA[
Look at page 16 of the AX12 Manual.<br /><br />The Ax12 moves to its goal position, addresses 30/31, at the speed V, addresses 32/33, if and only if the maximum torque in addresses 34/35 is not exceeded. If it is exceeded it will not continue moving and the goal position will never be reached no matter what speed is specified.<br /><br />If the torque is not exceeded as it approaches the goal it reduced the maximum torque based on the compliance addresses 26/27 and 28/29.<br /><br />So in the sense you ask the question it does not compute the torque merely limits it to the specified figure whenever a positional move is required.<br /><br />Dewey<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=616">Dewey</a> — Sat Aug 18, 2007 11:40 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Marmakoide]]></name></author>
<updated>2007-08-18T11:14:47+01:00</updated>
<published>2007-08-18T11:14:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10478#p10478</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10478#p10478"/>
<title type="html"><![CDATA[AX12 algorithm for moving]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1638&amp;p=10478#p10478"><![CDATA[
Hi<br />   For a personal project, I have to know how the AX12 computes the torque to go from pos A to pos B with the speed V. Is somebody knowing that ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=544">Marmakoide</a> — Sat Aug 18, 2007 11:14 am</p><hr />
]]></content>
</entry>
</feed>