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

<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>2010-09-07T16:08:50+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=6540</id>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T16:08:50+01:00</updated>
<published>2010-09-07T16:08:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28064#p28064</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28064#p28064"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28064#p28064"><![CDATA[
Thanks a lot it works now<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 4:08 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[roboard]]></name></author>
<updated>2010-09-07T15:56:17+01:00</updated>
<published>2010-09-07T15:56:17+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28062#p28062</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28062#p28062"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28062#p28062"><![CDATA[
<blockquote><div><cite>dragonax wrote:</cite><br />I tried the following with no luck<br /><br />...<br /></div></blockquote><br /><br />Hi, please try the following code again:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>if &#40;rcservo_SetServo&#40;2, RCSERVO_SERVO_DEFAULT_NOFB&#41;&#41;<br />&#123;<br />  if &#40;rcservo_Initialize&#40;RCSERVO_USECHANNEL2&#41;&#41;<br />  &#123;<br />    unsigned long motion&#91;32&#93;;<br />    motion&#91;2&#93; =1500;<br />    rcservo_EnterPlayMode_NOFB&#40;motion&#41;;<br />    <br />    motion&#91;2&#93; =1800;<br />    rcservo_MoveTo&#40;motion, 1000L&#41;; //move servo in channel 2 from position 1500 &#40;us&#41; to 1800 &#40;us&#41; in 1sec<br />    rcservo_Close&#40;&#41;;<br />  &#125;<br />&#125;</code></dd></dl><br /><br />In rcservo_EnterPlayMode_NOFB(motion), the &quot;motion&quot; must be the home (initial) position of servo; and in rcservo_MoveTo(motion, 1000L), the &quot;motion&quot; is the destination (target) position. <br /><br />When calling rcservo_MoveTo(), servo will move from the last position to the specified destination position. For example, if you want servo to move from home, motion1, motion2, ..., to motion 10, then you can write<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>unsigned long home&#91;32&#93;;<br />unsigned long motion1&#91;32&#93;;<br />unsigned long motion2&#91;32&#93;;<br />...<br />unsigned long motion10&#91;32&#93;;<br /><br />...<br />... //set value for home, motion1, ..., motion10<br />...<br /><br />rcservo_EnterPlayMode_NOFB&#40;home&#41;;<br />rcservo_MoveTo&#40;motion1, 200L&#41;; //move from home to motion1 in 200ms<br />rcservo_MoveTo&#40;motion2, 200L&#41;; //move from motion1 to motion2 in 200ms<br />rcservo_MoveTo&#40;motion3, 200L&#41;; //move from motion2 to motion3 in 200ms<br />...<br />rcservo_MoveTo&#40;motion10, 200L&#41;; //move from motion9 to motion10 in 200ms<br /></code></dd></dl><br /><br /><img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1542">roboard</a> — Tue Sep 07, 2010 3:56 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T14:05:15+01:00</updated>
<published>2010-09-07T14:05:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28061#p28061</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28061#p28061"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28061#p28061"><![CDATA[
I got it working I had to change to <br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>rcservo_EnterPlayMode_NOFB&#40;motion&#41;;<br /></code></dd></dl><br /><br />But still rcservo_MoveTo() function doesn't control the speed of the servo Any idea how to achieve this?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 2:05 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T13:48:02+01:00</updated>
<published>2010-09-07T13:48:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28060#p28060</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28060#p28060"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28060#p28060"><![CDATA[
my board is RB_100 and roboio ver is 1.6<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 1:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T13:24:38+01:00</updated>
<published>2010-09-07T13:24:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28059#p28059</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28059#p28059"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28059#p28059"><![CDATA[
Thanks for the code but it doesn't work for me <img src="http://forum.robosavvy.com/images/smilies/icon_sad.gif" alt=":(" title="Sad" /><br /><br />I tried with the following<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>ActionData&#91;0&#93;&#91;2&#93;=1500;<br />rcservo_MoveTo&#40;ActionData&#91;0&#93;,500L&#41;;<br /></code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 1:24 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tommylin]]></name></author>
<updated>2010-09-07T12:54:09+01:00</updated>
<published>2010-09-07T12:54:09+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28058#p28058</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28058#p28058"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28058#p28058"><![CDATA[
need to confirmed 2 thing ..<br />A. what's your board version RB-100 ? RB-110 ?<br />B. RoboIO Lib Version ? 1.5 or 1.6 ?<br /><br />my code ..<br /><dl class="codebox"><dt>Code: </dt><dd><code>static unsigned long ActionData&#91;100&#93;&#91;24&#93;//&#91;FrameNo&#93;&#91;ChannelNo&#93;;<br /><br />roboio_SetRBVer&#40;RB_100&#41;; // &#28858;RoBoard RB-100<br />for &#40; int i=0; i &lt; 24; i++ &#41;                                       <br />  rcservo_SetServo &#40; i, RCSERVO_HITEC_HSR8498 &#41;;<br />                  <br />rcservo_Initialize&#40; <br />                     RCSERVO_USECHANNEL0 + RCSERVO_USECHANNEL1 + RCSERVO_USECHANNEL2 + <br />                     RCSERVO_USECHANNEL3 + RCSERVO_USECHANNEL4 + RCSERVO_USECHANNEL5 + <br />                     RCSERVO_USECHANNEL6 + RCSERVO_USECHANNEL7 + RCSERVO_USECHANNEL8 + <br />                     RCSERVO_USECHANNEL9 + RCSERVO_USECHANNEL10 + RCSERVO_USECHANNEL11 + <br />                     RCSERVO_USECHANNEL12 + RCSERVO_USECHANNEL13 + RCSERVO_USECHANNEL14 + <br />                     RCSERVO_USECHANNEL15 &#41;;//+ RCSERVO_USECHANNEL16 + RCSERVO_USECHANNEL17 + <br />                     //RCSERVO_USECHANNEL18 + RCSERVO_USECHANNEL19 + RCSERVO_USECHANNEL20   &#41;;<br /><br />rcservo_EnterPlayMode &#40;&#41;; <br /><br />rcservo_MoveTo&#40;  ActionData&#91;CurrentFrameNo&#93;, 500L &#41;;</code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2313">tommylin</a> — Tue Sep 07, 2010 12:54 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T12:29:03+01:00</updated>
<published>2010-09-07T12:29:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28057#p28057</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28057#p28057"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28057#p28057"><![CDATA[
I have tried this but I can't seem to get it working I was using rceservo_SendPWMPulses before.<br /><br />I tried the following with no luck<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>if &#40;rcservo_SetServo&#40;2, RCSERVO_SERVO_DEFAULT_NOFB&#41;&#41;<br />&#123;<br />  if &#40;rcservo_Initialize&#40;RCSERVO_USECHANNEL2&#41;&#41;<br />  &#123;<br />    unsigned long motion&#91;32&#93;;<br />    unsigned long count=100;<br />    motion&#91;2&#93; =1500;<br />    rcservo_EnterPlayMode_HOME&#40;motion&#41;;<br />    <br />    rcservo_MoveTo&#40;motion, count&#41;;<br />    while &#40;rcservo_PlayAction&#40;&#41; != RCSERVO_PLAYEND&#41;<br />    &#123;<br />    &#125;<br />    rcservo_Close&#40;&#41;;<br />  &#125;<br />&#125;</code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 12:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tommylin]]></name></author>
<updated>2010-09-07T11:50:25+01:00</updated>
<published>2010-09-07T11:50:25+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28056#p28056</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28056#p28056"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28056#p28056"><![CDATA[
used RoboIO is very simple.<br /><br />call RoboIO API ..<br />rcservo_MoveTo(unsigned long* width, unsigned long playtime);<br /><br />that's it, <br />I hope can help you, and see your hexapod project video soon ^^<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2313">tommylin</a> — Tue Sep 07, 2010 11:50 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T11:23:51+01:00</updated>
<published>2010-09-07T11:23:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28055#p28055</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28055#p28055"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28055#p28055"><![CDATA[
Im using roboio source latest version running in Linux<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 11:23 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tommylin]]></name></author>
<updated>2010-09-07T11:21:57+01:00</updated>
<published>2010-09-07T11:21:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28054#p28054</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28054#p28054"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28054#p28054"><![CDATA[
did you got RoboIO.LIB or RoboIO source code from <!-- w --><a class="postlink" href="http://www.roboard.com">www.roboard.com</a><!-- w --> yet ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2313">tommylin</a> — Tue Sep 07, 2010 11:21 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T11:10:13+01:00</updated>
<published>2010-09-07T11:10:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28053#p28053</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28053#p28053"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28053#p28053"><![CDATA[
How did you managed to do this? <br />I want to control the speed of servos for my hexapod any idea on how to do this<br /><br />Thanks<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 11:10 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tommylin]]></name></author>
<updated>2010-09-07T09:42:23+01:00</updated>
<published>2010-09-07T09:42:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28052#p28052</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28052#p28052"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28052#p28052"><![CDATA[
Hi Dragonax,<br />My project video below ..<br /><!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=WkezSkJUU3Q">http://www.youtube.com/watch?v=WkezSkJUU3Q</a><!-- m --><br />I can Adjustment servo speed for Robot walking position.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2313">tommylin</a> — Tue Sep 07, 2010 9:42 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T06:22:32+01:00</updated>
<published>2010-09-07T06:22:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28048#p28048</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28048#p28048"/>
<title type="html"><![CDATA[Servo Speed]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6540&amp;p=28048#p28048"><![CDATA[
Is it possible to control the speed of the servo on the roboard like how you can do in ssc-32 servo controller?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 6:22 am</p><hr />
]]></content>
</entry>
</feed>