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

<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>2009-05-29T00:53:47+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=15&amp;t=3524</id>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-05-29T00:53:47+01:00</updated>
<published>2009-05-29T00:53:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20006#p20006</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20006#p20006"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20006#p20006"><![CDATA[
if you're looking into hacking and really want a full featured control board, heck out the roboard here <!-- m --><a class="postlink" href="http://robosavvy.com/site/index.php?option=com_content&amp;task=view&amp;id=183&amp;Itemid=135">http://robosavvy.com/site/index.php?opt ... Itemid=135</a><!-- m --> and here <!-- m --><a class="postlink" href="http://robosavvy.com/store/product_info.php/products_id/521">http://robosavvy.com/store/product_info ... cts_id/521</a><!-- m --><br /><br />someone on the General Forum has also shared their way to attach this board to a robobuilder.<br />Connecting to the Robobuilder is not trivial though, but you get a full featured PC with all floating point, C libraries (printf, putc, ...) etc<br /><br />It works with Robobuilder and Bioloid although from what I've seen if you're using the Roboard, connecting to Robobuilder is much more straighforward, because in Bioloid RX and TX are on the same channel.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Fri May 29, 2009 12:53 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anding]]></name></author>
<updated>2009-05-28T23:43:12+01:00</updated>
<published>2009-05-28T23:43:12+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20004#p20004</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20004#p20004"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20004#p20004"><![CDATA[
<blockquote><div><cite>RandomMatt wrote:</cite><br />--<br /><br />Also... I'm sure that I'm not the only one who assumes that a request for a C library (in a robot forum) means something with functions like &quot;set_servo_position()&quot; rather than functions like &quot;putc()&quot;.<br /><br />[/b]<br /></div></blockquote><br /><br />This is exactly what I meant!  The printf() was just an example of &quot;what is a library function&quot; as one of the other replies seemed to imply that libraries were incompatiable with C.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1466">Anding</a> — Thu May 28, 2009 11:43 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RandomMatt]]></name></author>
<updated>2009-05-28T20:45:03+01:00</updated>
<published>2009-05-28T20:45:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20003#p20003</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20003#p20003"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=20003#p20003"><![CDATA[
<blockquote><div><cite>Anding wrote:</cite><br />&quot;printf()&quot; is a highly complex function that every developer will need at some point but which nobody in their right mind would want to build from scratch.  Hence it available in the standard library.  Same goes for floating point math functions, etc.<br /></div></blockquote><br /><br /><br />printf() has been implemented in avr-libc... although I couldn't be faffed with it(*) and wrote my own in half-an-hour or so.  You're welcome to look at the libbioloid source to see how I did it - I'm sure it'd be easy to port (just make sure you read the licence first).<br /><br />* you'll need to work out how to get their FILE * stuff to work.<br /><br /><br />I'd strongly recommend against using floating point in a robot - I've found that you simply don't need that amount of accuracy (given the speed penalty).  In libbioloid I've solved the problem by doing all the trig in fixed point - which isn't that uncommon on embedded targets.  <span style="font-style: italic">That said... I think avr-gcc will get basic floating point stuff to work (multiplication, division, etc).</span><br /><br /><br />In summary:  Look at avr-libc package, or the libbioloid/libavr packages:<br /><a href="http://www.nongnu.org/avr-libc/" class="postlink">http://www.nongnu.org/avr-libc/</a><br /><a href="http://www.braincell.cx/bioloid/dist/" class="postlink">http://www.braincell.cx/bioloid/dist/</a><br /><br />--<br /><br />Also... I'm sure that I'm not the only one who assumes that a request for a C library (in a robot forum) means something with functions like &quot;set_servo_position()&quot; rather than functions like &quot;putc()&quot;.<br /><br />--<br /><br />I cannot answer your final question.  But I will say that libbioloid combined with a bioloid seems to be a better fit for you.  caveat: I wrote most of libbioloid (and all of libavr)... so <span style="font-weight: bold">take my words with a pinch of salt.</span><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1296">RandomMatt</a> — Thu May 28, 2009 8:45 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anding]]></name></author>
<updated>2009-05-28T01:47:42+01:00</updated>
<published>2009-05-28T01:47:42+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19998#p19998</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19998#p19998"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19998#p19998"><![CDATA[
i-Bot,  thanks for your response.  I apologize to you and the others for my ungrateful suggestion to delete the thread.<br /><br />Basically I wanted to get an idea of the flexibility of the Robobuilder platform from a programming point of view.  What I mean by that is the ability to code more sophisticated behaviours, reactions, memory, etc.  Now given the attractive price point of the system I'm not expecting the world, and the fact that manufacturer demo code is available and that skillful people on your forum have ported it to AVRStudio is all a great sign.<br /><br />Having said that, now that I have reviewed the manufacturer's demo code I would say that the answer to my question is basically that if you want to go beyond the current model in a significant way then you have to start from the ground up.  <br /><br />There may have be some confusion about what I meant by a C library.  &quot;printf()&quot; is a highly complex function that every developer will need at some point but which nobody in their right mind would want to build from scratch.  Hence it available in the standard library.  Same goes for floating point math functions, etc.  I only had a quick look at the example C code from the manufacturer (comments in Korean didn't help me), but as far as I can tell that this is not the way they have implemented the robobuilder software, rather it's an interrupt driven model where the code directly hits the hardware.  This is probably a very smart way to do it to make the robot's brain fast and cheap, but it does imply that to develop the system further you would either have to keep the same overall model but implement some new capabilities here and there (but without the scope to dramatically change the way it works), or if you do want to dramaticlaly change things, you'd need to build your own routines for all control activities.<br /><br />By the way, I like the robobuilder, but the bioloid is the other option.  A different topic, but I wonder which is better for hacking?  I guess the fact the bioloid supply servos to other builers is a good sign, but the robobuilder servos have a published protocol too.  From a mechanical point of view, which one is more flexible in terms of range of designs that can be built up with the kit?  I see bioloid comes with more connecting parts, mecanno-style, for example.  Does this make a big difference.  I really need to find someone who has used both.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1466">Anding</a> — Thu May 28, 2009 1:47 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2009-05-27T20:24:38+01:00</updated>
<published>2009-05-27T20:24:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19992#p19992</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19992#p19992"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19992#p19992"><![CDATA[
I hope this thread is not deleted.<br /><br />Anding, Please do not leave us now. Your frustration is shared by many of us. However l3v3rz, Pedro ... are trying very hard to resolve this gap. Your help is needed. Hopefully you can share your project objective, not simply damn the contributors in their support to date.<br /><br />The robobuilder servos are pretty intelligent, so the controller code is fairly trivial if you are really experienced in ATMega and C.<br /><br />Robobuilder.net, like most other vendors do not share very much of their own code or libraries. I doubt they will fill your needs. But if you can make your needs known, then I feel they may well be met by the &quot;aftermarket&quot; community.<br /><br />So do you a have a robot problem to share ? or just a problem ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Wed May 27, 2009 8:24 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anding]]></name></author>
<updated>2009-05-27T16:07:15+01:00</updated>
<published>2009-05-27T16:07:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19986#p19986</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19986#p19986"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19986#p19986"><![CDATA[
Webmaster, would you please delete this thread.  It was a waste of my time to ask the question and would be a waste of anyone else's time to read the replies.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1466">Anding</a> — Wed May 27, 2009 4:07 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[PedroR]]></name></author>
<updated>2009-05-26T17:17:34+01:00</updated>
<published>2009-05-26T17:17:34+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19970#p19970</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19970#p19970"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19970#p19970"><![CDATA[
HI<br /><br />In that case you may want to start here <!-- m --><a class="postlink" href="http://robosavvy.com/forum/viewtopic.php?t=3379">http://robosavvy.com/forum/viewtopic.php?t=3379</a><!-- m --><br /><br />That's the base C code offered by Robobuidler and includes links to improved versions that interact with sensors.<br /><br />There is not a formal library as coding in C is a very low level task.<br /><br />The code in that sample lets you run motion files created/exported from MotionBuilder.<br />As I mentioned further contributions from the community added support for PSD sensor and Acc Sensor.<br /><br />There are also other threads that discuss the wCK protocol to access other advanced functions in the servos.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1061">PedroR</a> — Tue May 26, 2009 5:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anding]]></name></author>
<updated>2009-05-24T15:09:15+01:00</updated>
<published>2009-05-24T15:09:15+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19951#p19951</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19951#p19951"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19951#p19951"><![CDATA[
Thanks, I appreciate the link but having looked there, it doesn't answer my question unfortunately - there is not much documentation.<br /><br />What I am interested in at this stage is not an aftermarket operating systems, but what is supplied with the robot itself as part of the package.  My question is: is it possible to program the robot &quot;out of the box&quot; in C using some reasonable high level libraries, or is high level programming really only accomplished with the supplied GUI tools?<br /><br />Many thanks if anyone has information on this point.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1466">Anding</a> — Sun May 24, 2009 3:09 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[l3v3rz]]></name></author>
<updated>2009-05-24T13:55:23+01:00</updated>
<published>2009-05-24T13:55:23+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19950#p19950</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19950#p19950"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19950#p19950"><![CDATA[
Check out <!-- m --><a class="postlink" href="http://code.google.com/p/robobuilderlib/">http://code.google.com/p/robobuilderlib/</a><!-- m -->  Its an open source initiative to create a homebrew OS for Robobuilder.<br /><br />cheers<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1101">l3v3rz</a> — Sun May 24, 2009 1:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Anding]]></name></author>
<updated>2009-05-24T12:45:32+01:00</updated>
<published>2009-05-24T12:45:32+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19949#p19949</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19949#p19949"/>
<title type="html"><![CDATA[C libraries]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=3524&amp;p=19949#p19949"><![CDATA[
I'd like to program a robobuilder in C.  I'm an experiened programmer and I also know the AtMega series quite well, but I don't have time to start right from the bottom up, implementing protocols, multitasking, etc.   <br /><br />Does the robobuilder come with a reasonable C library to call on for commanding the servos, reading the sensors, etc?  How about the required multitasking RTOS - do you have to build (or find) your own, or can you stay with Robobuilder's own platform whilst developing in C?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1466">Anding</a> — Sun May 24, 2009 12:45 pm</p><hr />
]]></content>
</entry>
</feed>