OCCRA
Go to Post The discussion and helpfulness that goes on within this website is a great example of gracious professionalism. - andy.vangessel [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-30-2017, 09:07 AM
Jaci's Avatar
Jaci Jaci is offline
http://imjac.in/ta/name
AKA: Jaci R Brunning
FRC #5333 (Can't C#) #5663 (Ground Control) | (OpenRIO, FRC West Aus)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 449
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
GradleRIO: Faster, Smarter, Beta



GradleRIO is a build system for FRC. It can build and deploy to the RoboRIO in C++, Java, and other languages like Kotlin. It automatically allows you to use WPI, CTRE and NavX libraries, while downloading and version managing them all for you. If you want to use a specific version, you can even override it.

You can use IDEs like Eclipse, IntelliJ IDEA, Clion and Visual Studio with GradleRIO. You can even use a text editor like Sublime, VS Code, or Notepad++ since all the building and deploying is done on the command line. You can even install the C++ toolchain from the command line.

GradleRIO also supports RIOLog, SmartDashboard, Shuffleboard (2018 beta), and the Java Installer all from the command line.

In the most recent releases, GradleRIO got a massive speed increase, remaining under 5 seconds for most projects (you can even deploy both Java and C++ in the same project). All deployed files are cached for optimum speed.

GradleRIO also got a whole lot smarter. With all the backend deploy logic being moved to EmbeddedTools, you can even deploy to coprocessors like the Raspberry Pi.

GradleRIO will also work with the 2018 beta. In 2018, the Java Installer is no longer required, as GradleRIO will automatically deploy the new Zulu JRE. WPILib's Shuffleboard was also introduced, as a replacement for SmartDashboard. There's still some more things to do for the 2018 full release (CTRE have restricted their library to 2018 beta participants only, and the NavX is not yet updated, hence these are not included yet. These are both restrictions placed by the vendors. CTRE libraries can still be linked manually if you have access to the beta, see the github for details)

You can access GradleRIO for 2017 here, and for the 2018 beta here.
__________________
Jacinta R

Curtin FRC (5333+5663) : Senior Mentor
OpenRIO : Owner

Website | Github
jaci.brunning@gmail.com

Last edited by Jaci : 10-30-2017 at 09:12 AM.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-30-2017, 09:37 AM
JesseK's Avatar
JesseK JesseK is online now
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 4,029
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: GradleRIO: Faster, Smarter, Beta

While we won't dive into this for another couple of weeks, my first impression is that the documentation and embedded comments are among the best I've seen for technical libraries. Thank you so much for your hard work on GradleRIO!
__________________

Drive Coach, 1885 (2007-present)
Latest Project: Codex-based FRC Comms in Java

2017: Scoring Model | COPR Rank Simulator
1885: YouTube Channel | CAD Library | GitHub
Reply With Quote
  #3   Spotlight this post!  
Unread 10-30-2017, 10:18 AM
pchild's Avatar
pchild pchild is offline
(◕‿◕✿)
AKA: Preston
FRC #0401 (Copperhead Robotics)
Team Role: Coach
 
Join Date: Jun 2016
Rookie Year: 2004
Location: Blacksburg, VA
Posts: 44
pchild has much to be proud ofpchild has much to be proud ofpchild has much to be proud ofpchild has much to be proud ofpchild has much to be proud ofpchild has much to be proud ofpchild has much to be proud ofpchild has much to be proud of
Re: GradleRIO: Faster, Smarter, Beta

Our head programmer started playing with the new GradleRIO yesterday and was super excited about it. We had been using IntelliJ's External Tools feature to deploy to our coprocessor before, having GradleRIO support will definitely be a lot nicer.

Thanks for the beta support, we found the beta files on the WPI maven repo but weren't sure how to make them play nice with GradleRIO.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-30-2017, 02:11 PM
JHutch's Avatar
JHutch JHutch is offline
Registered User
FRC #2767 (Stryke Force)
Team Role: Mentor
 
Join Date: Nov 2016
Rookie Year: 2017
Location: Kalamazoo
Posts: 4
JHutch is an unknown quantity at this point
Re: GradleRIO: Faster, Smarter, Beta

Just upgraded our https://github.com/strykeforce/thirdcoast/ swerve drive build to GradleRIO 2017.10.30. Works like a champ and I think the deploy is faster too. Congrats on a great update, and many thanks for this contribution to the FRC community!
Reply With Quote
  #5   Spotlight this post!  
Unread 10-30-2017, 04:26 PM
Dracco1993's Avatar
Dracco1993 Dracco1993 is offline
Software Development Manager
AKA: Jordan Miller
FRC #1741 (Red Alert Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Greenwood, IN
Posts: 17
Dracco1993 is an unknown quantity at this point
Re: GradleRIO: Faster, Smarter, Beta

Great work!
__________________
Jordan Miller
___________________________________________
FRC 1741 : Mentor (website | GitHub)
TBA : Contributor (website | GitHub)


GitHub | LinkedIn
Reply With Quote
  #6   Spotlight this post!  
Unread 10-30-2017, 04:37 PM
Andrew_L's Avatar
Andrew_L Andrew_L is offline
GA w/ a voice made for silent films
AKA: Entitled volunteer - do not hire
FRC #1323 (Madtown Robotics) #299 (Valkyrie Robotics)
Team Role: Mentor
 
Join Date: Sep 2016
Rookie Year: 2011
Location: San Jose
Posts: 338
Andrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond reputeAndrew_L has a reputation beyond repute
Re: GradleRIO: Faster, Smarter, Beta

Jaci's projects are the reason offseason CD is worth viewing. Great work as always!
Reply With Quote
  #7   Spotlight this post!  
Unread 10-30-2017, 04:53 PM
JonKiddy JonKiddy is offline
Programming Mentor (Java/C++)
FRC #4930 (Electric Mayhem)
Team Role: Mentor
 
Join Date: Jul 2014
Rookie Year: 2013
Location: Buffalo, NY
Posts: 13
JonKiddy is an unknown quantity at this point
Re: GradleRIO: Faster, Smarter, Beta

This looks fantastic! Thank you.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-30-2017, 06:10 PM
noah.gleason's Avatar
noah.gleason noah.gleason is online now
Registered User
FRC #0449 (The Blair Robot Project)
Team Role: Programmer
 
Join Date: Mar 2017
Rookie Year: 2016
Location: Bethesda, MD
Posts: 71
noah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond reputenoah.gleason has a reputation beyond repute
Re: GradleRIO: Faster, Smarter, Beta

Awesome update, deploy is incredibly fast now!
Reply With Quote
  #9   Spotlight this post!  
Unread 10-30-2017, 09:02 PM
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2010
Location: MA
Posts: 216
SamCarlberg has much to be proud ofSamCarlberg has much to be proud ofSamCarlberg has much to be proud ofSamCarlberg has much to be proud ofSamCarlberg has much to be proud ofSamCarlberg has much to be proud ofSamCarlberg has much to be proud ofSamCarlberg has much to be proud of
Re: GradleRIO: Faster, Smarter, Beta

Code:
println "NOTE: SmartDashboard is old! Use Shuffleboard instead! Run ./gradlew shuffleboard."
Nice.
__________________
WPILib developer
GRIP, RobotBuilder, Shuffleboard
Reply With Quote
  #10   Spotlight this post!  
Unread 10-31-2017, 09:17 AM
jakeyoung22's Avatar
jakeyoung22 jakeyoung22 is offline
Registered User
AKA: Jake Young
FRC #1319 (Flash)
Team Role: Driver
 
Join Date: Apr 2015
Rookie Year: 2012
Location: United States
Posts: 16
jakeyoung22 will become famous soon enough
Re: GradleRIO: Faster, Smarter, Beta

Can't wait to get started. Thanks!
Reply With Quote
  #11   Spotlight this post!  
Unread 11-04-2017, 02:01 PM
SoProTheyGoWoah SoProTheyGoWoah is offline
Registered User
AKA: Gagan Bhat
FRC #2220
Team Role: Programmer
 
Join Date: Mar 2017
Rookie Year: 2016
Location: Minnesota
Posts: 1
SoProTheyGoWoah is an unknown quantity at this point
Re: GradleRIO: Faster, Smarter, Beta

Were you able to get shuffleboard running? It fails to work for me, unfortunately.
SmartDashboard on the other hand downloads and starts up.
Reply With Quote
  #12   Spotlight this post!  
Unread 11-04-2017, 11:43 PM
Jaci's Avatar
Jaci Jaci is offline
http://imjac.in/ta/name
AKA: Jaci R Brunning
FRC #5333 (Can't C#) #5663 (Ground Control) | (OpenRIO, FRC West Aus)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 449
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: GradleRIO: Faster, Smarter, Beta

Quote:
Originally Posted by SoProTheyGoWoah View Post
Were you able to get shuffleboard running? It fails to work for me, unfortunately.
SmartDashboard on the other hand downloads and starts up.
Shuffleboard appears to be working just fine. If you're getting an error, please post the issue on the GradleRIO repository. Shuffleboard might take a little longer to download / start up on some systems since it is quite large.
__________________
Jacinta R

Curtin FRC (5333+5663) : Senior Mentor
OpenRIO : Owner

Website | Github
jaci.brunning@gmail.com
Reply With Quote
  #13   Spotlight this post!  
Unread 11-13-2017, 07:17 PM
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 57
couvillion is an unknown quantity at this point
Re: GradleRIO: Faster, Smarter, Beta

Would it be possible to support the thunder (CRIO) compile on this? even better would it be possible to support both at the same time?
Reply With Quote
  #14   Spotlight this post!  
Unread 11-13-2017, 10:56 PM
Jaci's Avatar
Jaci Jaci is offline
http://imjac.in/ta/name
AKA: Jaci R Brunning
FRC #5333 (Can't C#) #5663 (Ground Control) | (OpenRIO, FRC West Aus)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 449
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: GradleRIO: Faster, Smarter, Beta

Quote:
Originally Posted by couvillion View Post
Would it be possible to support the thunder (CRIO) compile on this? even better would it be possible to support both at the same time?
The cRIO is horribly outdated, and doesn't run an actual linux installation. Given the windriver compiler is extremely hard to obtain (let alone use), we're not supporting it just due to how outdated the hardware is.
__________________
Jacinta R

Curtin FRC (5333+5663) : Senior Mentor
OpenRIO : Owner

Website | Github
jaci.brunning@gmail.com
Reply With Quote
  #15   Spotlight this post!  
Unread 11-14-2017, 11:51 AM
JefferMC JefferMC is offline
Registered User
AKA: Jeff Corbett
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2005
Location: United States
Posts: 119
JefferMC has a spectacular aura aboutJefferMC has a spectacular aura about
Re: GradleRIO: Faster, Smarter, Beta

Quote:
Originally Posted by Jaci View Post
The cRIO is horribly outdated, and doesn't run an actual linux installation. Given the windriver compiler is extremely hard to obtain (let alone use), we're not supporting it just due to how outdated the hardware is.
I understand your thinking and direction completely, but I was hoping it would be otherwise. We have several old cRIOs that we'd love to put to use for demo-mobiles and training platforms and would love to use modern development tools. I had forgotten that the cRIO ran WindRiver's custom RTOS, VxWorks, instead of more generic Linux (like the RoboRIO)
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 10:54 PM.

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