<?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>
        Hooray, we got it now.&amp;nbsp;&amp;nbsp;Thanks for your help.&amp;nbsp;&amp;nbsp;Here&apos;s what fixed it:&lt;br&gt;&lt;br&gt; In RoboRealm, under Network_Tables, you have to set &quot;Send Variable Types&quot; to &quot;Automatic&quot;.&amp;nbsp;&amp;nbsp;Also, you have to put &quot;BFR_COORDINATES&quot; in the list uner &quot;Send&quot;&lt;br&gt;&lt;br&gt;Now we can read with this code:&lt;br&gt;&lt;br&gt;NetworkTable table = NetworkTable.getTable(&quot;SmartDashboard&quot;);&lt;br&gt;&lt;br&gt;while(true) {&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; final NumberArray d = new NumberArray();&lt;br&gt;&amp;nbsp;&amp;nbsp; table.retrieveValue(BFR_COORDINATES&quot;, d);&lt;br&gt;&amp;nbsp;&amp;nbsp; System.out.println(&quot;Size =&quot;+d.size());&lt;br&gt;&amp;nbsp;&amp;nbsp; for(int i=0; i&amp;lt;d.size(); i++)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&quot;Index &quot;+i+&quot;&amp;nbsp;&amp;nbsp; Values &quot;+d.get(i));&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&lt;br&gt;Thanks again!!        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4798</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4798</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Tim,&lt;br&gt;&lt;br&gt;Be sure to have the most recent copy of RR when running this. The issue is that before a target is in view, the system will put the BFR_COORDINATES as 0.0 since it doesn&apos;t know its actually an array. Only when a target is in view does this variable become and array.&lt;br&gt;&lt;br&gt;An update was made about 2 weeks ago to ensure that the type is NOT committed to the NT before RR knows if the variable is an array or not.&lt;br&gt;&lt;br&gt;So, download the latest RR and shut down everything (robot, PC, etc.) to ensure the NT table is cleared out. Then bring back up everything with the new version of RR and it should be ok.&lt;br&gt;&lt;br&gt;The error is specifically complaining that the variable being requested is a double and not an array of doubles.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4798</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4798</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Steven, &lt;br&gt;Thanks! That helps a lot.&lt;br&gt;Is NumberArray the right class when reading &quot;BFR_COORDINATES&quot;? (Best fit rectangle coordinates)?&lt;br&gt;&lt;br&gt;When we use the example with &quot;testla&quot; replaced by &quot;BFR_COORDINATES&quot; we get Exception in thread &quot;main&quot; edu.wpi.first.wpilibj.networktables2.TableKeyExistsWithDifferentTypeException: Illegal put - key &apos;/SmartDashboard/BFR_COORDINATES&quot; exists with type &apos;NetworkTable type: Double&apos;.&amp;nbsp;&amp;nbsp;Is not a complex data type &lt;br&gt;at edu.wpi.first.wpilibj.networktables2.NetworkTableNode.retrieveValue(Unknown Source)        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4798</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4798</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Actually, checking the most recent source, I think FIRST changed that to NumberArray. Should be in the edu.wpi.first.wpilib.networktables2.type folder. &lt;br&gt;&lt;br&gt;We&apos;ll update the documentation.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4798</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4798</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>DoubleArray for Java Network Tables</title>
        <description>
        Where do I get DoubleArray for this Java example, i.e. which library or plug-in is DoubleArray&amp;nbsp;&amp;nbsp;in?&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.roborealm.com/help/Network_Tables.php&quot; target=&quot;_blank&quot;&gt;http://www.roborealm.com/&lt;wbr&gt;help/&lt;wbr&gt;Network_&lt;wbr&gt;Tables.php&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4798</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4798</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
