Go to Post This is going to be leet. Or something like that. I can't wait. - Billfred [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 06-06-2014, 16:34
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 392
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Question Best way to learn more Java for FRC?

I have just been decided as my team's programming leader, and I know enough Java to be leader because I was a member last year. However, although I know a lot of FRC code, I don't know how to do some of the more complicated stuff, like gyros and PID's. Is there an online or book resource that would help me learn more Java for FRC?
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #2   Spotlight this post!  
Unread 11-06-2014, 17:30
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Best way to learn more Java for FRC?

I'm also learning more Java (LabVIEW is my team's main language, but I've recently decided to pick up more Java for FRC just to have it) and I find WPI's resources the easiest to follow http://wpilib.screenstepslive.com/s/3120
Reply With Quote
  #3   Spotlight this post!  
Unread 11-06-2014, 19:20
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Best way to learn more Java for FRC?

Check out these threads:

http://www.chiefdelphi.com/forums/sh...ght=learn+java
http://www.chiefdelphi.com/forums/sh...ght=learn+java
http://www.chiefdelphi.com/forums/sh...ght=learn+java

The WPILib ScreenSteps Live site linked above is a great resource. Many teams also publish their code on websites like GitHub, BitBucket, or Google Code, and you can learn a lot by reading through it.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
  #4   Spotlight this post!  
Unread 26-06-2014, 19:38
MatthewC529 MatthewC529 is offline
Lcom/mattc/halp;
AKA: Matthew
FRC #1554 (Oceanside Sailors)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2013
Location: New York
Posts: 39
MatthewC529 is on a distinguished road
Re: Best way to learn more Java for FRC?

The best way to pick up FRC Specific Java Code is now harder to say since a lot of the stuff discussed previously will be outdated as of the 2015 Season. Thats a good thing, since it will become a lot easier to implement complex algorithms next season.

I would work mostly on your general Java knowledge. Get to know your Enum's, Autoboxing, awesome Java utilities like Arrays and Collections, NIO classes, Interfaces and so on. Read source code other teams have released which USUALLY tends to follow good practice. There are plenty of awesome java tutorials out there as well if you feel you need to get some instruction in. Thenewboston offers some great beginner tutorials though I cant speak for his Intermediate tutorials.

All the WPILib documents linked to in a previous post are EXTREMELY useful in getting the general gist of how WPILib works and what to expect. To get to know the more low-level classes and functions you will need to experiment because unfortunately REAL FRC Tutorials are scarce and generally only describe how to implement the features to get you started like Solenoids, PWM's and so on.

I may make a quick series of FRC Tutorials but I think it will be massively beneficial to get used to the Java SE 7 API and maybe some additional Java 8 features, though you can thoroughly complete your robot on Java 7 alone.
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 13:31.

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