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

<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>2008-11-16T22:38:53+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=2840</id>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2008-11-16T22:38:53+01:00</updated>
<published>2008-11-16T22:38:53+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=18265#p18265</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=18265#p18265"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=18265#p18265"><![CDATA[
so i assume you have connected the robot to the PC using USB2Dynamixel ?<br /><br />The problem may be the control loop cycle.<br />make sure that the delay response on the servo is set to 0 or 1<br />the delay response time is one of the configurable parameters of the AX12 and other Dynamixel servos<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Sun Nov 16, 2008 10:38 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[teleco07]]></name></author>
<updated>2008-11-14T12:27:49+01:00</updated>
<published>2008-11-14T12:27:49+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=18239#p18239</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=18239#p18239"/>
<title type="html"><![CDATA[AX-12 and matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=18239#p18239"><![CDATA[
hi,<br />i'd like to know how can I program mi own PID algoritm with matlab to move the AX-12.<br />i've tried the followin in a loop:<br />error0=0<br />read ref<br />loop{<br />read actual position<br />error=ref-pos<br />D=Kd*(error-error0)                 (Kd=Kp*Td/T)<br />I=I+Ki*error                             (Ki=Kp*T/Ti)<br />goalposition=Kp*error+I+D<br />write goalposition<br />error0=error}<br /><br />but I get no good results,<br />could someone give me a clue to keep on trying?<br />thanks in advance<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1184">teleco07</a> — Fri Nov 14, 2008 12:27 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2008-10-02T11:58:57+01:00</updated>
<published>2008-10-02T11:58:57+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17745#p17745</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17745#p17745"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17745#p17745"><![CDATA[
<blockquote><div><cite>teleco07 wrote:</cite><br />hi.<br />I'm totally new in this area and so i've read most of topics about it in this forum and also others in the internet.<br />i have a few questions i hope you can answer me or tell me where to get more information:<br />i'm working on my final proyect with bioloid and i'm suposed to program it via matlab/simulink.i've read all the manuals and user's guides but i still don't have really clear if i must use the usb2dynamixel.<br />can i program it with matlab using the cm-5??<br />if i use the usb2dynamixel how do i get the power supply?? do i have to &quot;built&quot; a new cable??<br />thank you very much for your attention. i gess i'll insist with more bioloid dubts soon  <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=":wink:" title="Wink" /><br /></div></blockquote><br /><br />2 mehods<br />the easy one is with USB2Dynamixel - and yes you will need to power the servos in some way. The easiest way is to link the usb2dynamixel to the fully assembled robot. just find a long wire to connect the usb2dynamixel to one of the access points to the bus on the robot. oh.. and make sure that if you connect the CM5, that it doesnt act as bus master. just write some empty code and program the CM5 to do nothing. or maybe when it boots press some key combination that makes it innoperational.<br /><br />second method involves using the serial link and the CM5. this method described by Pedro from IST, involves writing code on the CM5 to talk to the bus and writing to the PC over the serial port. the PC runs simulink and talks to the CM5 using some communication protocol of your liking.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Thu Oct 02, 2008 11:58 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[teleco07]]></name></author>
<updated>2008-09-30T11:11:39+01:00</updated>
<published>2008-09-30T11:11:39+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17714#p17714</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17714#p17714"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17714#p17714"><![CDATA[
hi.<br />I'm totally new in this area and so i've read most of topics about it in this forum and also others in the internet.<br />i have a few questions i hope you can answer me or tell me where to get more information:<br />i'm working on my final proyect with bioloid and i'm suposed to program it via matlab/simulink.i've read all the manuals and user's guides but i still don't have really clear if i must use the usb2dynamixel.<br />can i program it with matlab using the cm-5??<br />if i use the usb2dynamixel how do i get the power supply?? do i have to &quot;built&quot; a new cable??<br />thank you very much for your attention. i gess i'll insist with more bioloid dubts soon  <img src="http://forum.robosavvy.com/images/smilies/icon_wink.gif" alt=":wink:" title="Wink" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1184">teleco07</a> — Tue Sep 30, 2008 11:11 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2008-09-27T19:49:07+01:00</updated>
<published>2008-09-27T19:49:07+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17696#p17696</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17696#p17696"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17696#p17696"><![CDATA[
Not sure if you have referenced this in the thread.<br />There is the formal Robotis support for Matlab<br />check out this thread:<br /><!-- m --><a class="postlink" href="http://robosavvy.com/forum/viewtopic.php?t=2726">http://robosavvy.com/forum/viewtopic.php?t=2726</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Sat Sep 27, 2008 7:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jorge ochoa]]></name></author>
<updated>2008-09-25T21:35:26+01:00</updated>
<published>2008-09-25T21:35:26+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17652#p17652</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17652#p17652"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17652#p17652"><![CDATA[
the only way is using a controller in the cm-5 diferent to default controller, such us robowraper.hex or BLV. and use the functions implemented to manage the pages in the motion file.<br /><br />the default controller permit the use of the manage mode and do a routine for any movement with de commands go, write, regwrite etc.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=880">jorge ochoa</a> — Thu Sep 25, 2008 9:35 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[StuartL]]></name></author>
<updated>2008-09-23T20:25:10+01:00</updated>
<published>2008-09-23T20:25:10+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17632#p17632</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17632#p17632"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17632#p17632"><![CDATA[
<blockquote><div><cite>Zwolsee wrote:</cite><br />I don't really understand the protocol for executing a motion page in C. Can anyone help explain how to call a motion page?<br /></div></blockquote><br /><br />The less you demonstrate an ability to search the internet, or particularly this forum, the less people are going to be willing to help you.<br /><br />In this case there's definitely been posts from the guys at Plymouth Uni who have decoded the motion pages and shared their software.  I don't remember which thread it was discussed in.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=645">StuartL</a> — Tue Sep 23, 2008 8:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Zwolsee]]></name></author>
<updated>2008-09-23T00:32:18+01:00</updated>
<published>2008-09-23T00:32:18+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17625#p17625</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17625#p17625"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17625#p17625"><![CDATA[
I don't really understand the protocol for executing a motion page in C. Can anyone help explain how to call a motion page?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1167">Zwolsee</a> — Tue Sep 23, 2008 12:32 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2008-09-22T01:06:27+01:00</updated>
<published>2008-09-22T01:06:27+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17614#p17614</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17614#p17614"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17614#p17614"><![CDATA[
<blockquote><div><cite>Zwolsee wrote:</cite><br />Does anyone know if you can call motion pages in the C program?<br />I need my program to read a number being sent from a serial port and clap the number of times of the character. Does anyone have any example code?<br /></div></blockquote><br /><br />Bioloid Control and also this:<br /><!-- m --><a class="postlink" href="http://robosavvy.com/site/index.php?option=com_openwiki&amp;Itemid=&amp;id=robotis_bioloid#c_library_for_playing_motioneditor_motions">http://robosavvy.com/site/index.php?opt ... or_motions</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Mon Sep 22, 2008 1:06 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[jorge ochoa]]></name></author>
<updated>2008-09-21T17:16:10+01:00</updated>
<published>2008-09-21T17:16:10+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17610#p17610</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17610#p17610"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17610#p17610"><![CDATA[
in the forum &quot;Bioloid Control (Open Source Project)<br /> <br />&quot;, you can find information about it and the source code.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=880">jorge ochoa</a> — Sun Sep 21, 2008 5:16 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Zwolsee]]></name></author>
<updated>2008-09-21T08:47:43+01:00</updated>
<published>2008-09-21T08:47:43+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17608#p17608</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17608#p17608"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17608#p17608"><![CDATA[
Does anyone know if you can call motion pages in the C program?<br />I need my program to read a number being sent from a serial port and clap the number of times of the character. Does anyone have any example code?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1167">Zwolsee</a> — Sun Sep 21, 2008 8:47 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Zwolsee]]></name></author>
<updated>2008-09-20T03:40:02+01:00</updated>
<published>2008-09-20T03:40:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17595#p17595</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17595#p17595"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17595#p17595"><![CDATA[
Yes I have thanks for that<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1167">Zwolsee</a> — Sat Sep 20, 2008 3:40 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[limor]]></name></author>
<updated>2008-09-19T11:18:52+01:00</updated>
<published>2008-09-19T11:18:52+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17586#p17586</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17586#p17586"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17586#p17586"><![CDATA[
Hi Zwolsee,<br /><br />We did quite a lot of work hooking up the Bioloid to Matlab/Simulink at IST in Portugal.<br />Have you seen the reference in the <a href="http://robosavvy.com/site/index.php?option=com_openwiki&amp;Itemid=&amp;id=robotis_bioloid#matlab_simulink" class="postlink">Bioloid Knowledgebase</a><br /><br />There's a thesis by Pedro Teodoro with all the gory details.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2">limor</a> — Fri Sep 19, 2008 11:18 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Zwolsee]]></name></author>
<updated>2008-09-19T08:54:30+01:00</updated>
<published>2008-09-19T08:54:30+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17584#p17584</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17584#p17584"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17584#p17584"><![CDATA[
Does anyone know how to use callbacks on Matlab? I have a GUI with a video input being streamed in and ive created a push button to capture an image. I know I have to use getsnapshot somehow but everytime i run it it ouputs:<br />Undefined function or variable 'vid'.<br /><br />Error in ==&gt; OCR_GUI&gt;pushbutton1_Callback at 88<br />char = getsnapshot(vid);<br /><br />Error in ==&gt; gui_mainfcn at 75<br />        feval(varargin{:});<br /><br />Error in ==&gt; OCR_GUI at 42<br />    gui_mainfcn(gui_State, varargin{:});<br /><br />??? Error while evaluating uicontrol Callback.<br /><br />Can anyone help?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1167">Zwolsee</a> — Fri Sep 19, 2008 8:54 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[billyzelsnack]]></name></author>
<updated>2008-09-19T04:36:51+01:00</updated>
<published>2008-09-19T04:36:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17582#p17582</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17582#p17582"/>
<title type="html"><![CDATA[Sending commands to Bioloid from Matlab]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2840&amp;p=17582#p17582"><![CDATA[
<!-- m --><a class="postlink" href="http://www.google.com/search?hl=en&amp;q=write+com+port+matlab&amp;btnG=Google+Search&amp;aq=f&amp;oq=">http://www.google.com/search?hl=en&amp;q=wr ... h&amp;aq=f&amp;oq=</a><!-- m --><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=459">billyzelsnack</a> — Fri Sep 19, 2008 4:36 am</p><hr />
]]></content>
</entry>
</feed>