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

<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>2014-04-16T23:20:17+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=8026</id>
<entry>
<author><name><![CDATA[Ro4rev]]></name></author>
<updated>2014-04-16T23:20:17+01:00</updated>
<published>2014-04-16T23:20:17+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=43195#p43195</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=43195#p43195"/>
<title type="html"><![CDATA[Re: Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=43195#p43195"><![CDATA[
Hello, this post really interesting,<br />I have a question, this program can work with Bioloid Premium Kit with CM510?, What changes are needed to make it work?<br /><br />I try to do something very similar with Bioloid but I do not know how to start<br /><br />I really appreciate your support<br /><br />Greetings.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=7782">Ro4rev</a> — Wed Apr 16, 2014 11:20 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[chickenkai]]></name></author>
<updated>2013-05-29T13:06:01+01:00</updated>
<published>2013-05-29T13:06:01+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37937#p37937</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37937#p37937"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37937#p37937"><![CDATA[
has anyone try to controll the lower body, not just upper body?<br /><br />thanks!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3490">chickenkai</a> — Wed May 29, 2013 1:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[nala170190]]></name></author>
<updated>2013-05-28T22:29:45+01:00</updated>
<published>2013-05-28T22:29:45+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37928#p37928</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37928#p37928"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37928#p37928"><![CDATA[
Sorry, i have been very busy lately, but this is my final code, it is in C# and i use an UI coded in WPF. The only dependecis i have are the kinect toolkit and Robobuilderlib. The version of the SDK is 1.6, and i use a vectorial approach to calculate the angles, and ALL are in the cartesian coordinate space, i didn't use the spherical coordinates in the shoulder, because i didn't liked the results they gave. <br /><br />I didn't implement speech recognition like l3v3rz, but i added the control of the tilt motor of the kinect using a slider and a button. Overall i liked the results. I tested this in another computer and only needed to install the kinect SDK 1.6 and reference Robobuilderlib, if you have any doubts, i would be happy to answer them.<br /><br /><a href="https://mega.co.nz/#!NZgmSBoK!Gl6DTzWcERrYehLdVjBUE12dLp59Kj4DmwY8tDOjiNE" class="postlink">https://mega.co.nz/#!NZgmSBoK!Gl6DTzWcERrYehLdVjBUE12dLp59Kj4DmwY8tDOjiNE</a><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4384">nala170190</a> — Tue May 28, 2013 10:29 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[nala170190]]></name></author>
<updated>2013-05-03T03:16:05+01:00</updated>
<published>2013-05-03T03:16:05+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37710#p37710</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37710#p37710"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37710#p37710"><![CDATA[
MarcoP, thanks for the fast respond, i really apreciate it, as promised i will post my code as soon as i finish it, i've been able to figure out the roll movement of the robot, using the azimuth and elevetion angles together, it's not as neat or clean as one would expect, but so far it moves pretty well.<br /><br />l3v3rz, you are a god man, really, thanks a bunch, i would check out your code as soon as i'm able, i'm using the standard firmware V2.34, and i have a little error when using playpose and Basic16 to do the standing position, i will post a video of the error later, of course it can be that the servo is malfunctioning, but i works perfectly until i use that command. Anyway, million thanks for your code,i will check it out since i really want to see your logic behind the movement of the roll servos, and i'm interesed in your speech recognition as well.<br /><br />Thank you both greatly, i will tell how it went as soon as posible<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4384">nala170190</a> — Fri May 03, 2013 3:16 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2013-05-01T19:19:12+01:00</updated>
<published>2013-05-01T19:19:12+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37702#p37702</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37702#p37702"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37702#p37702"><![CDATA[
Have you checked out my update to the code? - I've incorporated Robosavvy code into a library. It required robobuilderlib to work and as currently written assume you are using DCMP firmware (its works better as its always in Direct control mode)<br /><br />Here all the code to build:<br /><br /><!-- m --><a class="postlink" href="https://code.google.com/p/robobuildervc/source/browse/trunk/RoboKinnect">https://code.google.com/p/robobuildervc ... oboKinnect</a><!-- m --><br /><br />The main file is this one and includes the connect and disconnect (checking for DCMP) and a single hook &quot;updaterobot&quot; into animation system for the skeleton and all wck position commands  and maths (from robosavvy). It also switches between simple (V1) code based on arm height and not simple (v2) with proper arm and shoulder angles. See:<br /><br /><!-- m --><a class="postlink" href="https://code.google.com/p/robobuildervc/source/browse/trunk/RoboKinnect/RoboKinnect.cs">https://code.google.com/p/robobuildervc ... Kinnect.cs</a><!-- m --><br /><br />I also hook into speech recognisers to start and stop program. <br /><br />Cheers<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Wed May 01, 2013 7:19 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MarcoP]]></name></author>
<updated>2013-05-01T12:42:23+01:00</updated>
<published>2013-05-01T12:42:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37700#p37700</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37700#p37700"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37700#p37700"><![CDATA[
Hi nala<br /><br />It's been a while but what I remember is:<br /><br />You have to find a way to transform polar coordinates to wCk angles.<br /><br />I suggest you use a coordinate system where azimuth corresponds to arm moving up and down, because that will be an easier conversion to wCk angles.<br /><br />But still the direction and offset will not be the same. You will need some math skills to solve this. You will have to do something similar to arduino map function to transform the azimuth angle into a wCk value. They will have different zero, different gain and maybe even contrary direction.<br /><br />You can post here.<br /><br />Regards<br /><br />Marco<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3133">MarcoP</a> — Wed May 01, 2013 12:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MarcoP]]></name></author>
<updated>2013-05-01T10:09:21+01:00</updated>
<published>2013-05-01T10:09:21+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37698#p37698</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37698#p37698"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37698#p37698"><![CDATA[
Hi nala<br /><br />It's been a while but what I remember is:<br /><br />You have to find a way to transform polar coordinates to wCk angles.<br /><br />I suggest you use a coordinate system where azimuth corresponds to arm moving up and down, because that will be an easier conversion to wCk angles.<br /><br />But still the direction and offset will not be the same. You will need some math skills to solve this. You will have to do something similar to arduino map function to transform the azimuth angle into a wCk value. They will have different zero, different gain and maybe even contrary direction.<br /><br />You can post here.<br /><br />Regards<br /><br />Marco<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3133">MarcoP</a> — Wed May 01, 2013 10:09 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[nala170190]]></name></author>
<updated>2013-05-01T00:25:18+01:00</updated>
<published>2013-05-01T00:25:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37688#p37688</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37688#p37688"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=37688#p37688"><![CDATA[
Ok, i've been doing my own program to control the arms of Robobuilder using the amazing library that l3v3rz developed. It's all in C#, i managed to calculate the elbow angle, and both azimuth and elevation of the shoulder, my question is if you could explain some of the logic of how to control the wCk's using these angles, i'm a little lost in this part, the elbow is a no brainer, it's pretty straight forward, but the movements of the shoulder are giving me headaches. Please enlighten me a little<br /><br />By the way, i'm willing to share the code, but i don't know if i should post it here, or in some new thread<br /><br />Thanks in advance<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=4384">nala170190</a> — Wed May 01, 2013 12:25 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Kondo]]></name></author>
<updated>2012-07-15T11:16:06+01:00</updated>
<published>2012-07-15T11:16:06+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34822#p34822</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34822#p34822"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34822#p34822"><![CDATA[
Hi guys,<br /><br />Today I tested the new version, but it still does not work, the program detects all fine until I give to connect and does not respond ...<br /><br />Regards<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2829">Kondo</a> — Sun Jul 15, 2012 11:16 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[MarcoP]]></name></author>
<updated>2012-07-10T17:07:45+01:00</updated>
<published>2012-07-10T17:07:45+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34776#p34776</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34776#p34776"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34776#p34776"><![CDATA[
Hi<br /><br />Pedro has sorted a few issues with the software.<br /><br />The new version is accessible under the same link in the 1st post.<br /><br />Just download and try it.<br /><br />Regards<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=3133">MarcoP</a> — Tue Jul 10, 2012 5:07 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Kondo]]></name></author>
<updated>2012-07-09T18:48:53+01:00</updated>
<published>2012-07-09T18:48:53+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34772#p34772</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34772#p34772"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34772#p34772"><![CDATA[
Thanks for the detailed explanation PedroR, I try it tomorrow when I have time and count the results.<br /><br />Regards<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2829">Kondo</a> — Mon Jul 09, 2012 6:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-07-10T18:23:58+01:00</updated>
<published>2012-07-09T18:44:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34771#p34771</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34771#p34771"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34771#p34771"><![CDATA[
<span style="color: green">[EDIT: we have revised the code for ConnectToRB to eliminate this deadlock.<br /><br />Please make sure to re-download the ZIP file for this demo to get the latest version. (you may need to clean your browser cache to make sure you get the new version) [/EDIT]</span><br /><br />Hi Kondo<br /><br />I don't have access to the complete set up at the moment (PC with VB 2010, Kinect and Robobuilder) but as soon as I have the opportunity I will look at this bug in more detail.<br /><br />If you are familiar with VB.Net, then open the VB Solution in the ZIP file, and then open the code for &quot;MainWindow&quot; (it's file MainWindow.xaml.vb)<br /><br />Now look for the function called &quot;ConnectToRB&quot;. I have pasted bellow the code of the function and marked the place where you need to insert a Breakpoint:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>        Private Sub ConnectToRB&#40;ByVal sCOMMNum As String&#41;<br />            On Error GoTo ErrHandler<br /><br />            commRb = New SerialPort&#40;&quot;COM&quot; &amp; sCOMMNum, 115200, Parity.None, 8, StopBits.One&#41; '''----- INSERT BREAKPOINT HERE<br />            commRb.Open&#40;&#41;<br /><br />            'rbPCR = New RobobuilderLib.PCremote&#40;&quot;COM&quot; &amp; sCOMMNum&#41;<br />            rbPCR = New RobobuilderLib.PCremote&#40;commRb&#41;<br />            Thread.Sleep&#40;400&#41;<br />            rbPCR.setDCmode&#40;False&#41;<br /><br />            rbPCR.runMotion&#40;7&#41; ' basic posture<br />            Thread.Sleep&#40;2000&#41;<br />            rbPCR.setDCmode&#40;True&#41;<br />            Thread.Sleep&#40;500&#41;<br /><br />            rbWCK = New RobobuilderLib.wckMotion&#40;rbPCR&#41;<br />            Thread.Sleep&#40;300&#41;<br /><br />            Me.txtRBComStatus.Text = &quot;Connected&quot;<br />            bRBConnected = True<br /><br />            Exit Sub<br /><br />ErrHandler:<br />            MsgBox&#40;&quot;Unable to Connect to Robobuilder&quot; &amp; vbCrLf &amp; vbCrLf &amp; Err.Description, vbCritical And vbOKOnly, &quot;Error Connecting&quot;&#41;<br />            rbPCR = Nothing<br />            If Not commRb Is Nothing And commRb.IsOpen Then commRb.Close&#40;&#41;<br />            commRb = Nothing<br />            Err.Clear&#40;&#41;<br />        End Sub</code></dd></dl><br /><br />Insert the breakpoint on that line because the program sometimes hangs on the next line.<br />(to insert a breakpoint, put the cursor on that line and press &quot;F9&quot;)<br /><br />After inserting the Breakpoint (the line will become red) start the program.<br /><br />When you connet to Robobuilder, the program will stop at the line where you inserted the Breakpoint. Now<br /><br />- Press the keyboard key &quot;F8&quot; to execute the line<br />- Wait a bit<br />- Press &quot;F8&quot; again to execute the next line (it may also hang here)<br />- Wait a bit<br />- Press &quot;F8&quot; again to execute the next line (it may also hang here)<br />- Wait a bit<br />- Press &quot;F8&quot; again to execute the next line (it may also hang here)<br />- Wait a bit<br /><br />- If this has succeeded now press F5 to resume the program.<br /><br />You can see in the code that there are some &quot;Sleep&quot; commands.<br />This is a Quick and dirty fix for the bug you are experiencing. It seems to have fixed the problem for us but you can also try increasing the amount of time in &quot;Sleep&quot; and see if it solves the problem for you as well.<br /><br /><br />To work around this issue, the solution is probably to disable Kinect before connecting to Robobuilder and then re enabling it after sucessful connection. <br />If/when we have the time, we'll modify the code to check if this solves the issue.<br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Mon Jul 09, 2012 6:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Kondo]]></name></author>
<updated>2012-07-09T15:55:50+01:00</updated>
<published>2012-07-09T15:55:50+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34770#p34770</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34770#p34770"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34770#p34770"><![CDATA[
Hi PedroR<br /><br />Could you elaborate the last point a little more, I can not do anything, sorry <img src="http://forum.robosavvy.com/images/smilies/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2829">Kondo</a> — Mon Jul 09, 2012 3:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Kondo]]></name></author>
<updated>2012-07-09T15:17:11+01:00</updated>
<published>2012-07-09T15:17:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34769#p34769</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34769#p34769"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34769#p34769"><![CDATA[
Hi PedroR<br /><br />I just tried the above points and the program is being frozen by giving connect.<br /><br />I re-tested with the old version and I'm still working.<br /><br /><br />Now proves the last point you mention, Now I will put the test results <img src="http://forum.robosavvy.com/images/smilies/icon_idea.gif" alt=":idea:" title="Idea" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2829">Kondo</a> — Mon Jul 09, 2012 3:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2012-07-09T15:17:56+01:00</updated>
<published>2012-07-09T14:46:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34768#p34768</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34768#p34768"/>
<title type="html"><![CDATA[Robobuilder Controlled by Kinect - Updated Version]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=8026&amp;p=34768#p34768"><![CDATA[
Hi Kondo<br /><br />From your description you are doing it correctly.<br /><br />What you describe ahs heppened to us. Therefore we recommend that:<br />1- You cover the Kinect lens (with your hand for example) to make sure it is not tracking anyone.<br />2- Enter the Robobuilder COMM Port number<br />3- Click Connect on the right of the Robobuilder COMM port number.<br /><br />Wiat for it to connect to Robobuilder.<br />The window should still be responsive.<br /><br /><br />Next you can remove the cover of the Kinect lens (what you did in 1) ) and put yourself in front of Kinect and move.<br /><br />This should work.<br /><br />On some computers the Windows seems it has stoped responding but the Robot still moves while you are in fron tof Kinect.<br /><br />To make the window responsive again, cover the lens of kinect.<br /><br /><br />If this does not work then you can try the following:<br /><br />- Open the source code (if you have VB .Net 2010) and put a Break point on the function &quot;ConnectToRB&quot;<br />- Press Play to start the program. <br /><br />- Connect to Robobuilder. The program will stop inside the Function Conect to RB where you put the Break point<br /><br />- Run it line by line (by pressing F8 several times) until the COMM port is Open and you connect to Robobuilder.<br /><br />- Finally press F5 to resume the program.<br /><br /><br />The issue we found - as I explained before - is that Kinect seems to overloads the USB host with message and trying to operate other USB devices (such as opening a USB adapter) may cause the program to hat.<br /><br />The two procedures above can be used to work around the problem.<br /><br /><br />Regards<br />Pedro.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Mon Jul 09, 2012 2:46 pm</p><hr />
]]></content>
</entry>
</feed>