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

<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>2011-08-16T06:51:52+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=4156</id>
<entry>
<author><name><![CDATA[jbo123]]></name></author>
<updated>2011-08-16T06:51:52+01:00</updated>
<published>2011-08-16T06:51:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=32057#p32057</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=32057#p32057"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=32057#p32057"><![CDATA[
this is amazing, great job!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2861">jbo123</a> — Tue Aug 16, 2011 6:51 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[sdertsr6]]></name></author>
<updated>2010-05-12T11:30:17+01:00</updated>
<published>2010-05-12T11:30:17+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26742#p26742</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26742#p26742"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26742#p26742"><![CDATA[
awesome...thanks for posting..<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2116">sdertsr6</a> — Wed May 12, 2010 11:30 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2010-04-16T00:16:07+01:00</updated>
<published>2010-04-16T00:16:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26395#p26395</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26395#p26395"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26395#p26395"><![CDATA[
For those ruby fans who want to work on a .NET platform  and use RobobuilderLib.dll - you can use IronRuby - free download from here <!-- m --><a class="postlink" href="http://ironruby.net/Download">http://ironruby.net/Download</a><!-- m -->. Just put <!-- m --><a class="postlink" href="http://robobuildervc.googlecode.com/files/RobobuilderLib.dll">http://robobuildervc.googlecode.com/fil ... derLib.dll</a><!-- m --> in the same directory you start the IronRuby console (ir.exe). Here is the above example modded to use my library to get you started:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>require &quot;RobobuilderLib&quot;<br />require 'matrix'<br />class Vector<br />  def norm<br />    Math.sqrt inner_product&#40; self &#41;<br />  end<br />end <br /><br />serial = System::IO::Ports::SerialPort.new <br />serial.PortName = &quot;COM3&quot; <br />serial.BaudRate = 115200<br />serial.open<br /><br />robot = RobobuilderLib::PCremote.new serial<br />puts &quot;Robobuilder&quot;<br />puts &quot;Serial number: #&#123;robot.readSN&#125;&quot;<br />acceleration = Vector&#91; *robot.readXYZ &#93; <br />if acceleration.inner_product&#40; Vector&#91; 0, 0, 1 &#93; &#41; &gt; acceleration.norm / 2<br />  robot.runMotion 7<br />  robot.runMotion 1<br />elsif -acceleration.inner_product&#40; Vector&#91; 0, 0, 1 &#93; &#41; &gt; acceleration.norm / 2<br />  robot.runMotion 7<br />  robot.runMotion 2<br />end<br />acceleration = Vector&#91; *robot.readXYZ &#93;<br />if acceleration.inner_product&#40; Vector&#91; 0, 1, 0 &#93; &#41; &gt; acceleration.norm / 2<br />  robot.runMotion 1<br />end <br />serial.close</code></dd></dl><br /><br />As you can see - very similar - For the future I'll look to add support to my library so we can have platform independent ruby code. <br /><br /><br />l3v3rz<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Fri Apr 16, 2010 12:16 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[scarab]]></name></author>
<updated>2010-03-25T14:10:18+01:00</updated>
<published>2010-03-25T14:10:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26064#p26064</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26064#p26064"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=26064#p26064"><![CDATA[
Hi there!<br /><br />I'm a Ruby developer and a fan of Robotics which has been limited to LEGO Mindstorms. I only recently discovered Robobuilder and more importantly the 5710k. I wanted to find out how the Ruby code get's delivered to the 5710k. I understand that you're using serial comms but I'm more interested to here how the code get's deployed. Does it only operate as an interactive session or can you code, deploy and have the robot walk around etc.<br /><br />Cheers!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2038">scarab</a> — Thu Mar 25, 2010 2:10 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[wedesoft]]></name></author>
<updated>2010-01-07T13:44:13+01:00</updated>
<published>2010-01-07T13:44:13+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24561#p24561</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24561#p24561"/>
<title type="html"><![CDATA[Servos and cogwheels]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24561#p24561"><![CDATA[
Hi. Thanks for your reply. You can find my e-mail on my <a href="http://www.wedesoft.de/" class="postlink">private homepage</a>. In the Wiki I tend to avoid putting my name into the foreground.<br />I have ordered metal gears some time ago but I guess the order got stuck in our university's finance department. I hope they will get the order out at some point so that I can try them. Until then I will focus on machine vision (<a href="http://www.wedesoft.demon.co.uk/hornetseye-api/" class="postlink">HornetsEye</a>) and other things.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1531">wedesoft</a> — Thu Jan 07, 2010 1:44 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2010-01-04T16:37:11+01:00</updated>
<published>2010-01-04T16:37:11+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24509#p24509</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24509#p24509"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24509#p24509"><![CDATA[
As a final note we may be able to supply some plastic replacement gears to you free of charge.<br />I believe your robot should have come with a few already but if not let me know and we can send them to you.<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 Jan 04, 2010 4:37 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2010-01-04T16:35:44+01:00</updated>
<published>2010-01-04T16:35:44+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24508#p24508</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24508#p24508"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=24508#p24508"><![CDATA[
Hi<br /><br />I noticed you mentioned here <!-- m --><a class="postlink" href="http://vision.eng.shu.ac.uk/mmvlwiki/index.php/Robobuilder#Robobuilder">http://vision.eng.shu.ac.uk/mmvlwiki/in ... obobuilder</a><!-- m --> that you have some broken gears and talk about elastic actuators for protecting them.<br /><br />Indeed, even the RX servos from ROBOTIS (which are all metal gears) experience broken gears when the complaince settings are too tight on the servos.<br /><br />So the solution to your issue comes in two parts:<br />1) Yes, you can upgrade to all metal gears and have the improved strength of metal<br />(while you're at it you may also want to get some Metal Joints <!-- m --><a class="postlink" href="http://robosavvy.com/store/product_info.php/products_id/609">http://robosavvy.com/store/product_info ... cts_id/609</a><!-- m --> or just keep the plastic joints as the weak link, so that they are the first to break... after all they are cheap and easy to replace)<br /><br />2) The biggest solution comes from tweaking not only the compliance but specially the PID gains on the servos.<br /><br />This is something that can't be done on ROBOTIS servos (they don't have PID) but a good tuning of these gains will give you a true, elastic feel to the servos, just like the thesis you were mentioning.<br /><br />This is done using the wCK Programmer. You will notice that it may be a bit tricky to get the values right (sometimes small adjustments cause huge differences) but getting them right should give you a true elastic feel.<br /><br />Elasticity is especially important on the shoulders (and maybe knees) but all in all a good elastic setup will help protect your gears.<br /><br />I tried to send you an email with this information but your WiKi does not have any &quot;Contacts&quot; section...<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 Jan 04, 2010 4:35 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[wedesoft]]></name></author>
<updated>2009-09-30T21:03:46+01:00</updated>
<published>2009-09-30T21:03:46+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=22091#p22091</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=22091#p22091"/>
<title type="html"><![CDATA[Programming Robobuilder with Ruby]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=4156&amp;p=22091#p22091"><![CDATA[
&lt;table&gt;<br />&lt;tr valign=&quot;top&quot;&gt;&lt;td&gt;<br />Hi, just got a Robobuilder this Monday and I managed to write a small <a href="http://www.ruby-lang.org/" class="postlink">Ruby</a> program to communicate with the RBC module (Ruby programs are always small <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=":wink:" title="Wink" />). If I find more time to work on it, I will publish the results on the <a href="http://vision.eng.shu.ac.uk/mmvlwiki/index.php/Robobuilder" class="postlink">Wiki of our research laboratory</a>. Unfortunately <a href="http://rubyforge.org/projects/ruby-serialport/" class="postlink">ruby-serialport</a> hasn't been maintained recently and there are problems with using it under 64bit GNU+Linux (AFAIK there are also some issues under MS Windows). The communication also occationally hangs (every couple of 1000 packets or so). Maybe it's because I am not using asynchronous communication. However if everything goes well, it should be fairly easy to write a really good GUI usingRichard Dale's <a href="http://rubyforge.org/projects/korundum/" class="postlink">Qt4-QtRuby</a> Ruby-extension.<br /><br /><span style="font-weight: bold">Update:</span> I am now developing a Ruby-extension which communicates with the serial port using the termios-library. I tested it under GNU+Linux only. At some point I will try to port it to Windows with MinGW. The example program lets the robot get up using method &quot;A&quot; or &quot;B&quot; depending on the readout of the accelerometer. Let me know what you think about it or if you have any suggestions!<br /><br /><span style="font-weight: bold">Update:</span> Added a demo video of an interactive Ruby session below.<br />&lt;/td&gt;&lt;td&gt;<br /><img src="http://vision.eng.shu.ac.uk/mmvlwiki/images/1/15/Robobuilder-huno.jpg" alt="Image" /><br />&lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;/table&gt;<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>require 'robobuilder'<br />require 'matrix'<br />class Vector<br />  def norm<br />    Math.sqrt inner_product( self )<br />  end<br />end<br />robot = Robobuilder.new '/dev/ttyS1'<br />puts &quot;Robobuilder&quot;<br />puts &quot;Serial number: #{robot.serial_number}&quot;<br />acceleration = Vector&#91; *robot.accelerometer &#93;<br />if acceleration.inner_product( Vector&#91; 0, 0, 1 &#93; ) &gt; acceleration.norm / 2<br />  robot.basic<br />  robot.a<br />elsif -acceleration.inner_product( Vector&#91; 0, 0, 1 &#93; ) &gt; acceleration.norm / 2<br />  robot.basic<br />  robot.b<br />end<br />acceleration = Vector&#91; *robot.accelerometer &#93;<br />if acceleration.inner_product( Vector&#91; 0, 1, 0 &#93; ) &gt; acceleration.norm / 2<br />  robot.run 1<br />end<br />robot.close<br /></code></dd></dl><br /><br />One can control the Robobuilder from within an interactive Ruby session. Here is a demo video (also available as <a href="http://vision.eng.shu.ac.uk/jan/robobuilder1.avi" class="postlink">15.5 MByte DivX3 video</a> or as <a href="http://www.youtube.com/watch?v=3w34KPsjQlc" class="postlink">Youtube video</a>):<br />&lt;table align=&quot;center&quot;&gt;<br />&lt;tr&gt;&lt;td&gt;&lt;embed id=&quot;VideoPlayback&quot; type=&quot;application/x-shockwave-flash&quot; src=&quot;http://vision.eng.shu.ac.uk/jan/flv/flvplayer.swf&quot; width=&quot;480&quot; height=&quot;360&quot; flashvars=&quot;file=http://vision.eng.shu.ac.uk/jan/flv/robobuilder1.flv&amp;image=http://vision.eng.shu.ac.uk/jan/flv/robobuilder1.jpg&amp;displayheight=360&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1531">wedesoft</a> — Wed Sep 30, 2009 9:03 pm</p><hr />
]]></content>
</entry>
</feed>