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

<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>2007-03-27T20:32:48+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=1239</id>
<entry>
<author><name><![CDATA[DirtyRoboto]]></name></author>
<updated>2007-03-27T20:32:48+01:00</updated>
<published>2007-03-27T20:32:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1239&amp;p=8211#p8211</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1239&amp;p=8211#p8211"/>
<title type="html"><![CDATA[Ever played with speed?]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1239&amp;p=8211#p8211"><![CDATA[
Here is a little taste.<br /><br />Please keep you hands by your bot at all times.<br /><br />' ***** The Evolution of Walking by DirtyRoboto *****<br /><br />'== Original code 27th March 2007 ================================<br />'== HiTec Forward walk routine used as example ===================<br /><br />'Press the forward (blue) cursor on the remcon<br /><br />'If you dont have Gyro then keep your hands close<br /> <br />DIM A AS BYTE<br />DIM x AS BYTE<br />DIM y AS BYTE<br /><br /><br /><br />PTP SETON <br />PTP ALLON<br /><br />'== motor diretion setting ======================<br />DIR G6A,1,0,0,1,0,0<br />DIR G6B,1,1,1,1,1,1<br />DIR G6C,0,0,0,0,0,0<br />DIR G6D,0,1,1,0,1,0<br /><br />'== motor start position read ===================<br />GETMOTORSET G6A,1,1,1,1,1,0<br />GETMOTORSET G6B,1,1,1,0,0,0<br />GETMOTORSET G6C,1,1,1,0,0,0<br />GETMOTORSET G6D,1,1,1,1,1,0<br /><br />SPEED 5<br /><br />'== motor power on  =============================<br />MOTOR G24<br /><br />GOSUB standard_pose<br /><br />'================================================ <br />'Gyro Setup <br />GYROSET G6A,0,1,1,1,0,0 <br />GYROSET G6D,0,1,1,1,0,0 <br /><br />GYRODIR G6A,0,0,0,0,0,0 <br />GYRODIR G6D,0,0,0,0,0,0<br /> <br />GYROSENSE G6A,0,250,200,250,0,0<br />GYROSENSE G6D,0,250,200,250,0,0<br /><br />MAIN:    <br /><br />A = REMOCON(1)<br />IF A &lt;&gt; 11 THEN GOTO main<br /><br />GOSUB forward_walk<br />GOSUB standard_pose<br />DELAY 1000<br /><br />GOTO MAIN<br />'================================================<br />forward_walk:<br /><br />SPEED 5<br />MOVE24  85,  71, 152,  91, 112,  60, 100,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    , 112,  76, 145,  93,  92,  60,<br /><br />SPEED 14 <br />'left up<br />MOVE24  90, 107, 105, 105, 114,  60,  90,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    , 114,  76, 145,  93,  90,  60,<br />'---------------------------------------<br />'left down<br />MOVE24  90,  56, 143, 122, 114,  60,  80,  40,  80,    ,    ,    , 105,  40,  80,    ,    ,    , 113,  80, 145,  90,  90,  60,<br />MOVE24  90,  46, 163, 112, 114,  60,  80,  40,  80,    ,    ,    , 105,  40,  80,    ,    ,    , 112,  80, 145,  90,  90,  60,<br /><br />FOR x = 1 TO 11<br />y = x + 3<br /><br />SPEED x<br />'left center<br />MOVE24 100,  66, 141, 113, 100, 100,  90,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    , 100,  83, 156,  80, 100, 100,<br />MOVE24 113,  78, 142, 105,  90,  60, 100,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    ,  90, 102, 136,  85, 114,  60,<br /><br />SPEED y<br />'right up<br />MOVE24 113,  76, 145,  93,  90,  60, 100,  40,  80,    ,    ,    ,  90,  40,  80,    ,    ,    ,  90, 107, 105, 105, 114,  60,<br /><br />'right down<br />MOVE24 113,  80, 145,  90,  90,  60, 105,  40,  80,    ,    ,    ,  80,  40,  80,    ,    ,    ,  90,  56, 143, 122, 114,  60,<br />MOVE24 112,  80, 145,  90,  90,  60, 105,  40,  80,    ,    ,    ,  80,  40,  80,    ,    ,    ,  90,  46, 163, 112, 114,  60,<br /><br />SPEED x<br />'right center<br />MOVE24 100,  83, 156,  80, 100, 100, 100,  40,  80,    ,    ,    ,  90,  40,  80,    ,    ,    , 100,  66, 141, 113, 100, 100,<br />MOVE24  90, 102, 136,  85, 114,  60, 100,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    , 113,  78, 142, 105,  90,  60,<br /><br />SPEED y<br />'left up<br />MOVE24  90, 107, 105, 105, 114,  60,  90,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    , 113,  76, 145,  93,  90,  60,<br />NEXT x<br />'---------------------------------------<br /><br />SPEED 5<br />MOVE24  85,  71, 152,  91, 112,  60, 100,  40,  80,    ,    ,    , 100,  40,  80,    ,    ,    , 112,  76, 145,  93,  92,  60,<br /><br />RETURN<br />'================================================<br /><br />standard_pose:<br /><br />MOVE G6A,100,  76, 145,  93, 100, 100 <br />MOVE G6D,100,  76, 145,  93, 100, 100  <br />MOVE G6B,100,  30,  80, 100, 100, 100<br />MOVE G6C,100,  30,  80, 100, 100, 100<br />WAIT<br /><br />RETURN<br />'================================================<br />'*** <!-- e --><a href="mailto:DIRTYROBOTO@BTINTERNET.COM">DIRTYROBOTO@BTINTERNET.COM</a><!-- e --> ***<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=312">DirtyRoboto</a> — Tue Mar 27, 2007 8:32 pm</p><hr />
]]></content>
</entry>
</feed>