Go to Post If you want to prove your worth, prove it by creation, not destruction. - DanL [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: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 29-01-2015, 15:27
Cornell2012 Cornell2012 is offline
Registered User
FRC #0291
 
Join Date: Jan 2015
Location: Erie, PA
Posts: 1
Cornell2012 is an unknown quantity at this point
Using the cRio in 2015 and beyond

Hi everyone,

I was hoping someone would be able to point me to a resource explaining how we will be able to continue using (as in programming) the cRio for prototyping or summer projects now that we have moved to the RR.

Our cRio is imaged for C++ but we no longer have access to Windriver. We would like to be able to use the now-depreciated cRio but don't really know how. I was really hoping that FIRST would officially support the cRio with Eclipse plugins, but that does not seem to be the case.

What I'm looking for is a step-by-step guide on how I can put new working code on the cRio using the current tools. (Or at least a way that doesn't require the Windriver software.)

A brief list of things that I think I will need to know but currently do not.
-Necessary software/plugins/toolchains (currently have C/C++ capabilities for RR)
-Project settings for cRio
-Build settings for cRio
-What to do with the compiled code

Thanks everyone!
  #2   Spotlight this post!  
Unread 29-01-2015, 15:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using the cRio in 2015 and beyond

LabVIEW for FRC 2015 is supported on the 4-slot cRIO.

LabVIEW for FRC 2014 can be used indefinitely to program the 8-slot cRIO.

Work is underway to support the cRIO for other languages, but it's not an official FIRST project.
  #3   Spotlight this post!  
Unread 29-01-2015, 15:44
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,102
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: Using the cRio in 2015 and beyond

There is a GCC 4.8 toolchain that you can use to compile cRio code on Linux, using the frcmake/cmake tools.

I've created a Vagrant VM definition that you can use to install the correct toolchain in a Linux VM at https://github.com/virtuald/frc-gcc-vm
__________________
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
  #4   Spotlight this post!  
Unread 29-01-2015, 16:07
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Using the cRio in 2015 and beyond

Quote:
Originally Posted by Cornell2012 View Post
Hi everyone,

I was hoping someone would be able to point me to a resource explaining how we will be able to continue using (as in programming) the cRio for prototyping or summer projects now that we have moved to the RR.

Our cRio is imaged for C++ but we no longer have access to Windriver. We would like to be able to use the now-depreciated cRio but don't really know how. I was really hoping that FIRST would officially support the cRio with Eclipse plugins, but that does not seem to be the case.

What I'm looking for is a step-by-step guide on how I can put new working code on the cRio using the current tools. (Or at least a way that doesn't require the Windriver software.)

A brief list of things that I think I will need to know but currently do not.
-Necessary software/plugins/toolchains (currently have C/C++ capabilities for RR)
-Project settings for cRio
-Build settings for cRio
-What to do with the compiled code

Thanks everyone!
We have also been waiting for this.

I recall it being mentioned a few times during the Beta test presentations that there would be a path for backward compatibility to the cRIO but it has not come to pass.

Moving to LabView for teams that have been doing C++ is not really a viable option. Re-writing all your existing code for an old robot is a lot of work for very little return. And not everyone has easy access to a Linux platform to play with. Hoping this will be answered soon... although at this point I think it is unlikely until after the build season.
__________________
  #5   Spotlight this post!  
Unread 29-01-2015, 16:28
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,102
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: Using the cRio in 2015 and beyond

Quote:
Originally Posted by MamaSpoldi View Post
And not everyone has easy access to a Linux platform to play with. Hoping this will be answered soon... although at this point I think it is unlikely until after the build season.
The VM that I mentioned above works well on OSX and Windows.
__________________
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 30-01-2015, 11:06
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Using the cRio in 2015 and beyond

Jeff Downs from Team 1511 has created a plugin for eclipse that will build C++ cRIO programs. He's going to be releasing that soon. At the same time, Greg McKaskle from NI is adding support to the 2015 driver station to allow you to select the 2014 robot protocol. We're hoping to get the eclipse project out soon, especially considering the imminent expiration of the WindRiver licenses and the Driver Station changes will follow. Until the new DS comes out, you can use the 2014 tools on a separate computer. We're also working on a procedure to get both the 2014 and 2015 DS installed on the same computer as a temporary measure.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #7   Spotlight this post!  
Unread 30-01-2015, 12:22
viggy96 viggy96 is offline
Registered User
FRC #3331
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2010
Location: Charlotte
Posts: 59
viggy96 is infamous around these partsviggy96 is infamous around these parts
Lightbulb Re: Using the cRio in 2015 and beyond

You should use the imaging tool and re-image the cRIO for Java, then use NetBeans, which is free, and the plugins are still available. This way, you will still be able put your cRIO to good use.
  #8   Spotlight this post!  
Unread 03-02-2015, 23:32
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Using the cRio in 2015 and beyond

I just posted about our plug-in for Eclipse for C++ development for cRIO here:

http://www.chiefdelphi.com/forums/sh....php?p=1438037

Hopefully this will be of help to the OP.
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 02:15.

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