Go to Post I had a fight with my robot once during competition. I felt bad about it and apologized. - Tommy F. [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 21-11-2014, 14:43
snoman's Avatar
snoman snoman is offline
Registered User
FRC #3275 (Accelerators 3134 & Regulators 3275)
Team Role: Coach
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Minnesota
Posts: 377
snoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to behold
crio- roborio

i know almost nothing about programming

that being said sounds like this year java teams will be using eclipse rather then netbeans and moving up to java 8. this software is available now right?
also will the old crio be capable of running this new stuff? will the roborio be able to run the "old" stuff? you can transfer programming to roborio using a USB correct?

sorry for my ignorance. we are trying to get some new mentors in to help with programming and i need to be set up ready to go

thanks
__________________
Coach of the Cass Lake Bena Regulators 3275 (Boys)and mentor Accelerators 3134(Girls)
https://www.facebook.com/accerleratorsandregulators/
https://www.youtube.com/channel/UCQU...Cr8I4wezAbMefA
  #2   Spotlight this post!  
Unread 21-11-2014, 14:52
Tungrus Tungrus is offline
Registered User
no team
 
Join Date: Mar 2013
Location: Somewhere
Posts: 375
Tungrus is a jewel in the roughTungrus is a jewel in the roughTungrus is a jewel in the roughTungrus is a jewel in the rough
Re: crio- roborio

Quote:
Originally Posted by snoman View Post
sorry for my ignorance. we are trying to get some new mentors in to help with programming and i need to be set up ready to go

thanks
Everyone is ignorant of something or the other! Someone who claims to be an expert has not met his/her match!
  #3   Spotlight this post!  
Unread 21-11-2014, 15:25
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: crio- roborio

Quote:
Originally Posted by snoman View Post
i know almost nothing about programming

that being said sounds like this year java teams will be using eclipse rather then netbeans and moving up to java 8. this software is available now right?
No. The software will not be released until kickoff. Only Beta test teams have access to the software at this point, for testing purposes. FIRST has not made any announcement about releasing the software tools earlier at this point, so we can not assume they will.

Quote:
Originally Posted by snoman View Post
also will the old crio be capable of running this new stuff?
No, the JVM on the cRIO is a squawk JVM based on Java ME. The RoboRio is based on SE 8 embedded. While the new 2015 Java API is largely the same, there is enough changes that the NEW stuff will not run on the cRIO. However, all of the 2014 JavaME based tools for netbeans will still work on the cRIO.

Quote:
Originally Posted by snoman View Post
will the roborio be able to run the "old" stuff?
When you say run, I assume you mean take the jar file compiled from 2014 and run it on the Roborio. This will not work. The files compiled using the 2014 FRC tools will not run without modifying the Roborio beyond the scope of FRC. It may be possible if you are very familiar with Linux, installing additional JVMs, and the WPILIB HAL, but I doubt this will be FRC competition legal.

However, if you have access to the java source code in 2014, you can use it in 2015. It will require a few source code modifications, before it will compile again, but it should be trivial (rename class names, change port numbers, remove, constructor parameters which are now non-existent like module number). Once you modify the 2014 source code to match the 2015 java libraries and compile using the new 2015 eclipse tools, your Java project based on 2014 code should run on the RoboRio.

Quote:
Originally Posted by snoman View Post
you can transfer programming to roborio using a USB correct?
Usb, Wifi, or tether Ethernet.

Hope this helps,
Kevin
__________________
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 : 21-11-2014 at 16:29.
  #4   Spotlight this post!  
Unread 21-11-2014, 20:34
snoman's Avatar
snoman snoman is offline
Registered User
FRC #3275 (Accelerators 3134 & Regulators 3275)
Team Role: Coach
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Minnesota
Posts: 377
snoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to beholdsnoman is a splendid one to behold
Re: crio- roborio

very helpful thank you Kevin
__________________
Coach of the Cass Lake Bena Regulators 3275 (Boys)and mentor Accelerators 3134(Girls)
https://www.facebook.com/accerleratorsandregulators/
https://www.youtube.com/channel/UCQU...Cr8I4wezAbMefA
  #5   Spotlight this post!  
Unread 21-11-2014, 23:17
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: crio- roborio

If you have other questions, please feel free to contact us (2177 (at) therobettes.com)... We've been alpha/beta testing the new system since last fall, in java, and are more than willing to help out another local team get prepared for the season. Also, if you're coming down for MN SPLASH at the U in a couple of weeks, we'll be presenting on everything we know there.

For reference, we copied last year's code over to the new system, and the students were able to get it up and running over the course of a single meeting.

The biggest difference is with constructors - with the cRIO, you could create something using a slot and a port, in case you had two analog, digital, or pneumatic modules. with the roboRIO, there are no modules, so the constructors changed a little bit to reflect this.

If you use CAN, things there changed a bit to make it more user-friendly and less likely to blow up on you.

The AnalogChannel class is now AnalogInput, but otherwise the same. There's a new Potentiometer class that we really like, as well.

If you use pneumatics, things are a bit different, as there is no compressor code needed. It just works. Otherwise it's pretty much the same for controlling your solenoids.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
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


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

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