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

<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>2007-04-22T07:24:41+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=1302</id>
<entry>
<author><name><![CDATA[kevdemed]]></name></author>
<updated>2007-04-22T07:24:41+01:00</updated>
<published>2007-04-22T07:24:41+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8611#p8611</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8611#p8611"/>
<title type="html"><![CDATA[Ok. new question.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8611#p8611"><![CDATA[
Hmmm...<br />Well I will give it a shot.<br />Thanks for the help!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=600">kevdemed</a> — Sun Apr 22, 2007 7:24 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bauermech]]></name></author>
<updated>2007-04-21T20:14:04+01:00</updated>
<published>2007-04-21T20:14:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8601#p8601</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8601#p8601"/>
<title type="html"><![CDATA[Ok. new question.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8601#p8601"><![CDATA[
<img src="http://forum.robosavvy.com/images/smilies/icon_redface.gif" alt=":oops:" title="Embarassed" /> oops, Humanoido is correct - math is done sequentially in BASIC. Sorry for leading you astray.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=74">bauermech</a> — Sat Apr 21, 2007 8:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Humanoido]]></name></author>
<updated>2007-04-21T17:11:20+01:00</updated>
<published>2007-04-21T17:11:20+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8598#p8598</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8598#p8598"/>
<title type="html"><![CDATA[Ok. new question.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8598#p8598"><![CDATA[
The issues with subset languages, i.e. integer (without the decimal point) Basic, RoboBasic, Tiny Basic, is that they do not follow the math flow order that we were taught in school, because there is no precedence in the operator. Math is solved in the order it is written, left to right.<br /><br />In RoboBasic math, a parenthesis () cannot be used. This is best illustrated by example. If A=1, B=2, C=3 then consider the real flow followed by RoboBasic. A + B * C = 1 + 2 * 3 = 3 * 3 = 9. Therefore, multiplication does not iterate first.<br /><br />However, this is generally not a deterrent to higher ordered math, as math as high as Calculus has been implemented. Many of such routines were implemented for various integer-only 4 and 8 bit microcontrollers which had limited memory for Basic and programs. These have been popular ever since the 1970s when they were introduced.<br /><br />Some of the best information can be found at Tracey Allen's web site. While the information was written in regard to the integer Basic Stamp 1 and BS2, it nevertheless applies to RoboBasic and integer Basic as a whole.<br /><br /><a href="http://www.emesystems.com/BS2index.htm" class="postlink">http://www.emesystems.com/BS2index.htm</a><br /><a href="http://www.silab.it/frox/stamp/bs2_math.htm" class="postlink">http://www.silab.it/frox/stamp/bs2_math.htm</a><br /><a href="http://www.piclist.com/techref/microchip/math/index.htm" class="postlink">http://www.piclist.com/techref/microchip/math/index.htm</a><br /><br />Also in RoboBasic, worth mentioning, calculations are limited to 2 or 3 calculations per line, to retain accuracy. There is a brief treatise in the RoboBasic English Command Instruction Manual on pages 13 and 14.<br /><br />humanoido<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=416">Humanoido</a> — Sat Apr 21, 2007 5:11 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bauermech]]></name></author>
<updated>2007-04-21T13:04:02+01:00</updated>
<published>2007-04-21T13:04:02+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8594#p8594</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8594#p8594"/>
<title type="html"><![CDATA[Ok. new question.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8594#p8594"><![CDATA[
...oops<br /><br /><blockquote class="uncited"><div><br />Did all of you learn this stuff just by studying the guide?<br /></div></blockquote><br /><br />Many of us have had previous programming experience in BASIC and/or C++ etc., but al lot of us too have had no previous experience, and were forced to learn by asking questions and studying. <br /><br />Hope this helps w/ some of your questions...   <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=74">bauermech</a> — Sat Apr 21, 2007 1:04 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[bauermech]]></name></author>
<updated>2007-04-21T12:25:36+01:00</updated>
<published>2007-04-21T12:25:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8593#p8593</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8593#p8593"/>
<title type="html"><![CDATA[Ok. new question.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8593#p8593"><![CDATA[
<blockquote class="uncited"><div><br />How do I teach myself all of this mathematical stuff?<br /></div></blockquote>Whoa, lets not get too far ahead of ourselves...<br />You'll find it is not necessary to jump into using mathematics to create motions. RoboBASIC has a wonderful Catch-n-Play feature you can use to make your robot transition from one pose to the other. I would recommend starting there, and getting the feel for coding<br /><a href="http://www.bauerindependents.com/SUBMAIN/robonova_codehelp1.htm" class="postlink">Click Here</a> for a basic rundown of what the code in your &quot;Overall_Template.bas&quot; file looks like and what each chunk means. <br /><br /><blockquote class="uncited"><div><br />F=A*B/C*D+E? <br />What the hell does that mean?<br /></div></blockquote><br />Each letter may be represented by a value... you can use variables or constants to set/change these values <br />DIM E AS BYTE <br />E = 128<br /><br />remember the laws of math order...<br />(Do First - Parentheses, Exponents, Multiplication, Division, Addition, Subtraction - Do Last)...for instance, in the above equation:<br /><br />1. F = is &quot;F&quot; equals the result of... (This is the final answer you're looking for)<br />2. Take the value of A, multiply it by the value of B<br />3. Take the value of C, multiply it by the value of D<br />4. Take both results from steps 2 and 3 - divide the values<br />5. Take the result from step 4 and add the value of E<br />6. The resulting value is equal to F<br /><br /><blockquote class="uncited"><div><br />Did all of you learn this stuff just by studying the guide? <br /><br />Many of us have had previous programming experience in BASIC and/or C++ etc., but al lot of us too have had no previous experience, and were forced to learn by asking questions and studying.<br /><br />Hope this helps w/ some of your questions...  <img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /></div></blockquote><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=74">bauermech</a> — Sat Apr 21, 2007 12:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kevdemed]]></name></author>
<updated>2007-04-21T11:15:36+01:00</updated>
<published>2007-04-21T11:15:36+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8591#p8591</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8591#p8591"/>
<title type="html"><![CDATA[Ok. new question.]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=1302&amp;p=8591#p8591"><![CDATA[
So far Im having fun with my robonova, but now I want to program it.<br />So I look at the robobasic manual.<br />WOW!<br /><br />How do I teach myself all of this mathimatical stuff?<br /><br />F=A*B/C*D+E?<br /><br />What the hell does that mean?<br /><br />Did all of you learn this stuff just by studying the guide?<br /><br />If so, please tell me how.<br /><br />       Thanks!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=600">kevdemed</a> — Sat Apr 21, 2007 11:15 am</p><hr />
]]></content>
</entry>
</feed>