Go to Post You can build bridges, or you can burn them. The choice is yours. - dlavery [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 13-12-2016, 16:25
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 97
Coach Seb is an unknown quantity at this point
Getting started with Java for FRC

Hello everyone !

We are a second year team with very limited programming experience.

Our FTC team switched to Java this fall and it was a very successful move. We are planning on doing the same with our FRC team since we are building the skills and want to keep up with it.

Setup up Android Studio was ok, but not easy. We were fortunate enough ot find some good documentation and people to help wiht the FTC SDK and gettitng everything setup properly.

Is there such a thing for FRC? I would like to find somewhat of a check list to make sure that everything on laptop is setup properly... eclipse, jave sre and other....

If you know of good site or documentaiton, please post.

Thanks in advance
Reply With Quote
  #2   Spotlight this post!  
Unread 13-12-2016, 16:28
Ty Tremblay's Avatar
Ty Tremblay Ty Tremblay is offline
Robotics Engineer
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Alton NH
Posts: 815
Ty Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond reputeTy Tremblay has a reputation beyond repute
Re: Getting started with Java for FRC

Here's the official documentation from WPILib:

https://wpilib.screenstepslive.com/s/4485
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 13-12-2016, 17:09
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 63
phurley67 is an unknown quantity at this point
Re: Getting started with Java for FRC

And after you are setup, checkout https://wpilib.screenstepslive.com/s/4485/m/26402 It will walk you through using robotbuilder and get you started, with well structured code.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-12-2016, 19:21
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 298
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Getting started with Java for FRC

Here's the full javadoc (API reference) for wpilib: http://first.wpi.edu/FRC/roborio/release/docs/java/
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #5   Spotlight this post!  
Unread 19-12-2016, 22:21
BenBernard BenBernard is offline
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 39
BenBernard is an unknown quantity at this point
Re: Getting started with Java for FRC

Our team switched from Eclipse to IntelliJ last season, and I personally would never want to go back.

I put together a "getting started" page for our new programmers, with links to all the tools we use and pretty detailed instructions. It comes with no warranties, but you are welcome to use it. Our github site also includes our Recycle Rush and Stronghold code as well as some off-season projects.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-12-2016, 09:57
Jayd009's Avatar
Jayd009 Jayd009 is online now
Registered User
AKA: Jonathan
FRC #4468 (Fernbank LINKS)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Atlanta, Georgia
Posts: 27
Jayd009 is on a distinguished road
Re: Getting started with Java for FRC

I did a presentation this Fall on the basics of FRC Java Programming. You can view the recording, powerpoint file, and all of the example code at http://www.fernbanklinks.com/first-c...ction-to-java/. My team also stored our robot code from last year at https://github.com/FernbankLINKSRobotics/GRITS16.
__________________
2016: District Event Winner @ Columbus District Qualifier (PCH)
2016: Engineering Inspiration Award @ Peachtree District State Championship
2016: Tesla Subdivision Playoffs Appearance @ FIRST Championship


Reply With Quote
  #7   Spotlight this post!  
Unread 20-12-2016, 10:34
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 97
Coach Seb is an unknown quantity at this point
Re: Getting started with Java for FRC

Can Robotbuilder still be used with IntelliJ?

What are the main advantages of InteliJ vs Eclipse?

I am almost starting from scratch here.. very little java experience, but i am relying on Robotbuilder and the WPI documentation to get started... can IntelliJ support that?
Reply With Quote
  #8   Spotlight this post!  
Unread 20-12-2016, 11:29
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 63
phurley67 is an unknown quantity at this point
Re: Getting started with Java for FRC

Quote:
Originally Posted by Coach Seb View Post
Can Robotbuilder still be used with IntelliJ?
RobotBuilder is a completely separate program. You can create a shortcut, run it from the command line, etc. You just have to install WPILib and you have it. It is not linked to Eclipse, the WPILib plugin for Eclipse, includes a handy shortcut for RobotBuilder. Using IntelliJ you can do the same.

Quote:
Originally Posted by Coach Seb View Post
What are the main advantages of InteliJ vs Eclipse?
This is a more personal question. If you are happy with Eclipse, I would not bother. Personally IntelliJ has better VIM bindings (I am an old guy with old finger memory), and a nice presentation mode for displaying code on a projector; however, both are pretty impressive.

Quote:
Originally Posted by Coach Seb View Post
very little java experience, but i am relying on Robotbuilder and the WPI documentation to get started... can IntelliJ support that?
Given that, if I were you I would use Eclipse this year, if over the summer you want to play with IntelliJ, make sure it works for you etc. Go for it, but why add one more moving part when you are still trying to find your footing?
Reply With Quote
  #9   Spotlight this post!  
Unread 20-12-2016, 12:22
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 97
Coach Seb is an unknown quantity at this point
Re: Getting started with Java for FRC

thank you ! ill stay with eclipse to eliminate any confusion this year...
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 09:40.

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