![]() |
**FIRST EMAIL**/Java and Orbit Balls
Greetings Teams:
In the 2010 season, FRC teams will have the option of programming their robot in Java. The addition of Java as a programming language option is the culmination of work by Worcester Polytechnic Institute (WPI) and researchers from the Sun SPOT project at Sun Microsystems Laboratories. To learn more as you wait for the 2010 season to begin visit [ http://www.sunspotworld.com/frc/Welcome.html ]http://www.sunspotworld.com/frc/Welcome.html and [ http://first.wpi.edu/FRC/frc-programming.html ]http://first.wpi.edu/FRC/frc-programming.html.$@# We’ll be updating both locations as details are finalized. If you are planning to hold an off season event or host a demonstration of your robot over the summer, you might want some extra game pieces. Used orbit balls (the ones that survived championship) are available for purchase starting today here [ http://logoloc.com/first/ ]http://logoloc.com/first/ Quantities are limited. If you are borrowing a FIRST field for your off season event, please remember that game pieces are not included in the loan. Go Teams! |
Re: **FIRST EMAIL**/Java and Orbit Balls
How much better is JAVA going to be than Lab view?
Is it easier to use? |
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
For FRC robotics, I prefer LabVIEW. For my neural-networks research, Java was the clear choice. |
Re: **FIRST EMAIL**/Java and Orbit Balls
Yuck, java. The lack of pointers is a major turn-away for me.
However, for those high schools that offer AP computer science, the fact that the robot can now be programmed in java sorta bridges the learning gap a bit. |
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
|
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
|
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
|
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
Code:
char *ptr = malloc(SIZE); |
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
I actually used a bit of pointer arithmetic this year to make a simple circular buffer for Camera Report Structures. Of course I could make a circular buffer class in Java too. Again, I am not recommending pointer arithmetic or saying it's vital, I am just saying it can be useful, simple and intuitive. My real concern with Java is not the pointer stuff but rather the runtime performance. Java uses just in time (JIT) compilation and garbage collection which should add additional (non deterministic) load to the programs run (of course I need to read more about how theses features are implemented). That being said, I think additional language options are a good thing and all of my programing students are taught Java (not C) in high school for the AP exam. |
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
|
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
|
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
See, here is a small piece of code I just wrote. Code:
1 #include <stdlib.h>Code:
0000000000000000 <main>:Code:
1 #include <stdlib.h>Code:
0000000000000000 <main>:Absolutely no difference whatsoever. |
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
|
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
Quote:
Quote:
Code:
1 #include <stdlib.h>Plus explicit pointers make functions like swap (commonly used in bubblesort simple) simpler using C pass by reference. Again not vital, just something that gets abstracted away in a higher level language. |
Re: **FIRST EMAIL**/Java and Orbit Balls
Quote:
Quote:
|
| All times are GMT -5. The time now is 09:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi