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

<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-02-19T16:39:34+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=4&amp;t=2250</id>
<entry>
<author><name><![CDATA[tminionman]]></name></author>
<updated>2008-02-19T16:39:34+01:00</updated>
<published>2008-02-19T16:39:34+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14248#p14248</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14248#p14248"/>
<title type="html"><![CDATA[Newbie question about PEEK function]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14248#p14248"><![CDATA[
Well, after downloading 2.5.61, it compiles for me as well.  I guess the CD version was a few revisions behind.  Thanks a lot for your patience...this is why I'm a noob, I guess <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=919">tminionman</a> — Tue Feb 19, 2008 4:39 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-02-19T11:10:00+01:00</updated>
<published>2008-02-19T11:10:00+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14241#p14241</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14241#p14241"/>
<title type="html"><![CDATA[Newbie question about PEEK function]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14241#p14241"><![CDATA[
I am using version 2.5.61, and it compiles OK. What version  are you using (check help-about).<br /><br />B should be a BYTE<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Tue Feb 19, 2008 11:10 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tminionman]]></name></author>
<updated>2008-02-18T22:55:47+01:00</updated>
<published>2008-02-18T22:55:47+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14225#p14225</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14225#p14225"/>
<title type="html"><![CDATA[Newbie question about PEEK function]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14225#p14225"><![CDATA[
Here is the code I'm trying to test with:<br /><br /><br />DIM B AS INTEGER<br />DIM A AS INTEGER<br /><br />'== motor diretion setting ======================<br />DIR G6A,1,0,0,1,0,0<br />DIR G6B,1,1,1,1,1,1<br />DIR G6C,0,0,0,0,0,0<br />DIR G6D,0,1,1,0,1,0<br /><br />'== motor start position read ===================<br />GETMOTORSET G6A,1,1,1,1,1,0<br />GETMOTORSET G6B,1,1,1,0,0,0<br />GETMOTORSET G6C,1,1,1,0,0,0<br />GETMOTORSET G6D,1,1,1,1,1,0<br />GYROSET G6A,0,1,0,0,0,0<br />GYROSET G6D,0,1,0,0,0,0<br />GYRODIR G6A,1,1,1,1,1,1<br />GYRODIR G6D,0,1,0,0,0,0<br />GYROSENSE G6A,0,70,0,0,0,0<br />GYROSENSE G6D,0,70,0,0,0,0<br /><br />SPEED 5<br /><br />'== motor power on  =============================<br />MOTOR G24<br /><br />GOSUB standard_pose<br /><br />'================================================<br />MAIN:    <br /><br />'GOSUB transmit_start<br />GOSUB transmit_data<br />'GOSUB transmit_done<br />GOTO MAIN<br />'================================================<br /><br />transmit_data:<br />A=1328<br /><span style="color: red">B=PEEK(A)</span><br />ETX 57600, B<br />RETURN<br /><br />'================================================<br /><br />standard_pose:<br /><br />MOVE G6A,100,  80, 145,  93, 100, 100 <br />MOVE G6D,100,  80, 145,  93, 100, 100  <br />MOVE G6B,100,  30,  80, 100, 100, 100<br />MOVE G6C,100,  30,  80, 100, 100, 100<br />WAIT<br /><br />RETURN<br />'================================================<br /><br />The red highlighted text is the statement giving me trouble.  I'm running RoboBasic 2.5 (English), and the compile command returns an &quot;[Assign(=)]Can't use integer type&quot; error.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=919">tminionman</a> — Mon Feb 18, 2008 10:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[i-Bot]]></name></author>
<updated>2008-02-18T22:33:03+01:00</updated>
<published>2008-02-18T22:33:03+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14222#p14222</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14222#p14222"/>
<title type="html"><![CDATA[Newbie question about PEEK function]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14222#p14222"><![CDATA[
There is no problem to PEEK all the RAM locations. And your address is correct<br /><br />Can you post our code, so we can have a look at your problem ?<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=159">i-Bot</a> — Mon Feb 18, 2008 10:33 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[tminionman]]></name></author>
<updated>2008-02-18T21:20:48+01:00</updated>
<published>2008-02-18T21:20:48+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14219#p14219</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14219#p14219"/>
<title type="html"><![CDATA[Newbie question about PEEK function]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=2250&amp;p=14219#p14219"><![CDATA[
Hi everyone,<br /><br />I just got a Robonova, and I'm evaluating it for my adviser as a possible soccer-playing robot for our school.  I've been trying implement real-time control by sending data over serial to a PC, and having the PC respond with a set of servo positions.<br /><br />My question is, how do I PEEK the RAM location where the gyro data is stored?    One of the topics mentioned that it was stored at 1328-1331, but RoboBasic won't let me PEEK any ram location above 255.  <br /><br />If anybody has done this or can offer any insight, I'd really appreciate it. Thanks!<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=919">tminionman</a> — Mon Feb 18, 2008 9:20 pm</p><hr />
]]></content>
</entry>
</feed>