Go to Post "FIRST: We take young human beings, born in captivity, educate them in science and technology, and re-release them into the wild." - kmcclary [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 Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
  #46   Spotlight this post!  
Unread 29-04-2014, 12:17
krieck's Avatar
krieck krieck is offline
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: RoboRio

For the Java alpha testers, can you tell us what version of Java will be used (6, 7 or 8)?

Also, I'd read somewhere that the roboRIO will use "Java SE Embedded". Can anyone comment on the difference between Embedded Java and the Java SE desktop SDK?
  #47   Spotlight this post!  
Unread 29-04-2014, 12:42
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: RoboRio

Quote:
Originally Posted by krieck View Post
For the Java alpha testers, can you tell us what version of Java will be used (6, 7 or 8)?

Also, I'd read somewhere that the roboRIO will use "Java SE Embedded". Can anyone comment on the difference between Embedded Java and the Java SE desktop SDK?
We were running Alpha Testing Using JavaSE Embedded, based off of JavaSE 7 (Not sure what Update version at the moment)

I would imagine that WPI would like to stick with Java 7 for 2015 because that is what will be the most tested by that time. However, sticking with 7 is not written in stone, and if they are comfortable enough, they can upgrade to JavaSE Embedded 8.

As for the Differences between JavaSE and JavaSE Embedded. Don't think of it this way because it will be hard to convince yourself you need JavaSEEmbedded. Instead think of it like this: JavaSE Embedded, is the upgrade of Java ME CLDC.

Java SE Embedded derives from JDK, but provides specific features and support for the embedded market on a limited set of supported platforms. The embedded-specific features and support include additional platforms, small footprint JREs (optional files removed), headless configurations, and memory optimizations.


The reality is Java ME CDC and CLDC technology is Oracle's legacy technology that addresses embedded devices that had more than 1MB RAM and 10MB ROM. "Java SE Embedded is a new generation Java Embedded Platform that addresses devices that have [a little more] resources, but also allows them to access the latest APIs and functionality as is present in JavaSE. Truthfully, Java ME and Java SE Embedded address different segments of the embedded market. The Java ME CLDC and CDC offerings are designed for resource-limited devices including cell phones, handsets and media players. The APIs of CLDC and CDC are more limited than Java SE but enable these ME offerings to support devices with small footprints. Java SE Embedded provides the rich functionality of Java SE and is targeted at higher-end embedded devices - generally, those devices with at least 32MB RAM and 11MB - 20MB of ROM for a Linux/ARM platform." - From Oracle.

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
  #48   Spotlight this post!  
Unread 29-04-2014, 13:18
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,064
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: RoboRio

Quote:
Originally Posted by krieck View Post
For the Java alpha testers, can you tell us what version of Java will be used (6, 7 or 8)?

Also, I'd read somewhere that the roboRIO will use "Java SE Embedded". Can anyone comment on the difference between Embedded Java and the Java SE desktop SDK?
From what Omar (CTRE) was telling me at CMP it will be full blown Java 8. This was a shock to me, everything I'd heard was Java 7 up until that point.
__________________




.
  #49   Spotlight this post!  
Unread 29-04-2014, 13:51
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: RoboRio

Quote:
Originally Posted by Andrew Schreiber View Post
From what Omar (CTRE) was telling me at CMP it will be full blown Java 8. This was a shock to me, everything I'd heard was Java 7 up until that point.
This should not be a shock, and should not be a fear. As I mentioned in my previous post:

Quote:
Originally Posted by NotInControl View Post
...However, sticking with 7 is not written in stone, and if they are comfortable enough, they can upgrade to JavaSE Embedded 8....
Java SE 8 Embedded was released sometime in March 2014. As Alpha testers we were using JavaSE 7 with latest patch because that was the latest technology available when we started alpha testing (Nov 2013).

Alpha testing was just that, Alpha. If FIRST/NI/WPI chooses to move to 8, we still have 7-8 Months of development time with SE 8. Ultimately it doesn't matter if it is 7 or 8.

There is no huge shift between Java SE Embedded 7 and Java SE Embedded 8 that is cause for concern, so no need for panic. And as an end user just writing code for the target, you don't really gain or loose much with either 7 or 8.

Any upgrade from 7 to 8 will not affect us as the end user for FRC applications.

Regards,
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 : 29-04-2014 at 13:53.
  #50   Spotlight this post!  
Unread 29-04-2014, 14:06
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,064
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: RoboRio

Quote:
Originally Posted by NotInControl View Post
This should not be a shock, and should not be a fear. As I mentioned in my previous post:
I wasn't really scared by it. More excited. After years of being many years (if not decades) behind the times it seems we are finally moving to modern languages where students can learn similar practices on their bots as they would their desktop apps.

Now, if only we could get Ruby to run on these things... (I jest, my day job is ruby and I do a ton of development in it, at this point I think in it and have to translate to other languages)
__________________




.
  #51   Spotlight this post!  
Unread 29-04-2014, 17:38
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: RoboRio

I am so glad for the upgrade to a modern version of Java (whether it be 7 or 8), because of the many times I have tried to use any of Java's cool features and been unable to (ex. enumerations, generics).

I hope FIRST will still provide support for Netbeans, because I favor it over Eclipse, but the change really isn't that big a deal (its still the same code).
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
  #52   Spotlight this post!  
Unread 29-04-2014, 20:07
jagen31 jagen31 is offline
Parameterized Type
AKA: Jared Gentner
FRC #0020 (Rocketeers)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Clifton Park, NY
Posts: 9
jagen31 is an unknown quantity at this point
Re: RoboRio

Quote:
Originally Posted by Andrew Schreiber View Post
From what Omar (CTRE) was telling me at CMP it will be full blown Java 8. This was a shock to me, everything I'd heard was Java 7 up until that point.
Yeah I attended a presentation at championships, and the panel there said it was shipping with Java SE 8 in the fall season.

Lambda Expressions anyone?

Also, CAN integration is pretty awesome (even the talons have it now.) Hopefully the roboRIO handles collisions better because when we tried CAN bus, the cRIO would die with a timeout exception (of course that could have been a wiring issue, I suppose.)

Another important thing they mentioned was that the terminating resistor is in the Power Distribution Panel, meaning you have to (well, you don't HAVE to, but its the easiest solution) daisy-chain all the breakout boards between the roboRIO and the PDP.

At least, this is what I've heard. I'm sorry if this is already common knowledge, I just thought it was important.

Also, netbeans support is not being dropped, says Brad Miller.

Last edited by jagen31 : 29-04-2014 at 20:08. Reason: Added note
  #53   Spotlight this post!  
Unread 29-04-2014, 20:26
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: RoboRio

Quote:
Originally Posted by jagen31 View Post
Also, netbeans support is not being dropped, says Brad Miller.
That's good. I'm glad to hear that I can still use my favorite IDE.

Will the Talons really have support for CAN next year?

The current hardware doesn't support it AFAIK so will they release a new version? We were considering buying Talons to replace our Jaguars, but since I knew CAN would be easier to implement on the robotRIO end next year, I wanted to try it. I was reluctant to buy Talons because they don't currently have CAN support, but if they will next year then its a win-win for me (smaller size + more reliability + fancy sensor feedback). Do you know if the Talons will support all the potentiometer and encoder feedback the Jaguar does?

Quote:
Originally Posted by jagen31 View Post
At least, this is what I've heard. I'm sorry if this is already common knowledge, I just thought it was important.
Your post was not common knowledge (at least for me) and you made me even more excited about next year.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
  #54   Spotlight this post!  
Unread 29-04-2014, 20:51
jagen31 jagen31 is offline
Parameterized Type
AKA: Jared Gentner
FRC #0020 (Rocketeers)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Clifton Park, NY
Posts: 9
jagen31 is an unknown quantity at this point
Re: RoboRio

Talons will definitely have CAN support. A cross the road electronics employee was there speaking for it.

Because it is CAN I would assume there is a way of getting info from the Talon but I'm not sure.

I do know that the voltage of each PWM output can be retrieved, if that's any help.

Last edited by jagen31 : 29-04-2014 at 20:52. Reason: Added two words
  #55   Spotlight this post!  
Unread 29-04-2014, 21:32
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,067
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: RoboRio

Quote:
Originally Posted by Andrew Schreiber View Post
Now, if only we could get Ruby to run on these things... (I jest, my day job is ruby and I do a ton of development in it, at this point I think in it and have to translate to other languages)
There's no reason you couldn't run ruby on the cRio, if we can get python working on it I'm sure ruby would work too. I imagine it should be pretty straightforward, especially for the RoboRio.
__________________
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
  #56   Spotlight this post!  
Unread 29-04-2014, 21:44
jagen31 jagen31 is offline
Parameterized Type
AKA: Jared Gentner
FRC #0020 (Rocketeers)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Clifton Park, NY
Posts: 9
jagen31 is an unknown quantity at this point
Re: RoboRio

The roboRIO, certainly, as it runs linux... But I think that the cRIO running VxWorks might be more troublesome... I haven't seen a port of ruby to run on VxWorks.

If you do get ruby working, don't build a climbing bot because Ruby can't scale.
  #57   Spotlight this post!  
Unread 29-04-2014, 21:47
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,067
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: RoboRio

Quote:
Originally Posted by jagen31 View Post
The roboRIO, certainly, as it runs linux... But I think that the cRIO running VxWorks might be more troublesome... I haven't seen a port of ruby to run on VxWorks.
And nobody had built a python port for vxWorks until we did it either. It's vaguely POSIX ish, so it would be troublesome, but doable. Probably not worth the effort at this point since it won't be used anymore -- but totally doable. And the SWIG wrappers used by the Lua version of WPILib could be a good starting point too.

Quote:
If you do get ruby working, don't build a climbing bot because Ruby can't scale.
Nice.
__________________
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
  #58   Spotlight this post!  
Unread 29-04-2014, 21:53
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,099
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: RoboRio

Since the RoboRio runs arm linux, and they finally recently got Hard Float Mono working, I really want to try and see if running robot code with C# would actually be possible. It would be fun.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
  #59   Spotlight this post!  
Unread 30-04-2014, 02:21
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: RoboRio

Quote:
Originally Posted by Andrew Schreiber View Post
Yes. The C++ one is also changing from everything I've heard.

I'm sad about Java but welcome the C++ change. Windriver was... well it was special.
C++ and Java using Eclipse was pitched in the sessions upstairs. I did not hear anything about NetBeans. Wind River Workbench is also Eclipse-based though heavily customized. If only our Wind River licenses had included the memory, profile and stethoscope analysis tools...
__________________
Fast, cheap or working - pick any two!
  #60   Spotlight this post!  
Unread 30-04-2014, 02:23
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: RoboRio

Quote:
Originally Posted by jagen31 View Post
The roboRIO, certainly, as it runs linux...
The NI guys emphasized over and over again it was REALLY LINUX (their emphasis). I don't know why on earth you would do such a thing but Ruby should be possible.
__________________
Fast, cheap or working - pick any two!
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 12:54.

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