Go to Post Students leave and new students come. But mentors are forever. - fredliu168 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-05-2014, 22:16
CodeMonkey01 CodeMonkey01 is offline
Registered User
FRC #3939 (RoboKnights)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2008
Location: Virginia
Posts: 7
CodeMonkey01 is an unknown quantity at this point
Programing cRIO (java) without FRC packages

Hello, Since the new robotRIO is coming out for the 2015 season, our team now has two cRIO 4 slot controllers that are no longer good for competition. Being about $1000.00 in parts, we are hoping that we can put them to use through some demo robots.

Our question is, is it posible to write, upload, and execute code on the cRIO II without needing the FRC driverstation, or any of the FRC software? Or, how can the FRC software and libraries be set to allow for the user of the cRIO II without the FRC driverstation?

I have found a link that details how to do this in C/C++, but our target language would be Java, since our programming team consists of Java programmers. Thanks for the help, and here is the link. http://www.ni.com/example/31462/en/
Reply With Quote
  #2   Spotlight this post!  
Unread 18-05-2014, 22:23
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Programing cRIO (java) without FRC packages

You can't use the FRC cRIO images without the FRC libraries or Driver Station. You'll have to use the cRIO with National Instruments images. This is a lot more involved than the FRC programming process.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #3   Spotlight this post!  
Unread 18-05-2014, 22:51
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: Programing cRIO (java) without FRC packages

Why not continue to use the FRC libraries and the Driver Station software? Last I heard, the cRio and associated software is going to continue to be supported for at least a few years so teams can keep old robots alive or use it for practice robots/non-competition projects.
__________________
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
Reply With Quote
  #4   Spotlight this post!  
Unread 19-05-2014, 14:41
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: Programing cRIO (java) without FRC packages

Once the FRC cRIO becomes a legacy system, it may be possible to get the NI people to release their source code for the core systems, and then modify that.
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook
Reply With Quote
  #5   Spotlight this post!  
Unread 20-05-2014, 11:58
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Programing cRIO (java) without FRC packages

I know nothing about the libraries, but it is quite easy to write your own driverstation, see these links:

http://www.chiefdelphi.com/forums/sh...=iphone+driver

http://www.chiefdelphi.com/forums/sh...d.php?t=129073
__________________
"If all else fails, read the instructions."
Reply With Quote
  #6   Spotlight this post!  
Unread 29-05-2014, 10:42
CodeMonkey01 CodeMonkey01 is offline
Registered User
FRC #3939 (RoboKnights)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2008
Location: Virginia
Posts: 7
CodeMonkey01 is an unknown quantity at this point
Re: Programing cRIO (java) without FRC packages

Quote:
Originally Posted by Jon Stratis View Post
Why not continue to use the FRC libraries and the Driver Station software? Last I heard, the cRio and associated software is going to continue to be supported for at least a few years so teams can keep old robots alive or use it for practice robots/non-competition projects.
Well, We are hoping to use the cRIO without the FRC driver station. The hope is for something that can be setup so the robot starts running on boot, and takes control inputs from the digital I/O card.
Reply With Quote
  #7   Spotlight this post!  
Unread 29-05-2014, 11:43
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,946
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Programing cRIO (java) without FRC packages

Buried in the FRC firmware is logic that receives the enable flag from the DS & expects constant coms from the DS. First doesn't publish source code for the firmware for reason. So either you need to run non FRC firmware on the cRio, not a realistic possibility for most teams. (mine included.) Or put a something that mimics a driver station on the robot. Conceivably something like a PI with a hacked DS that is constantly enabled. Obviously you would keep safety in mind when doing this.
Reply With Quote
  #8   Spotlight this post!  
Unread 29-05-2014, 11:58
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: Programing cRIO (java) without FRC packages

Perhaps the better solution would be to keep the cRio's around for practice/demo bot where you want to be able to control it - in other words, where you'll need the driver station anyways. If you have one or two robots you want to run without a driver station, it would probably be easier, quicker, and cheaper to use an alternative control system, like an Arduino with a RobotOpen shield.
__________________
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
Reply With Quote
Reply


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 00:45.

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