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

<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-02-07T21:55:59+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=5852</id>
<entry>
<author><name><![CDATA[Sazabi]]></name></author>
<updated>2010-02-07T21:55:59+01:00</updated>
<published>2010-02-07T21:55:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25412#p25412</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25412#p25412"/>
<title type="html"><![CDATA[Need help with HSR8498, plz]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25412#p25412"><![CDATA[
Ok, never mind it. Solved)<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=870">Sazabi</a> — Sun Feb 07, 2010 9:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Sazabi]]></name></author>
<updated>2010-02-06T12:52:59+01:00</updated>
<published>2010-02-06T12:52:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25380#p25380</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25380#p25380"/>
<title type="html"><![CDATA[Need help with HSR8498, plz]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25380#p25380"><![CDATA[
Tried romayiii's code from another thread - got the same error &quot;rcservo_readPositions_PlayMode() fails to read channel 0!&quot;. If I comment &quot;rcservo_EnterPlayMode();&quot; no error appear, but nothing else happens.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=870">Sazabi</a> — Sat Feb 06, 2010 12:52 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Sazabi]]></name></author>
<updated>2010-02-06T00:05:22+01:00</updated>
<published>2010-02-06T00:05:22+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25375#p25375</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25375#p25375"/>
<title type="html"><![CDATA[Need help with HSR8498, plz]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=5852&amp;p=25375#p25375"><![CDATA[
That's me again)<br />I did everything I could imagine,but couldn't make servo move(<br />That's the code I used:<br /><dl class="codebox"><dt>Code: </dt><dd><code>#include &quot;stdafx.h&quot;<br />#include &quot;rcservo.h&quot;<br />#include &quot;roboard.h&quot;<br /><br />int _tmain&#40;int argc, _TCHAR* argv&#91;&#93;&#41;<br />&#123;<br />   if &#40;rcservo_Initialize&#40;RCSERVO_USECHANNEL0&#41;&#41;<br />   &#123;<br />      printf&#40;&quot;Channels 0 initialized&quot;&#41;;<br />      rcservo_EnterCaptureMode&#40;&#41;;<br />      rcservo_SetServo&#40;0, RCSERVO_HITEC_HSR8498&#41;;<br />      unsigned long pos = rcservo_ReadPosition&#40;0,0&#41;;<br />      unsigned long motion&#91;32&#93;=&#123;0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&#125;;<br />      motion&#91;1&#93;=2300;<br />      rcservo_EnterPlayMode&#40;&#41;;<br />      rcservo_SetAction &#40;motion, 500&#41;;<br />      while &#40;rcservo_PlayAction&#40;&#41; != RCSERVO_PLAYEND&#41;<br />      &#123;<br />      &#125;<br />      rcservo_EnterPWMMode&#40;&#41;;<br />      unsigned long PWM_period = 10000;<br />      unsigned long PWM_duty = 1700;<br />      unsigned long count = 100;<br />      rcservo_SendPWMPulses&#40;0, PWM_period, PWM_duty, count&#41;;<br />      while&#40;!rcservo_IsPWMCompleted&#40;0&#41;&#41;<br />      &#123;<br />      &#125;<br />      rcservo_Close&#40;&#41;;<br />   &#125;<br />   return 0;<br />&#125;<br /></code></dd></dl><br /><br />At the end of this sode I receive this: <br />channels 0 initialized  ( that's programmed by me) <br />Warning! rcservo_readPositions_PlayMode() fails to read channel 0! (and this appears everytime I try to use PlayMode).<br />When I try to use RoboRC.exe, it says channels can't be raed. No Idea why.<br />I use 2 pcs of 7.4V Li-Pos, total of 4Amp/h, HSR8498 does support 7.4V.<br />What could be the problem?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=870">Sazabi</a> — Sat Feb 06, 2010 12:05 am</p><hr />
]]></content>
</entry>
</feed>