<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Yes, if you do make modifications you can email me/us directly and/or post your update summary to keep others informed.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3598</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3598</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        STeven,&lt;br&gt;&lt;br&gt;I am fine with the link and the inclusion of the files with the API. &lt;br&gt;&lt;br&gt;I will be updating the files over time. Should we make contact via email to facilitate that? I have your email address.         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3598</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3598</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Rud,&lt;br&gt;&lt;br&gt;This is fantastic! I hope you don&apos;t mind but we added a link from our homepage and the rss feed to your blog.&lt;br&gt;&lt;br&gt;We&apos;d also like to ask permission to include your classes along with the API as I&apos;m sure other folks would appreciate the ease of use they provide. They would be included as is along with the other C++ files with all your information preserved. Let us know if this is ok with you.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3598</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3598</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        The forum won&apos;t allow uploading C++ files so it gave me an error on my posting, but I see it posted the message without the files.&lt;br&gt;&lt;br&gt;I just wrote this up on my blog at &lt;a href=&quot;http://mysticlakesoftware.blogspot.com/2010/02/roborealm-vision-processing-wrappers.html&quot; target=&quot;_blank&quot;&gt;http://mysticlakesoftware.blogspot.com/&lt;wbr&gt;2010/&lt;wbr&gt;02/&lt;wbr&gt;roborealm-&lt;wbr&gt;vision-&lt;wbr&gt;processing-&lt;wbr&gt;wrappers.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I zipped the files for uploading here. &lt;br&gt;&lt;a target=_blank href=http://www.roborealm.com/forum/download_zipfile.php?post_id=20609&amp;name=RoboRealmVar.zip&amp;zip_id=1&gt;&lt;img border=0 src=http://www.roborealm.com/images/zip_icon_small.gif&gt; RoboRealmVar.zip&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3598</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3598</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Wrapper classes for reading variables from RR_API</title>
        <description>
        I&apos;m attaching three files of C++. These put wrappers around variables to be read from RR using the RR_API. These classes only do reads, so far, since that is all I&apos;ve needed to date. I&apos;ll add writing at some point in the future but though some might find limited routines these useful before I get write opeartions.&lt;br&gt;&lt;br&gt;The first class is RoboRealmVar which wraps individual variables. Its a template class. I&apos;ve created specific instanctiations for int, float and string. It should be easy to add more if necessary. The only thing you might have to write is a simple conversion from ascii to data type routine. See the string instatiation for how it was done there. &lt;br&gt;&lt;br&gt;To declare a var is done by:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rrIntVar mCogX;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rrIntVar mCogBoxSize;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rrIntVar mImageWidth;&lt;br&gt;&lt;br&gt;Instatiate it with &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogX(&quot;COG_X&quot;, mRoboRealm),&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mImageWidth(&quot;IMAGE_WIDTH&quot;, mRoboRealm),&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogBoxSize(&quot;COG_BOX_SIZE&quot;, mRoboRealm),&lt;br&gt;&lt;br&gt;where mRoboRealm is the instance of RR from RR_API. &lt;br&gt;&lt;br&gt;All the examples are for the COG module and are using class members, hence the &apos;m&apos; prefix. &lt;br&gt;&lt;br&gt;You can retrieve the values with:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; int cogX =&amp;nbsp;&amp;nbsp;mCogX();&lt;br&gt;&lt;br&gt;which uses an overload of operator();&lt;br&gt;&lt;br&gt;If you want to retrieve mutliple variables with one call use the class RoboRealmVars. You may have noticed the class RoboRealmVarBase which is a base class for RoboRealmVars. It is used to provide an interface to individual vars when working with multiple vars.&lt;br&gt;&lt;br&gt;Do this for multiple variables:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RoboRealmVars mCogVars;&lt;br&gt;&lt;br&gt;then:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogVars(mRoboRealm)&lt;br&gt;&lt;br&gt;and then:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogVars.add(mCogX);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogVars.add(mImageWidth);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogVars.add(mCogBoxSize);&lt;br&gt;&lt;br&gt;and finally:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mCogVars();&lt;br&gt;&lt;br&gt;which is another operator() overload for reading multiple vars. All the individual vars then have values that can be accessed as shown above in the individual var example. &lt;br&gt;&lt;br&gt;Hope someone finds these useful. I know reading multiple vars took a lot of detail chasing that this new class how hides. &lt;br&gt;&lt;br&gt;[image1]&lt;br&gt;[image2]&lt;br&gt;[image3]&lt;br&gt;         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3598</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3598</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
