|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
On one hand, this is cool. I use Java, I like Java, I think Java is a great language.
On the other hand: ANOTHER PROGRAMMING SYSTEM???!!!! That means that I get to go through the whole C++/C/labVIEW decision process again, and if we decide to use it help bring the programming team up to speed on a new IDE, language, etc. |
|
#2
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
nathanww has a certain point and for teams who are still jumping around with programming have yet another option.
But for us, bringing kids up to par with the programming won't be so hard considering that the school has a curriculum in place for this already. |
|
#3
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Actually, I believe the java stuff could use eclipse also, so no changing IDE's.
![]() |
|
#4
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
even if it does use eclipse (the base of Windriver), there will definably be some differences, (like a cRIO connection thing) so you will have to learn some more stuff (though generally the same)
|
|
#5
|
||||
|
||||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Java is what they use mainly where I go to college for CS, and I think this is partly because it is a more homogenous system for teaching than C or C++, where there could be many compilers and oddities between OSes (BTW, there is about an even mix of Linux, Windows, and OS X amongst the CS students there.)
Sun SPOTS are really interesting looking devices, but I think they have been poorly marketed. Anyway, they seem to handle Java in real-time pretty well, they are being used in a couple of cases as sensor networks. From what I can deduce from the press releases and the Java on FIRST website (http://sunspotworld.com/frc/Welcome.html) they will implement Java similarly. The Sun SPOTS have an ARM processor (the cRIO, a Freescale PPC) and they use the Squawk VM, which is specifically designed for embedded apps. This VM is running right on top of the hardware, so the user code isn't that far from the hardware. It certainly isn't farther from the hardware than VxWorks or LabVIEW, so Java code might be quicker than these methods, but that remains to be seen. As for Garbage Collection, each virtual machine has to implement that, thus Squawk's is almost certainly different than the 'typical' Java VM. From their site, they say they have three methods for GC which are user selectable (although they may not be in our case.) One successful example of using Java in robots is Basil (Google Jim and Louise Gunderson.) They've got a few Javelin stamps wired to a *ton* of sensors and outputs. There are countless other examples too. I believe there are a couple of hardware Java VMs too. A few students have shown interest in learning Java on my team, and I'm planning on holding class sessions during the summer. We transitioned directly from C to LabVIEW, so a major part of the class will be OO concepts. Sorry for the dissertation, but hopefully this is useful. |
|
#6
|
|||
|
|||
|
Re: "Java, Sun SPOT and the FIRST Robotics Competition"
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SECOND Robotics Competition "Underdrive" | Tanner | Off-Season Events | 2 | 22-11-2008 17:34 |
| Cannot "Grab frame" with java CMUcam2 GUI | TOECUTTER | Programming | 0 | 20-01-2007 12:50 |
| Rules of Engagement and "Unfair Competition" | Richard Neese | General Forum | 2 | 24-03-2003 13:03 |
| how tall is the ramp when in "up" and "balanced" position??? | archiver | 2001 | 1 | 24-06-2002 00:54 |
| An idea to better improve the First competition...or, at least make it more "hardcore"... | archiver | 1999 | 1 | 23-06-2002 22:02 |