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

<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-04-11T21:57:30+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=219</id>
<entry>
<author><name><![CDATA[Morbeious]]></name></author>
<updated>2006-04-11T21:57:30+01:00</updated>
<published>2006-04-11T21:57:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1129#p1129</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1129#p1129"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1129#p1129"><![CDATA[
Glad to help,  now on to setting up single stick mixing on the TX.  (lol)<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=108">Morbeious</a> — Tue Apr 11, 2006 9:57 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-04-11T16:46:43+01:00</updated>
<published>2006-04-11T16:46:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1124#p1124</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1124#p1124"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1124#p1124"><![CDATA[
Cool, Glad we were able to help<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Tue Apr 11, 2006 4:46 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mochung]]></name></author>
<updated>2006-04-11T16:23:45+01:00</updated>
<published>2006-04-11T16:23:45+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1122#p1122</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1122#p1122"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1122#p1122"><![CDATA[
Hi PEV,  <br /><br />YES you did it!!!  You helped me solve my delay problem.  I must say thank you and Morbeious for the effort! Ha now I can program more moves with different stick position!!  Yea!!<br /><br />Best,<br /><br />Mo<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=121">mochung</a> — Tue Apr 11, 2006 4:23 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mochung]]></name></author>
<updated>2006-04-11T16:14:18+01:00</updated>
<published>2006-04-11T16:14:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1121#p1121</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1121#p1121"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1121#p1121"><![CDATA[
Hi PEV,  <br /><br />YES you did it!!!  You helped me solve my delay problem.  I must say thank you and Morbeious for the effort! Ha now I can program more moves with different stick position!!  Yea!!<br /><br />Best,<br /><br />Mo<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=121">mochung</a> — Tue Apr 11, 2006 4:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morbeious]]></name></author>
<updated>2006-04-11T00:17:54+01:00</updated>
<published>2006-04-11T00:17:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1106#p1106</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1106#p1106"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1106#p1106"><![CDATA[
oops!   8O    I forgot that.. see what 15 years away from programming gets ya..  <br /><br />PS.  Never move to Management, you might get paid, but you loose all the knowledge.. lol<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=108">Morbeious</a> — Tue Apr 11, 2006 12:17 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-04-10T20:20:38+01:00</updated>
<published>2006-04-10T20:20:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1099#p1099</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1099#p1099"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1099#p1099"><![CDATA[
Forgot to mention I had to change the RCIN statements to match my setup but other than that it's the code you sent me<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Mon Apr 10, 2006 8:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-04-10T20:19:13+01:00</updated>
<published>2006-04-10T20:19:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1098#p1098</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1098#p1098"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1098#p1098"><![CDATA[
Mo <br /><br />I couldn't get this to work at all the first time I loaded it - I had a check and I think I have found the issue. The main routine is only ever called once. I added a single line of code and it immediately started to work for forwards and backwards. Basically I added the line GOTO MAIN after the RC read in routines as follows:<br /><br />'================================================<br />MAIN:<br /><br />RCX = RCIN(4)<br />RCY = RCIN(1)<br /><br />'RC Walk<br /><br /><br />IF RCX &gt;= 125 THEN ' RIGHT TURN<br />GOSUB right_turn<br />GOSUB standard_pose<br />ENDIF<br /><br />IF RCX &lt;= 75 AND RCX &gt; 10 THEN 'LEFT TURN<br />GOSUB left_turn<br />GOSUB standard_pose<br />ENDIF<br /><br />IF RCY &gt; 125 THEN ' BACKWARD<br />GOSUB backward_walk<br />GOSUB standard_pose<br />ENDIF<br /><br />IF RCY &lt; 75 AND RCY &gt; 40 THEN ' FORWARD<br />GOSUB forward_walk<br />GOSUB standard_pose<br />ENDIF<br /><br /><span style="color: blue">GOTO MAIN ' This is the line I inserted</span><br /><br /><br />'================================================<br />forward_walk:<br /><br /><br />Once I had added this line the forwards and backwards wolking worked immediately and with no delay. I didn't try the left and right moves. Give this a try and let me know how it comes out<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Mon Apr 10, 2006 8:19 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mochung]]></name></author>
<updated>2006-04-10T19:16:55+01:00</updated>
<published>2006-04-10T19:16:55+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1096#p1096</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1096#p1096"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1096#p1096"><![CDATA[
Hi PEV, would you try this code and let me know if you experience any delay whenever you move the stick?  To me the stick and the movement doesnt sync at all.  I really need to wait for more than 10 sec just to get RN-1 CPU understand my TX command and get it up and running.<br /><br />'== Robot walk ================================ <br /><br />GOTO AUTO <br />FILL 255,10000 <br /><br />DIM RCX AS BYTE <br />DIM RCY AS BYTE <br /><br />CONST ID = 0 ' 1:0, 2:32, 3:64, 4:96, <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 /><br />'== motor start position read =================== <br />TEMPO 230 <br />MUSIC "CDE" <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 />'== motor power on ============================= <br />SPEED 5 <br />MOTOR G24 <br />GOSUB standard_pose <br />'================================================ <br /><br /><br />'Gyro Setup <br />GYROSET G6A,0,1,1,0,0,0 <br />GYROSET G6D,0,1,1,0,0,0 <br /><br />GYRODIR G6A,1,0,0,1,0,0 <br />GYRODIR G6D,1,0,0,1,0,0 <br /><br />GYROSENSE G6A,0,200,200,0,0,0 <br />GYROSENSE G6D,0,200,200,0,0,0 <br /><br />'================================================ <br />MAIN: <br /><br />RCX = RCIN(3) <br />RCY = RCIN(1) <br /><br />'RC Walk <br /><br /><br />IF RCX &gt;= 125 THEN ' RIGHT TURN <br />GOSUB right_turn <br />GOSUB standard_pose <br />ENDIF <br /><br />IF RCX &lt;= 75 AND RCX &gt; 10 THEN 'LEFT TURN <br />GOSUB left_turn <br />GOSUB standard_pose <br />ENDIF <br /><br />IF RCY &gt; 125 THEN ' BACKWARD <br />GOSUB backward_walk <br />GOSUB standard_pose <br />ENDIF <br /><br />IF RCY &lt; 75 AND RCY &gt; 40 THEN ' FORWARD <br />GOSUB forward_walk <br />GOSUB standard_pose <br />ENDIF <br /><br />RETURN <br /><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 />fwd_walk_main: <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 />SPEED 10 <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 14 <br />'right up <br /><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 /><br />SPEED 10 <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 />RCX = RCIN(3) <br />RCY = RCIN(1) <br /><br />IF RCX &gt;= 75 AND RCX &lt;= 125 THEN <br /><br />IF RCY &lt;= 75 THEN <br />GOTO fwd_walk_main <br />ENDIF <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 /><br />RETURN <br />'================================================ <br />'================================================ <br />left_turn: <br />SPEED 6 <br />MOVE G6D, 85, 71, 152, 91, 112, 60 <br />MOVE G6A, 112, 76, 145, 93, 92, 60 <br />MOVE G6C, 100, 40, 80, , , , <br />MOVE G6B, 100, 40, 80, , , , <br />WAIT <br /><br />SPEED 9 <br />MOVE G6A, 113, 75, 145, 97, 93, 60 <br />MOVE G6D, 90, 50, 157, 115, 112, 60 <br />MOVE G6B, 105, 40, 70, , , , <br />MOVE G6C, 90, 40, 70, , , , <br />WAIT <br /><br />MOVE G6A, 108, 78, 145, 98, 93, 60 <br />MOVE G6D, 95, 43, 169, 110, 110, 60 <br />MOVE G6B, 105, 40, 70, , , , <br />MOVE G6C, 80, 40, 70, , , , <br />WAIT <br />RETURN <br />'================================================ <br />'================================================ <br />right_turn: <br />SPEED 6 <br />MOVE G6A, 85, 71, 152, 91, 112, 60 <br />MOVE G6D, 112, 76, 145, 93, 92, 60 <br />MOVE G6B, 100, 40, 80, , , , <br />MOVE G6C, 100, 40, 80, , , , <br />WAIT <br /><br />SPEED 9 <br />MOVE G6D, 113, 75, 145, 97, 93, 60 <br />MOVE G6A, 90, 50, 157, 115, 112, 60 <br />MOVE G6C, 105, 40, 70, , , , <br />MOVE G6B, 90, 40, 70, , , , <br />WAIT <br /><br />MOVE G6D, 108, 78, 145, 98, 93, 60 <br />MOVE G6A, 95, 43, 169, 110, 110, 60 <br />MOVE G6C, 105, 40, 70, , , , <br />MOVE G6B, 80, 40, 70, , , , <br />WAIT <br />RETURN <br />'================================================ <br />'================================================ <br /><br />backward_walk: <br /><br />SPEED 5 <br />GOSUB backward_walk1 <br /><br />SPEED 13 <br />GOSUB backward_walk2 <br /><br />SPEED 7 <br />GOSUB backward_walk3 <br />GOSUB backward_walk4 <br />GOSUB backward_walk5 <br /><br />SPEED 13 <br />GOSUB backward_walk6 <br /><br />SPEED 7 <br />GOSUB backward_walk7 <br />GOSUB backward_walk8 <br />GOSUB backward_walk9 <br /><br />SPEED 13 <br />GOSUB backward_walk2 <br /><br />SPEED 5 <br />GOSUB backward_walk1 <br /><br />RETURN <br />'================================================ <br /><br />backward_walk1: <br />MOVE G6A, 85, 71, 152, 91, 112, 60 <br />MOVE G6D,112, 76, 145, 93, 92, 60 <br />MOVE G6B,100, 40, 80, , , , <br />MOVE G6C,100, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk2: <br />MOVE G6A, 90, 107, 105, 105, 114, 60 <br />MOVE G6D,113, 78, 145, 93, 90, 60 <br />MOVE G6B, 90, 40, 80, , , , <br />MOVE G6C,100, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk9: <br />MOVE G6A, 90, 56, 143, 122, 114, 60 <br />MOVE G6D,113, 80, 145, 90, 90, 60 <br />MOVE G6B, 80, 40, 80, , , , <br />MOVE G6C,105, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk8: <br />MOVE G6A,100, 62, 146, 108, 100, 100 <br />MOVE G6D,100, 88, 140, 86, 100, 100 <br />MOVE G6B, 90, 40, 80, , , , <br />MOVE G6C,100, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk7: <br />MOVE G6A,113, 76, 142, 105, 90, 60 <br />MOVE G6D,90, 96, 136, 85, 114, 60 <br />MOVE G6B,100, 40, 80, , , , <br />MOVE G6C,100, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk6: <br />MOVE G6D,90, 107, 105, 105, 114, 60 <br />MOVE G6A,113, 78, 145, 93, 90, 60 <br />MOVE G6C,90, 40, 80, , , , <br />MOVE G6B,100, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk5: <br />MOVE G6D,90, 56, 143, 122, 114, 60 <br />MOVE G6A,113, 80, 145, 90, 90, 60 <br />MOVE G6C,80, 40, 80, , , , <br />MOVE G6B,105, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk4: <br />MOVE G6D,100, 62, 146, 108, 100, 100 <br />MOVE G6A,100, 88, 140, 86, 100, 100 <br />MOVE G6C,90, 40, 80, , ,, <br />MOVE G6B,100, 40, 80, , , , <br />WAIT <br />RETURN <br /><br />backward_walk3: <br />MOVE G6D,113, 76, 142, 105, 90, 60 <br />MOVE G6A, 90, 96, 136, 85, 114, 60 <br />MOVE G6C,100, 40, 80, , , , <br />MOVE G6B,100, 40, 80, , , , <br />WAIT <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 /><br />Best,<br /><br />Mo<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=121">mochung</a> — Mon Apr 10, 2006 7:16 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-04-09T21:38:52+01:00</updated>
<published>2006-04-09T21:38:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1054#p1054</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1054#p1054"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1054#p1054"><![CDATA[
Hi Mo<br /><br />Okay I'll try to make this as clear as I can. <br /><br />The TX is an ACOMS 4 channel FM setup on 40Mhz (cheapest I could buy today lol) with the RX I mentioned earlier in the thread the Futaba R114F - This is 4 channel RX and picks up its power input on Channel 4 (although I think it would work on any channel). I also have a GWS PG-03 gyro. They are connected as follows<br /><br />GWS PG-03 gyro connected to Gyro Port 1 which is AD port 0 and 4<br />4 channel RX connected to AD ports 1,2,3 and 5<br /><br />I am powering the gyro from AD port 0 and the RX from AD port 5<br /><br />I have connected the ground and signal lines on the other AD ports to the RX and gyro  devices as required but not the +ve.<br /><br />To date I have only written code for basic walking and turning on channels 1 and 4 of the RX (that is my left stick). The code is as follows and the variables CH1 through to CH4 are dimensioned as byte:<br /><br />'Gyro Setup<br />GYROSET G6A,0,1,1,0,0,0<br />GYROSET G6D,0,1,1,0,0,0<br /><br />GYRODIR G6A,0,1,1,0,1,1<br />GYRODIR G6D,0,1,1,0,1,1<br /><br />GYROSENSE G6A,0,200,200,00,0,0<br />GYROSENSE G6D,0,200,200,00,0,0<br /><br />MAIN:<br /><br />GOSUB robot_voltage<br />'GOSUB robot_tilt<br /><br />' RC control - CH1 = left stick Vertical, CH2 = Right Stick Horizontal, CH3 = Right Stick Vertical, CH4 = Left Stick Horizontal<br />'Max movement values per channel are:<br />' CH1 : top = 21, mid = 96, bot = 180 ----- CH2 Left = 10, mid = 101, right = 190<br />' CH3 : top = 10, mid = 99, bot = 185 ----- CH4 Left = 10, mid = 100, right = 188<br />CH1 = RCIN(1)<br />CH2 = RCIN(2)<br />CH3 = RCIN(3)<br />CH4 = RCIN(5)<br /><br />'rem forwards and backwards <br />IF CH1 &lt; 75 AND CH1 &gt; 40 THEN GOSUB k11 'walk fwds<br />IF CH1 &lt; 40 THEN GOSUB K10 'run fwds<br />IF CH1 &gt; 125  THEN GOSUB K12 'walk backwards<br /><br />'Left and Right<br />IF CH1 &gt; 75 AND CH1 &lt; 120 THEN GOSUB RC_TURN ' Check for Channel 4 input<br /><br />'-----------------------------<br /><br />'IR Control<br /><br />IF RR = 0 THEN GOTO MAIN1<br /><br />ON RR GOTO MAIN,K1,K2,K3,K4,K5,K6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO main_exit<br />'-----------------------------<br />MAIN1:<br />A = REMOCON(1)  <br />A = A - ID<br />ON A GOTO MAIN,K1,K2,K3,K4,K5,K6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />GOTO MAIN<br />'-------------------------------------------------<br />action_proc:<br />A = RR - 50<br />ON A GOTO MAIN,K1,K2,K3,K4,K5,K6,K7,K8,K9,K10,K11,K12,K13,K14,K15,K16,K17,K18,K19,K20,K21,K22,K23,K24,K25,K26,K27,K28,K29,K30,K31,K32<br />RETURN<br />'-----------------------------<br />main_exit:<br />IF RR &gt; 50 THEN RETURN<br />RR = 0<br />GOTO MAIN<br />'================================================<br />'RC Left-Right<br />RC_TURN:<br /><br />IF CH4 &lt; 75 AND CH4 &gt; 40 THEN <br />GOSUB k22 'turn left<br />ELSEIF CH4 &gt; 125 AND CH4 &lt; 160 THEN <br />GOSUB k24 'trun right<br />ENDIF<br /><br />IF CH4 &gt; 160 THEN GOSUB k23 ' quick turn right (custom move)<br />IF CH4 &lt; 40 THEN GOSUB k18 ' quick turn left (custom move)<br /><br />RETURN<br /><br />I am using the hitec supplied walking and turning routines except for K23 and K18 which are custom routines for a faster turn but are somewhat less stable. These two routines are the only ones at the moment that cause him to fall over. I have also modified the walking forwards and backwards routines for continuous motion as per Tacoman's code example in an earlier post (thanks Tacoman). The CH1 &lt;75 and CH1 &gt;125 on channel 1 is used to create a dead zone near the TX stick centre. I also have multiple moves on the TX stick based on how far you move it.<br /><br />I do see a few minor issues with this setup. I am not getting the delay you refer to but I do see two issues:<br /><br />1. When he has been walking around for a good period of time (10 t0 15 minutes) I sometimes see the processor board reset and then loop in a reset. This means he judders and I have to turn him on and off to get him started again. I think it may be a brownout problem with the power as it is only after some of my custom rountines that move just about every servo at once.<br />2. He occasionally pauses mid movement for 2 to 3 seconds, but then carries on. This is as if the processor is busy processing something and the servo movement is to low down the interupt table (hope that makes sense). He does however always come out of this without any intervention from me.<br /><br />As you can see from the code I am still allowing the IR unit to be used to access the other movements and this seems to work well. My intention is to move as many of the movements I want to the RX based system and remove the IR sensor.<br /><br />I am not seeing the random delays I have seen you mention in your previous posts so am not sure what may be causing them. I hope some of the above is useful and helps address your issue. Feel free to send me any data/code you have and I'll happily take a look at it.<br /><br />All the best<br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Sun Apr 09, 2006 9:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mochung]]></name></author>
<updated>2006-04-09T18:17:57+01:00</updated>
<published>2006-04-09T18:17:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1050#p1050</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1050#p1050"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1050#p1050"><![CDATA[
Hi PEV, I would like to see if you can set up the RX with RN-1 smoothly.  I am currently expericing some issues with RX setup.  I can control RN-1 with my 9CH TX but its not always the case.  Most of the time I have some sort of delay issues.  It means that when I move the TX's stick RN-1 doesnt react right the way.  The delay is like at least 10 seconds!  Sometimes there is no reaction at all.<br /><br />So I just want to see if you dont have that kind of problem and if you can also share with us your RX setup and the code to run RC with RN-1.<br /><br />Best,<br /><br />Mo<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=121">mochung</a> — Sun Apr 09, 2006 6:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-04-09T17:18:32+01:00</updated>
<published>2006-04-09T17:18:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1049#p1049</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1049#p1049"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1049#p1049"><![CDATA[
<blockquote><div><cite>Morbeious wrote:</cite><br />eh, Pev<br /><br />I picked up the Futaba 4 channel R124F,  it pretty small, even has smaller connectors I hear is pretty new, cost only $25, and its long ranges, its also on 72Mhz.. for air though.<br /><br />I will post a picture later..<br /></div></blockquote><br /><br />Hi Morbeious,<br /><br />I have just checked the freq available in the uk and it doesn't look like 72Mhz is allowed (according to OfCom the governing body over here) - we seem to have 27Mhz AM (anything), 35Mhz FM (aircraft), 40Mhz FM (ground) and 2.4Ghz (ground). There is a 458Mhz but I haven't found much equipment for it. Also haven't found the R124F in my catalogue so may not be available in the UK. The R114F and Hitech Micro/Feather receivers seem to be the smallest 4 channels around over here unless you go for the tiny sub micro stuff I saw today (the receiver was about the size of my thumb nail and had a price tag to match lol).<br /><br />If anyone in the UK needs to know the freq available you can check out the OfCom site at :<br /><br /><a href="http://www.ofcom.org.uk/radiocomms/ifi/licensing/classes/rlans/technical/ofw311/" class="postlink">http://www.ofcom.org.uk/radiocomms/ifi/licensing/classes/rlans/technical/ofw311/</a><br /><br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Sun Apr 09, 2006 5:18 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morbeious]]></name></author>
<updated>2006-04-09T16:48:17+01:00</updated>
<published>2006-04-09T16:48:17+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1048#p1048</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1048#p1048"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1048#p1048"><![CDATA[
eh, Pev<br /><br />I picked up the Futaba 4 channel R124F,  it pretty small, even has smaller connectors I hear is pretty new, cost only $25, and its long ranges, its also on 72Mhz.. for air though.<br /><br />I will post a picture later..<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=108">Morbeious</a> — Sun Apr 09, 2006 4:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Pev]]></name></author>
<updated>2006-04-09T16:09:54+01:00</updated>
<published>2006-04-09T16:09:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1045#p1045</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1045#p1045"/>
<title type="html"><![CDATA[Small RC Receiver]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=219&amp;p=1045#p1045"><![CDATA[
I've just set about adding RC control to my RN1 so firstly thank you to everyone who has posted information, advice and code - has been a great help. <br /><br />I needed a small receiver just as we all do and I managed to find a pretty small but not overly expensive one and it works great. It's a 4 Channel unit from Futaba called the R114F and it's around £30. the dimesions are 22mm X 32mm x 13.5mm. Its only a short range unit but works great for the RN1.<br /><br /><img src="http://robosavvy.com/Builders/Pev/CIMG0001.JPG" alt="Image" /><br /><br /><br />Pev<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=88">Pev</a> — Sun Apr 09, 2006 4:09 pm</p><hr />
]]></content>
</entry>
</feed>