<?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=15&amp;t=8439" />

<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>2012-10-17T15:23:15+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=8439</id>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2012-10-17T15:23:15+01:00</updated>
<published>2012-10-17T15:23:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35781#p35781</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35781#p35781"/>
<title type="html"><![CDATA[wck move]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35781#p35781"><![CDATA[
Great - btw there is a wiki page as well <br /><br /><!-- m --><a class="postlink" href="http://code.google.com/p/robobuildervc/wiki/CSharp">http://code.google.com/p/robobuildervc/wiki/CSharp</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Wed Oct 17, 2012 3:23 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[chickenkai]]></name></author>
<updated>2012-10-17T14:30:54+01:00</updated>
<published>2012-10-17T14:30:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35779#p35779</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35779#p35779"/>
<title type="html"><![CDATA[wck move]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35779#p35779"><![CDATA[
thanks a lot!<br /><br />Now I know how to do!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3490">chickenkai</a> — Wed Oct 17, 2012 2:30 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2012-10-17T09:13:59+01:00</updated>
<published>2012-10-17T09:13:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35764#p35764</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35764#p35764"/>
<title type="html"><![CDATA[wck move]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35764#p35764"><![CDATA[
Its possible to achieve smooth motion with the lib. When moving between two points you need to calculate the  &quot;inbetween positions&quot; ot tweens to get that smooth motion. So rather than a servo going from position 20 -&gt; 40 you need it to go to 20 -&gt; 25 -&gt; 30 -&gt;35 -&gt; 40.  There is a command &quot;PlayPose&quot; in wckMotion class that will do that for you. i.e.  wckMotion.PlayPose(duration, no_steps, position_array, true); The parameters are as follows:<br /><br />duration          = time to take in ms i.e 1000.<br />no_steps         = number of tweens i.e. 10 (this would make each step 100ms long (min is 25ms)<br />position_array = byte[] with servo positions i.e. 16 for normal robuilder<br />true/false        =  determines whether it need to read the current position of the servos first.  In a sequence of moves use true for the first use and the false afterwards for speed as it remembers the last command psoition<br /><br />So to take up basic pose would be as follows (roughly)<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>PCremote p = new PCremote&#40;&quot;com1&quot;&#41;;<br />wckMotion w = new wckMotion&#40;p&#41;;<br /><br />w.PlayPose&#40;3000, 10, new byte&#91;&#93; &#123;125, 179, 199, 88, 108, 126, 72, 49, 163, 141, 51, 47, 49, 199, 205, 205 &#125;, true&#41;;</code></dd></dl><br /><br />Playpose also has variations Playfile (play moves from a csv file) and PlayMatrix that takes a matrix of moves. So you can store built in moves in a csv file and play them like stock motions - I do this in my android app.<br /><br />Also the interpolation by default is linear or equal steps, but there is a variation where you can pass a type in that switches modes and allows for different types (Accel, De Accel or Accel then Deaccel).  This is based on code published by <span style="font-weight: bold">RN1A</span> on this very forum.<br /><br />I wish more poeple would share code .. ultimately its the code that makes robot<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Wed Oct 17, 2012 9:13 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[chickenkai]]></name></author>
<updated>2012-10-17T08:35:35+01:00</updated>
<published>2012-10-17T08:35:35+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35763#p35763</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35763#p35763"/>
<title type="html"><![CDATA[wck move]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8439&amp;p=35763#p35763"><![CDATA[
Hi,<br /><br />I use C# to control my robobuilder, and I use  RobobuilderLib.dll <br /><br />Now I can let my robot stand, but it's action seens not as smoothly as the <br /><br />installed motions.<br /><br />How can I solve this problem?<br /><br />Use the function delay_ms()? or others?<br /><br />thanks!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3490">chickenkai</a> — Wed Oct 17, 2012 8:35 am</p><hr />
]]></content>
</entry>
</feed>