View Single Post
  #6   Spotlight this post!  
Unread 06-01-2013, 00:40
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: Video showing how to use Eclipse for FRC 2013 development without plugins

Quote:
Originally Posted by abrightwell View Post
Great video, thanks for taking the time to put it together. My team has been wanting to move to Eclipse for some time now, this is really going to help us get there.

What would be really interesting to see is how to use the Java ME SDK and not the full SE SDK. What do you think about setting the Execution Environment to CDC 1.1? Have you tried this approach yet? I am going to play with it on my end, but I don't have a cRIO to test a full deployment at the moment. I'd be interested to hear your thoughts.

Keep up the good work!
The Squawk Virtual Machine running on the cRIO is a Micro Edition Java Runtime Environment. So you are only limited to J2ME classes anyway.

If you changed your environment to CDC 1.1, everything would work the same as far as development is concerned, because your JRE setting really doesn't matter, you are not running the code on your machine so the JRE is never used. You are downloading the Java SE JDK to basically use the compiler and other tools that comes with it for development. The Java Runtime Environment doesn't include those items.

Which is why we usually set our Alternate Runtime Environment to just a JDK, because that's all we need.

So as far as code on the robot, you are limited to whats in the SunSpotFRCSDK which is a java micro variant plus some stuff that Squawk and WPILib throws in, and whatever classes you write yourself. You do not have access to the full SE resources because they simply wont run on the Squawk VM.

Hope this helps.

-Kev
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner

Last edited by NotInControl : 06-01-2013 at 14:29.
Reply With Quote