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

<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-11-17T10:08:22+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=780</id>
<entry>
<author><name><![CDATA[plingboot]]></name></author>
<updated>2006-11-17T10:08:22+01:00</updated>
<published>2006-11-17T10:08:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=780&amp;p=4755#p4755</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=780&amp;p=4755#p4755"/>
<title type="html"><![CDATA[Kong - well not quite just yet]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=780&amp;p=4755#p4755"><![CDATA[
Still not quite there with exactly what's needed and what's not, but here's a first attempt at RN1 doing a Kong like chest bash.<br /><br />Before the booing starts, this is a work in progress. Some of the timings and positions need tweaking to make it a bit more butch.<br /><br />Also i need to work out why his legs go from under him at the start if i use this as a replacement sub routine in the main template.<br /><br />GOTO AUTO<br />FILL 255,10000<br />DIM RR AS BYTE<br />DIM A AS BYTE<br />DIM A16 AS BYTE<br />DIM A26 AS BYTE<br /><br />CONST ID = 0     ' 1:0, 2:32, 3:64, 4:96,<br /><br />'== Action command check (50 - 82)<br />IF RR &gt; 50 AND RR &lt; 83 THEN GOTO action_proc <br /><br />RR = 0<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 />'== motor power on ==============================<br />SPEED 5<br />MOTOR G24<br />GOSUB main<br />'================================================<br /><br />MAIN:<br />TEMPO 230<br />MUSIC "EDAFDBEDAFDBG"<br />GETMOTORSET G24,1,1,1,1,1,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0<br />SPEED 10<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 />'kneel ==========================================<br />MOVE G6B,141,  75,  42, 100, 100, 100<br />MOVE G6C,144,  74,  51, 100, 100, 100<br />MOVE G6A,102, 147,  24, 148,  98, 100<br />MOVE G6D,101, 151,  20, 146,  99, 100<br />WAIT<br />'spread =========================================<br />MOVE G6A, 67, 161,  23,  94, 137, 100<br />MOVE G6C,181,  86,  76, 100, 100, 100<br />MOVE G6D, 66, 160,  20,  94, 141, 100<br />MOVE G6B,179,  78,  65, 100, 100, 100<br />WAIT<br />'open arms ======================================<br />MOVE G6B,189, 167,  31, 100, 100, 100<br />MOVE G6C,187, 148,  30, 100, 100, 100<br />'bash left ======================================<br />HIGHSPEED SETON<br />FOR a=1 TO 10<br />SPEED 80<br />MOVE G6B,182,  64,  82, 100, 100, 100<br />MOVE G6C,187, 160,  81, 100, 100, 100<br />MOVE G6B,184,  13,  13, 100, 100, 100<br />MOVE G6C,187, 167, 100, 100, 100, 100<br />'bash right =====================================<br />MOVE G6B,184, 101,  31, 100, 100, 100<br />MOVE G6C,187,  81,  77, 100, 100, 100<br />MOVE G6B,189, 173,  90, 100, 100, 100<br />MOVE G6C,185,  10,  23, 100, 100, 100<br />WAIT<br />NEXT a<br />HIGHSPEED SETOFF<br />'steady =========================================<br />MUSIC "EDA"<br />MOVE G6B,188, 136,  34, 100, 100, 100<br />MOVE G6C,185,  65,  25, 100, 100, 100<br />WAIT<br />MOVE G6B,144, 105,  78, 100, 100, 100<br />MOVE G6C,156, 100,  80, 100, 100, 100<br />WAIT<br />SPEED 5<br />MOVE G6A, 75, 165,  23, 132, 125, 100<br />MOVE G6B,144, 105,  78, 100, 100, 100<br />MOVE G6C,156, 100,  80, 100, 100, 100<br />MOVE G6D, 75, 165,  21, 132, 125, 100<br />MOVE G6A, 97, 165,  23, 125, 102, 100<br />MOVE G6B,110,  91,  84, 100, 100, 100<br />MOVE G6C,112,  95,  79, 100, 100, 100<br />MOVE G6D, 97, 160,  20, 132, 103, 100<br />WAIT<br />'stand ==========================================<br />MOVE G6A, 98,  93, 102, 127, 102, 100<br />MOVE G6B,108,  71,  35, 100, 100, 100<br />MOVE G6C,105,  70,  36, 100, 100, 100<br />MOVE G6D,102,  93, 102, 129,  98, 100<br />MOVE G6A, 96,  95,  99, 122, 106, 100<br />MOVE G6B,108,  28,  90, 100, 100, 100<br />MOVE G6C,105,  31,  93, 100, 100, 100<br />MOVE G6D, 98,  95, 100, 122, 100, 100<br />WAIT<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=346">plingboot</a> — Fri Nov 17, 2006 10:08 am</p><hr />
]]></content>
</entry>
</feed>