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

<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>2006-10-16T12:27:11+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=636</id>
<entry>
<author><name><![CDATA[jaho434]]></name></author>
<updated>2006-10-16T12:27:11+01:00</updated>
<published>2006-10-16T12:27:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=4262#p4262</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=4262#p4262"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=4262#p4262"><![CDATA[
Hi Smoothchat,<br /><br />From what I have done so far, it is definitely possible to balance the robot when it is standing upright.  I had the same idea as you - to make the robot maintain an upright posture when you push him.  Whether you are then able to reproduce this same type of balancing while it is walking is another question.<br /><br />Let me know how you go.  I made some progress, but got annoyed with the Behaviour Control Program.  I would much prefer to code in C, but haven't yet gone down the road of replacing the CM5 code.<br /><br />Some tips:  I would advise using a stepped response to the torque. ie: the more torque you register on the ankles, the more you move to counter-balance.  Also, don't make the counter movements too large or the torque threshold too low, otherwise your robot will thrash around even to the slightest movements!<br /><br />Good Luck!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=296">jaho434</a> — Mon Oct 16, 2006 12:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[smoothchat]]></name></author>
<updated>2006-10-14T23:10:31+01:00</updated>
<published>2006-10-14T23:10:31+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=4253#p4253</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=4253#p4253"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=4253#p4253"><![CDATA[
Well done jaho434,<br /><br />I have a Bioloid on the way and want to experiment with the same concept. One approach I was thinking of is using a waist joint on the Humanoid to compensate for forward backward balancing.  eg If the rearward torque of the foot increases, then tilt the upper torso slightly forward. Side balance might be achieved by simply extending the leg on the side of the increased torque very slightly to shift the centre of gravity. Alternatively you could bend the "knee" ever so slightly to shorten the opposite leg. This could be a subroutine at the end of a motion cycle to "steady" the Bioloid before the next action. On a perfectly flat horizontal surface, it will be interesting to experiment with.<br /><br />I want to have the bioloid standing and be able to push it slightly and have it attempt to correct its balance.  Even to the point where if I push it past a certain point, it will take a step to balance itself.  Maybe it wont work, but it's something fun to experiment with. Just the interactive element will be cool.<br /><br />I'd appreciate being able to share notes with you and to others on this forum. As your last post was in September, I would appreciate it if you could post any developments on the subject.  Thanks.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=333">smoothchat</a> — Sat Oct 14, 2006 11:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jaho434]]></name></author>
<updated>2006-09-25T21:30:16+01:00</updated>
<published>2006-09-25T21:30:16+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3907#p3907</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3907#p3907"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3907#p3907"><![CDATA[
<span style="font-weight: bold">On the AND issue:</span><br /><br />Ok, it seems there is a typo in the manual.  If you want to use an AND, you need to use a CONT_IF afterwards, not an ELSE_IF.<br /><br />For Example:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>IF &#40;condition_1&#41; AND<br />CONT IF &#40;condition_2&#41; THEN do_something<br /></code></dd></dl><br /><br />The above will execute "do_something" only if both conditions are met.  It does say this in the manual, but it has ELSE IF instead of CONT IF.<br /><br /><br /><span style="font-weight: bold">On the Balancing:</span><br /><br />I've got my very crude balancing code to do something!  Very simply put..... by checking the load on the ankle servos, I am moving the servos slightly in the opposite direction.  I am able to vary the load threshold at which the servos move and how far they move.  Of course this could be sloped.  ie: the larger the load, the more the servo moves......  or perhaps bring other servos into the equation, such as the hips.<br /><br />A very interesting observation is that on the first few trials, I get the same resonating oscillation that is described by the Robonova users when the gain on their gyro is not correctly set.  In order to overcome this, I will have to play with load thresholds and servo movements.<br /><br />Inital tests are promising!  What other things can I do?!!?  Possibilities are endless!<br /><br />MWHAHAHA, loving this robot!   <img src="http://forum.robosavvy.com/images/smilies/icon_razz.gif" alt=":P" title="Razz" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=296">jaho434</a> — Mon Sep 25, 2006 9:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jaho434]]></name></author>
<updated>2006-09-25T16:03:31+01:00</updated>
<published>2006-09-25T16:03:31+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3896#p3896</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3896#p3896"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3896#p3896"><![CDATA[
Actually, I think I've found another way around it.<br /><br />The "present_load" value of the AX-12 increases from 0 upwards if the torque is in one direction but increases from 1024 upwards if the torque is in the other direction.<br /><br />So basically, I can check the higher value first:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>IF &#40;&quot;present_load&quot; &gt; 1024&#41; THEN ankleForward<br />ELSE_IF &#40;&quot;present_load&quot; &gt; 0&#41; THEN ankleBackward<br /></code></dd></dl><br /><br />Hmmm, not ideal......  but might work.  Will try when I get home.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=296">jaho434</a> — Mon Sep 25, 2006 4:03 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[KurtE]]></name></author>
<updated>2006-09-25T14:10:02+01:00</updated>
<published>2006-09-25T14:10:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3893#p3893</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3893#p3893"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3893#p3893"><![CDATA[
<blockquote><div><cite>jaho434 wrote:</cite><br />I'm trying to do the following:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>IF &#40;condition_1 AND condition_2&#41; THEN do_something</code></dd></dl><br /><br />In the Quickstart guide it gives the example above.  I know you would not normally join 2 conditions with an AND and an ELSE_IF, but that's what it says!<br /><br />Any idea how this is done?<br /><br />Cheers.<br /></div></blockquote><br /><br />I am no expert in this as I do not have a bioloid, but in this case you could probably do it in reverse.<br /><dl class="codebox"><dt>Code: </dt><dd><code>if &#40;dY &lt;= 64&#41; then jump begin<br />if &#40;dy &gt;= 512&#41; then jump begin<br />call RightA<br />jump begin<br /></code></dd></dl><br />This is not very pretty but it migtht work until you can figure out how to do more complex if statements...<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=136">KurtE</a> — Mon Sep 25, 2006 2:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jaho434]]></name></author>
<updated>2006-09-25T13:56:54+01:00</updated>
<published>2006-09-25T13:56:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3892#p3892</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3892#p3892"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3892#p3892"><![CDATA[
I'm trying to do the following:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>IF &#40;condition_1 AND condition_2&#41; THEN do_something</code></dd></dl><br /><br />In the Quickstart guide it gives the example above.  I know you would not normally join 2 conditions with an AND and an ELSE_IF, but that's what it says!<br /><br />Any idea how this is done?<br /><br />Cheers.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=296">jaho434</a> — Mon Sep 25, 2006 1:56 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Juha]]></name></author>
<updated>2006-09-25T13:17:27+01:00</updated>
<published>2006-09-25T13:17:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3890#p3890</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3890#p3890"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3890#p3890"><![CDATA[
Hi,<br /><br />I actually got my robo on friday, and build it over the weekend.<br /><br />About section 3 in your email, clearly the syntax is broken.<br /><br />I mean, what are you trying to do? Create if (condition) else if (condition) or if (condition1 AND condition 2) else if (condition) ??<br /><br />What I think your probably trying to do is the first one, so replace "AND" with THEN + what you want to do if the first condition is met. You don't join "if" and "else if" with "and".<br /><br /><br />Now, about the problem that I have with my robot (I haven't really spent much time trying to solve it yet), I've downloaded the data for the "walking humanoid" or whatever to the robot (the one that replies to claping hands, takes the attack position etc).<br /><br />Hand claping / attact position seems to work, but if I press for example "L" (as far as I can remember) there's a really loud beep-sound. And it does not stop.<br />Some kind of error I quess?<br /><br />I didn't have the serial cable connected, I'll try with the cable connected when I get home... the TX light was blinking, so hopefully I'll get some error message in the console.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=284">Juha</a> — Mon Sep 25, 2006 1:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Robo1]]></name></author>
<updated>2006-09-25T13:11:34+01:00</updated>
<published>2006-09-25T13:11:34+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3889#p3889</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3889#p3889"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3889#p3889"><![CDATA[
not sure but you the problem with the and could be that it's out side the bracket e.g. if(! &gt; 64) and , should be i (! &gt; 64 and )<br /><br />bren<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=216">Robo1</a> — Mon Sep 25, 2006 1:11 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jaho434]]></name></author>
<updated>2006-09-24T19:58:36+01:00</updated>
<published>2006-09-24T19:58:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3885#p3885</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3885#p3885"/>
<title type="html"><![CDATA[Some Questions]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=636&amp;p=3885#p3885"><![CDATA[
Hey all, my Bioloid arrived on Thursday and I've finally got him up and running!<br /><br />I've got a few questions that I haven't been able to find the answer to in previous posts, so any help would be great.<br /><br />1)  I've got the whining servo problem as others have described, but changing the margins to 0 or 2 doesn't seem to fix it as suggested (I am yet to try the silence servo routine posted).  I noticed that being in RAM, these values got reset when the CM5 is turned off.  Is there any way to set the default values in RAM?<br /><br />2)  In the absence of gyros, I'm attempting to create some kind of crude balancing code.  Using the "Present Load" value on the ankle joints, I am attempting to move the ankle to counter-act the lean.  It's crude, but it should work while standing straight up.  Has anybody attempted anything similar?<br /><br />3)  In attempting to do this, I 've written some code in the Behaviour Control Program but it is giving me errors!<br /><br /><img src="http://robosavvy.com/Builders/jaho434/bcpError.jpg" alt="Image" /><br /><br />Can anybody tell me what's wrong with that "AND"?!!?  It's exactly the same as in the manual.   <img src="http://forum.robosavvy.com/images/smilies/icon_confused.gif" alt=":?" title="Confused" /> <br /><br />4)  The Behaviour Control Program is so frustrating!  Is there no easier way to program it?!!?  Did Inaki ever get his Biotoken working?<br /><br /><br />Cheers all,  happy Bioloiding.<br /><br />Jules<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=296">jaho434</a> — Sun Sep 24, 2006 7:58 pm</p><hr />
]]></content>
</entry>
</feed>