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

<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>2008-11-27T00:26:02+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=3145</id>
<entry>
<author><name><![CDATA[viper1]]></name></author>
<updated>2008-11-27T00:26:02+01:00</updated>
<published>2008-11-27T00:26:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18442#p18442</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18442#p18442"/>
<title type="html"><![CDATA[Programming Question]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18442#p18442"><![CDATA[
Oh ok Thanks.<br />So what if I wanted to run a routine where he bends his knees, and I want them to stay in that position while he does something else with his arms or claws while his knees are continued to stay in that position. Is that where the wait command would be used?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=614">viper1</a> — Thu Nov 27, 2008 12:26 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Sazabi]]></name></author>
<updated>2008-11-26T07:52:25+01:00</updated>
<published>2008-11-26T07:52:25+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18425#p18425</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18425#p18425"/>
<title type="html"><![CDATA[Programming Question]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18425#p18425"><![CDATA[
it's a cycle used to repeat part of code few times, here - repeat pushups for 6 times. See &quot;Next i&quot; after &quot;straighten arms&quot; code blog? that's the end of cycle, musthave if you use &quot;for&quot;.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=870">Sazabi</a> — Wed Nov 26, 2008 7:52 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[viper1]]></name></author>
<updated>2008-11-26T02:39:40+01:00</updated>
<published>2008-11-26T02:39:40+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18423#p18423</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18423#p18423"/>
<title type="html"><![CDATA[Programming Question]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3145&amp;p=18423#p18423"><![CDATA[
I noticed someting in a couple of routines, in basic, that there was:     &quot;FOR i = 0 TO 5&quot;    As in the Push Up Routine:<br />And was wondering what its used for??<br /> '***************pushup ********************************<br /><br />pushup:<br />SPEED 10<br />GOSUB sit2<br /><br />'lean forward<br />MOVE G6A, 98, 161,  26, 160, 103, 100<br />MOVE G6B,180,  17,  98,    ,    ,    <br />MOVE G6C,177,  20,  91,    ,    ,    <br />MOVE G6D, 99, 158,  27, 157, 102, 100<br />WAIT<br /><br />'hands down<br />MOVE G6A,100, 163,  60, 154, 102,    <br />MOVE G6B,180,  17,  98,    ,    ,    <br />MOVE G6C,177,  20,  91,    ,    ,    <br />MOVE G6D,100, 164,  63, 148, 100,    <br />WAIT<br /><br />'extend legs<br />MOVE G6A,100, 61, 157,  74, 105,    <br /><br />MOVE G6D,100, 61, 167,  68,  99,    <br />WAIT<br /><br /><br />FOR i = 0 TO 5<br />'bend arms<br />MOVE G6A,100, 61, 157,  74, 105,    <br />MOVE G6B,180,  89,  11, 100, 100, 100<br />MOVE G6C,177,  84,  11, 100, 100, 100<br />MOVE G6D,100, 61, 166,  68,  98, 100<br />WAIT<br /><br />'straighten arms<br />MOVE G6B,181,  17,  98,    ,    ,    <br />MOVE G6C,177,  22,  92,    ,    ,    <br />WAIT<br />NEXT i<br /><br />GOSUB one_hand_pushup<br />RETURN<br /><br />'*********************************************************<br />'stand up from forward pushup<br />standup:<br /><br />'legs out<br />SPEED 15<br />MOVE G6A, 76, 165,  54, 162, 156,<br />MOVE G6B,181,  17,  98,    ,    ,    <br />MOVE G6C,177,  22,  92,    ,    ,  <br />MOVE G6D, 76, 165,  54, 162, 156,    <br />WAIT<br /><br /><br />'tilt body back<br />MOVE G6A, 76, 165,  54, 162, 156, 100<br />MOVE G6B,163,  17,  98, 100, 100, 100<br />MOVE G6C,163,  17,  98, 100, 100, 100<br />MOVE G6D, 76, 165,  54, 162, 156, 100<br />WAIT<br /><br /><br />' lean back for stand up<br /><br />MOVE G6A, 60, 164,  21, 162, 136,    <br />MOVE G6B,145,  17,  98, 100, 100, 100<br />MOVE G6C,145,  17,  98, 100, 100, 100<br />MOVE G6D, 60, 164,  21, 162, 136,    <br />WAIT<br /><br /><br />GOSUB standard_pose<br />RETURN<br /> What is this and what is its purpose?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=614">viper1</a> — Wed Nov 26, 2008 2:39 am</p><hr />
]]></content>
</entry>
</feed>