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

<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-05-10T10:09:32+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=2531</id>
<entry>
<author><name><![CDATA[My Bear]]></name></author>
<updated>2008-05-10T10:09:32+01:00</updated>
<published>2008-05-10T10:09:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15716#p15716</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15716#p15716"/>
<title type="html"><![CDATA[Programming Advice]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15716#p15716"><![CDATA[
Thanks for putting me straight Guys<br /><br />Now working a treat.<br /><br />All the best<br /><br />Darren<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=901">My Bear</a> — Sat May 10, 2008 10:09 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[DirtyRoboto]]></name></author>
<updated>2008-05-10T04:44:29+01:00</updated>
<published>2008-05-10T04:44:29+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15715#p15715</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15715#p15715"/>
<title type="html"><![CDATA[Re: Programming question/confusion]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15715#p15715"><![CDATA[
<blockquote><div><cite>My Bear wrote:</cite><br />Hi Guys <br /><br />What have I missed or doing incorrectly.<br /><br />Using RoboBASIC I set up a sequence of hip and ankle movements which works seamlessly.<br /><br />I then go back and decide to add head and arm movement. When I do this by changing the servo position of the respective arm and head servos it works. BUT then the hip and ankle movement stop responding.<br /><br />but start up again once the head and arm movement stops!<br /><br />Confused and starting to lose the plot.<br /><br />Here is the thread, what am I missing, please put me straight and give me the basics.<br /><br />The arm movement is on line G6C 1,2,3<br /><br />Hip Movement is on line G6A 5 &amp; G6D 5<br /><br />Head movement is on line G6B 4,5<br /><br />All work fine independently but not together?<br /><br />PTP ALLON<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 5<br />MOTOR G24<br /><br />MOVE G6A, 99,  77, 117,  87,  99,  77<br />MOVE G6B,108,  40,  79,  92, 100,  33<br />MOVE G6C,104,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 104, 106<br />DELAY 5000 <br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79, 105, 100,  33<br />MOVE G6C,110,  44,  80, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  99, 100,  33<br />MOVE G6C,125,  45,  81, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  92, 100,  33<br />MOVE G6C,140,  45,  81, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  87, 102,  33<br />MOVE G6C,156,  45,  82, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  92, 107,  33<br />MOVE G6C,173,  46,  82, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  99, 113,  33<br />MOVE G6C,180,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79, 105, 120,  33<br />MOVE G6C,188,  59,  83, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  98, 133,  33<br />MOVE G6C,104,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  91, 146,  33<br />MOVE G6C,187,  83,  84, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br /></div></blockquote><br /><br />Like i-Bot says, you need to include a wait after each group of moves to stop the following code from overriding the last command.<br />Try this...<br /><br />PTP ALLON<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 5<br />MOTOR G24<br /><br />MOVE G6A, 99,  77, 117,  87,  99,  77<br />MOVE G6B,108,  40,  79,  92, 100,  33<br />MOVE G6C,104,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 104, 106<br />DELAY 5000 <br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79, 105, 100,  33<br />MOVE G6C,110,  44,  80, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  99, 100,  33<br />MOVE G6C,125,  45,  81, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  92, 100,  33<br />MOVE G6C,140,  45,  81, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  87, 102,  33<br />MOVE G6C,156,  45,  82, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  92, 107,  33<br />MOVE G6C,173,  46,  82, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  99, 113,  33<br />MOVE G6C,180,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79, 105, 120,  33<br />MOVE G6C,188,  59,  83, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  98, 133,  33<br />MOVE G6C,104,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />WAIT<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  91, 146,  33<br />MOVE G6C,187,  83,  84, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=312">DirtyRoboto</a> — Sat May 10, 2008 4:44 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-05-09T23:01:58+01:00</updated>
<published>2008-05-09T23:01:58+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15714#p15714</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15714#p15714"/>
<title type="html"><![CDATA[Programming question/confusion]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15714#p15714"><![CDATA[
Not sure if it is your problem, but think of a MOVE as always having a WAIT instruction at the front of it.<br />Instead of multiple Move G6, use G24 if they are all to move at the same time. Else each move is  done in turn.<br /><br />You can use a zero in a MOVE value of G24, if you don't want it to change from the last value.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Fri May 09, 2008 11:01 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[My Bear]]></name></author>
<updated>2008-05-09T22:28:07+01:00</updated>
<published>2008-05-09T22:28:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15713#p15713</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15713#p15713"/>
<title type="html"><![CDATA[Programming question/confusion]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2531&amp;p=15713#p15713"><![CDATA[
Hi Guys <br /><br />What have I missed or doing incorrectly.<br /><br />Using RoboBASIC I set up a sequence of hip and ankle movements which works seamlessly.<br /><br />I then go back and decide to add head and arm movement. When I do this by changing the servo position of the respective arm and head servos it works. BUT then the hip and ankle movement stop responding.<br /><br />but start up again once the head and arm movement stops!<br /><br />Confused and starting to lose the plot.<br /><br />Here is the thread, what am I missing, please put me straight and give me the basics.<br /><br />The arm movement is on line G6C 1,2,3<br /><br />Hip Movement is on line G6A 5 &amp; G6D 5<br /><br />Head movement is on line G6B 4,5<br /><br />All work fine independently but not together?<br /><br />PTP ALLON<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 5<br />MOTOR G24<br /><br />MOVE G6A, 99,  77, 117,  87,  99,  77<br />MOVE G6B,108,  40,  79,  92, 100,  33<br />MOVE G6C,104,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 104, 106<br />DELAY 5000 <br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79, 105, 100,  33<br />MOVE G6C,110,  44,  80, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  99, 100,  33<br />MOVE G6C,125,  45,  81, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  92, 100,  33<br />MOVE G6C,140,  45,  81, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  87, 102,  33<br />MOVE G6C,156,  45,  82, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  92, 107,  33<br />MOVE G6C,173,  46,  82, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  99, 113,  33<br />MOVE G6C,180,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79, 105, 120,  33<br />MOVE G6C,188,  59,  83, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<br />MOVE G6A, 99,  77, 117,  87, 103,  77<br />MOVE G6B,108,  40,  79,  98, 133,  33<br />MOVE G6C,104,  41,  78, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 102, 106<br />MOVE G6A, 99,  77, 117,  87,  96,  77<br />MOVE G6B,108,  40,  79,  91, 146,  33<br />MOVE G6C,187,  83,  84, 100, 100, 100<br />MOVE G6D, 98,  82, 138,  82, 106, 106<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=901">My Bear</a> — Fri May 09, 2008 10:28 pm</p><hr />
]]></content>
</entry>
</feed>