Go to Post They knew that the number of gracious, professional, make-your-grandmother-so-proud-she-will-puke moments of exemplary behavior by the teams would far outshine any minor mistakes or incidents of less-than-perfect decorum. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-04-2009, 12:50
pogenwurst pogenwurst is offline
Ubuntu User
AKA: Brian
FRC #2007 (Robots of the Round Table)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Duluth, GA
Posts: 78
pogenwurst is on a distinguished road
Send a message via AIM to pogenwurst
"Java, Sun SPOT and the FIRST Robotics Competition"

This just came up in Google Reader; after a quick search I couldn't find it posted anywhere here and thought it might be interesting to many CD'ers:

http://blogs.sun.com/roger/entry/java_sun_spot_and_the
__________________
DuluthRobotics.org
  #2   Spotlight this post!  
Unread 18-04-2009, 15:37
Branden Ghena's Avatar
Branden Ghena Branden Ghena is offline
Previously: tawnos23
FRC #0240 (TEMPEST)
Team Role: College Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Houghton, Michigan (MTU)
Posts: 303
Branden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura aboutBranden Ghena has a spectacular aura about
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

That's very interesting. Java on FIRST robots... not bad. Its really good to get options out there to students, and the more programming languages able to run on FIRST robots the better it is for students.

Let the C++ vs Java rivalry begin.
__________________
Branden Ghena - Michigan Tech Student and Team 240 Alumnus
Working Towards: Electrical Engineering and Computer Engineering Double Major

"All we have to decide is what to do with the time that is given to us." - Gandalf
  #3   Spotlight this post!  
Unread 18-04-2009, 16:09
keehun's Avatar
keehun keehun is offline
Team Captain
AKA: Keehun Nam
FRC #2502 (EP Robotics)
Team Role: Leadership
 
Join Date: May 2008
Rookie Year: 2008
Location: Eden Priaire
Posts: 474
keehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond repute
Send a message via AIM to keehun
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

This is not related to SUN but it's so welcoming to see some familiar pits in the article pictures!
__________________
For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast. -- Ephesians 2:8-9
2010: Quarter Finalist (MN 10,000 Lakes)
2010: Website Award (MN 10,000 Lakes)
2009: Quarter Finalist (MN 10,000 Lakes)
2009: GM Industrial Award (MN 10,000 Lakes)
  #4   Spotlight this post!  
Unread 18-04-2009, 18:18
bobwrit's Avatar
bobwrit bobwrit is offline
//No Comment
AKA: ...
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Somewhere
Posts: 298
bobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nice
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

Note to self: Review Java....
__________________

FRC Team 1977 Alumni

Has Attended:2008 Colorado regional
2009 Colorado Kickoff
2009 Colorado Regional
2010 Colorado Kickoff
2010 Colorado Regional




The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!"(I found it!), but rather, "Hmm.... That's funny" ---Isaac Asimov
Chance favors the prepared mind ---Louis Pasteur
And you can tell me, that I can't make a diffrence because I'm just one, but one is all it takes to start it. And you can tell me, that I can't change the world because I'm too young, but I wont stand here and be your target. ---FM Static
  #5   Spotlight this post!  
Unread 18-04-2009, 18:56
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,065
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

I hate Java (its a religious thing though, no actual reason), but this is pretty cool. Now if they would just get rid of vxWorks and let us use Linux on there we'd be really set...
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #6   Spotlight this post!  
Unread 18-04-2009, 19:17
lingomaniac88 lingomaniac88 is offline
Registered User
FRC #1554
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Long Island, NY / Cambridge, MA
Posts: 230
lingomaniac88 has much to be proud oflingomaniac88 has much to be proud oflingomaniac88 has much to be proud oflingomaniac88 has much to be proud oflingomaniac88 has much to be proud oflingomaniac88 has much to be proud oflingomaniac88 has much to be proud oflingomaniac88 has much to be proud of
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

I think this move will attract a lot of people, especially in schools that offer computer science courses in Java. There are probably quite a number of them, too, since AP Computer Science works in Java.

I'm going to speak with my school's computer science teacher. Maybe she can get her students involved with the team also!

Maybe we can also get the College Board to work with FIRST to make a new case study revolved around the new library. Who's with me?
__________________
"It is common sense to take a method and try it. If it fails, admit it frankly and try another. But above all, try something."
-- Franklin Delano Roosevelt.
  #7   Spotlight this post!  
Unread 18-04-2009, 20:38
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

I think that Java working with devices is a great step...I personally do not like Java at all but it's nice to see how popular FIRST has become that you can even program in Java now. It might bring an increase to the amount of students that join robotics teams.
  #8   Spotlight this post!  
Unread 19-04-2009, 12:03
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

I'm excited to dive into Java as an alternative after a subpar experience with LabVIEW this year. I do have a few questions about how much of the more advanced/third party Java solutions we can use that will still be executable on the cRIO. Unfortunately, I didn't get a chance to drop in and say hi to the people from Sun at the competition over the weekend.

