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

<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-04-07T06:47:58+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=1264</id>
<entry>
<author><name><![CDATA[DirtyRoboto]]></name></author>
<updated>2007-04-07T06:47:58+01:00</updated>
<published>2007-04-07T06:47:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8354#p8354</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8354#p8354"/>
<title type="html"><![CDATA[Robonova grip idea]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8354#p8354"><![CDATA[
Nice one.<br />I used the same technique for sensing if the bot had fallen over front or back and executing the correct standup code.<br />You will also see the same type of code in my handshake routine and Bullit's compliance routine.<br /><br /><!-- m --><a class="postlink" href="http://robosavvy.com/forum/viewtopic.php?t=787&amp;highlight=compliance">http://robosavvy.com/forum/viewtopic.ph ... compliance</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=312">DirtyRoboto</a> — Sat Apr 07, 2007 6:47 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[firefox]]></name></author>
<updated>2007-04-07T02:29:23+01:00</updated>
<published>2007-04-07T02:29:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8353#p8353</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8353#p8353"/>
<title type="html"><![CDATA[RN-1 GRIP DETECTION]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8353#p8353"><![CDATA[
I have played around, learned some more and improved my results. This is just to much fun <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /> . Now if I could just get him to let go of my finger <img src="http://forum.robosavvy.com/images/smilies/icon_razz.gif" alt=":P" title="Razz" /> .<br /><br />close_grip:<br />DIM SER AS BYTE<br />DIM LOC AS BYTE<br />DIM loc1 AS BYTE<br />DIM GRP AS BYTE<br /><br />GRP=0<br />LOC=MOTORIN(15)<br />SER = loc<br />LOC1 = 0<br /><br />closegrip1:<br /><br />SER=SER-1' NEXT SERVO POSITION<br />SERVO 15,SER<br />DELAY 500' ALLOW SERVO TIME TO TRAVEL<br />LOC=MOTORIN(15)<br />loc=loc-1' CHECK SERVO POSITION<br />IF LOC = SER THEN ' CHECK TO SEE IF SERVO HAS MOVED<br />LOC1= 0<br />OUT 52,0<br />ENDIF<br />IF LOC &lt;&gt; SER THEN ' IF SERVO DID NOT MOVE ADD 1 TO LOC1<br />LOC1 = LOC1 + 1<br />OUT 52,1<br />ENDIF<br /><br />IF LOC1 &gt;= 3 THEN GOTO QUIT' IF SERVO DID NOT MOVE AFTER 3 TRIES THEN QUIT<br /><br />IF SER &lt; 80 THEN GOTO QUIT' IF SERVO REACHES FULL CLOSED THEN QUIT<br />GOTO closegrip1<br /><br /><br /><br />QUIT:<br />OUT 52,1<br />GOSUB sit_down_pose<br />RETURN<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=588">firefox</a> — Sat Apr 07, 2007 2:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[firefox]]></name></author>
<updated>2007-04-06T20:05:55+01:00</updated>
<published>2007-04-06T20:05:55+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8347#p8347</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8347#p8347"/>
<title type="html"><![CDATA[Robonova grip idea]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1264&amp;p=8347#p8347"><![CDATA[
Hi all<br />I am new to this (just recieved my RN-1 5 days ago <img src="http://forum.robosavvy.com/images/smilies/icon_biggrin.gif" alt=":D" title="Very Happy" /> ) I have assembled my RN-1 with no problems and installed matts grips ( Thanks Matt there great). I have been looking at the post and seen were some people are looking for ways to sense when the grips have grabbed somthing. I had a idea on using the motorin to check the servo position after telling the servo to move <img src="http://forum.robosavvy.com/images/smilies/icon_confused.gif" alt=":?" title="Confused" /> . If the grip closes on a object then the servo position will not match the servo commanded position. I have tried the following program and it works. even got brave and put my finger in the grip  <img src="http://forum.robosavvy.com/images/smilies/icon_cool.gif" alt="8)" title="Cool" /> ( with my other hand on the power switch just in case). Anyway this is only my 3rd day playing with robobasic so as a beginner I was would like to see if some more experienced programmers could rework my idea and post a improved version for all to share. I beleave there my be a simpler way to do the programming I just have to get some programming time under my belt.<br /><br />SETUP:<br />DIM SER AS BYTE<br />DIM LOC AS BYTE<br />DIM GRP AS BYTE<br />GRP=0<br />SER = 50<br />GETMOTORSET G6A, 1,1,1,1,1,1<br />GETMOTORSET G6B, 1,1,1,1,1,1<br />GETMOTORSET G6C, 1,1,1,1,1,1<br />GETMOTORSET G6D, 1,1,1,1,1,1<br />LOC=MOTORIN(9)<br />MOTOR G24<br />SERVO 9,50<br />DELAY 1000<br /><br /><br />MAIN:<br />SER=SER+1<br />SERVO 9,SER<br />LOC=MOTORIN(9)<br />DELAY 300<br />LOC=LOC+1<br />IF LOC = SER THEN OUT 52,1<br />IF LOC &lt;SER&gt; 120 THEN GOTO QUIT<br />GOTO MAIN<br /><br />GRIPCHECK:<br />GRP = GRP + 1<br />IF GRP = 6 THEN GOTO QUIT<br />RETURN<br /><br />QUIT:<br />OUT 52,1<br />DELAY 4000<br />GOTO SETUP<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=588">firefox</a> — Fri Apr 06, 2007 8:05 pm</p><hr />
]]></content>
</entry>
</feed>