For example, can we use Java-based wrappers and implementations for other languages such as JRuby (my guess is yes, because Java is compiled into bytecode anyways, so whatever third-party libraries used should be compiled with it)? And will there be the ability to use a testing framework such as JUnit (with the emulator, it might be possible. I'd just rather not have to build and load every time I need to test out a small tweak or new feature, especially in the process of developing said feature)?
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
  #9   Spotlight this post!  
Unread 19-04-2009, 14:25
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,612
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

Quote:
Originally Posted by lingomaniac88 View Post
I think this move will attract a lot of people, especially in schools that offer computer science courses in Java. There are probably quite a number of them, too, since AP Computer Science works in Java.
I concur, the majority of AP and IB schools teach computer science in Java.
__________________
History: 624 - Cryptonite --> 118 - Robonauts --> 2158 - AusTIN CANS --> 2587 DiscoBots
Bio: Andrew Lynch "How I Work" ---- LinkedIn , Facebook, Twitter
  #10   Spotlight this post!  
Unread 19-04-2009, 15:48
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,936
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

Wow - This dovetails very nicely with the Java client I have been developing for the 5th Gear FRC robotics simulator - That Java client replaces human players with computer control of one or more of the simulation's virtual robots - Blake
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate
  #11   Spotlight this post!  
Unread 19-04-2009, 16:42
rogerlsmith's Avatar
rogerlsmith rogerlsmith is offline
Software Engineer
AKA: Roger Smith
FRC #3357 (COMETS)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Grand Rapids, MI
Posts: 214
rogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to beholdrogerlsmith is a splendid one to behold
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

I think it's great to offer alternative platforms for development. With that said, I think Sun and or WPI will need to offer some good examples in Java before it will really catch on in our community.
__________________
Roger Smith
Mentor - FRC Team 3357
COMETS - Creating Outstanding Minds, Embracing Technology & Science
---------------------------------------------------------------------------------------

Share FIRST videos, photos and experiences at FIRSTObjective.org
  #12   Spotlight this post!  
Unread 19-04-2009, 16:47
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

I also hope that they release it before fall like their website says. Or at least release it in beta stages (they obviously have somewhat of an alpha product as they had a robot running on Java at CMP).

It was reasonable for NI and WPI/WindRiver to release their programs and languages in the fall because nobody had the cRIO until then. But now that teams have a cRIO, they can beta and submit patches or feedback during practice in the summer.
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.
  #13   Spotlight this post!  
Unread 19-04-2009, 20:24
mathking's Avatar
mathking mathking is offline
Coach/Faculty Advisor
AKA: Greg King
FRC #1014 (Dublin Robotics aka "Bad Robots")
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 1999
Location: Columbus, OH
Posts: 638
mathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond repute
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

As a teacher of AP and IB computer science and an FRC advisor, I like this opportunity a lot. It will make the learning curve for new programmers much less steep on the average, since the overwhelming majority of high school CS classes are Java based. While there are things I don't like about it, the way Java handles events and exceptions will make robot programming much easier for students to pick up. In particular this should be a good avenue for making sensors more easily used.
__________________
Thank you Bad Robots for giving me the chance to coach this team.
Rookie All-Star Award: 2003 Buckeye
Engineering Inspiration Award: 2004 Pittsburgh, 2014 Crossroads
Chairman's Award: 2005 Pittsburgh, 2009 Buckeye, 2012 Queen City
Team Spirit Award: 2007 Buckeye, 2015 Queen City
Woodie Flowers Award: 2009 Buckeye
Dean's List Finalists: Phil Aufdencamp (2010), Lindsey Fox (2011), Kyle Torrico (2011), Alix Bernier (2013), Deepthi Thumuluri (2015)
Gracious Professionalism Award: 2013 Buckeye
Innovation in Controls Award: 2015 Pittsburgh
Event Finalists: 2012 CORI, 2016 Buckeye
  #14   Spotlight this post!  
Unread 19-04-2009, 21:13
j_johnson j_johnson is offline
Registered User
FRC #0226 (Hammerheads)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2003
Location: Shelby Township, MI
Posts: 10
j_johnson is an unknown quantity at this point
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

Quote:
Originally Posted by davidalln View Post
I'm excited to dive into Java as an alternative after a subpar experience with LabVIEW this year. I do have a few questions about how much of the more advanced/third party Java solutions we can use that will still be executable on the cRIO. Unfortunately, I didn't get a chance to drop in and say hi to the people from Sun at the competition over the weekend.

For example, can we use Java-based wrappers and implementations for other languages such as JRuby (my guess is yes, because Java is compiled into bytecode anyways, so whatever third-party libraries used should be compiled with it)? And will there be the ability to use a testing framework such as JUnit (with the emulator, it might be possible. I'd just rather not have to build and load every time I need to test out a small tweak or new feature, especially in the process of developing said feature)?
I got a chance to talk to several of the people at the Java booth at Atlanta and learned quite a bit about the setup. It will use the Squawk JVM running on top of the vxWorks OS. The WPILib should be ported over to Java. (It looked like they had most if not all of it ported already) This VM is Java Eicro Edition (Java ME), which is what runs on phones, smart cards, etc. Any third party libraries would need to be compiled down to the Java ME byte code, limiting them to using only the Java ME API, rather than the Java Standard Edition API.

The build system uses nant, and they will have plugins for the NetBeans IDE and maybe the Eclipse IDE as well. (As a side note, it was probably not a good idea to ask the father of the Java language why they are using a Sun IDE rather than one developed by IBM.)

The cRio will basically be formatted for c++ with the initial program being a bootstrapper to start the JVM. It sounded like this initial JVM will then listen for communication with the development PC and start a second VM with the robot code in it. Hopefully this means that it will be much easier to reprogram and test without the 30 second start up time.

All of this, of course, was in pre beta and could very easily change before it is released.
  #15   Spotlight this post!  
Unread 20-04-2009, 09:10
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: "Java, Sun SPOT and the FIRST Robotics Competition"

Quote:
Originally Posted by j_johnson View Post
I it will be much easier to reprogram and test without the 30 second start up time.
This has been mentioned a few times. Can you elaborate on what the 30 second sequence is, and when it becomes a big part of the development cycle?

One mentor came by the booth and wasn't aware of the three button reboot, so they were power cycling the entire robot each time they deployed. Is this a similar situation? Or are you unable to simply reboot the controller? Or is your controller taking 30 seconds to reboot?

Greg McKaskle
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 07:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi