View Full Version : New to Java
chsrobotics3283
10-01-2011, 20:15
This is our second year competing with FIRST Robotics. Last year we used LabView and this year we decided to change somethings up by using Java. I have some questions:
1. Is there a manual I can look at for programming in Java for this competition?
2. How do you deploy Java code to the cRIO (perhaps some kinda manual hence question number 1 can help me out here)?
Thank you so much!! :)
This is our second year competing with FIRST Robotics. Last year we used LabView and this year we decided to change somethings up by using Java. I have some questions:
1. Is there a manual I can look at for programming in Java for this competition?
2. How do you deploy Java code to the cRIO (perhaps some kinda manual hence question number 1 can help me out here)?
Thank you so much!! :)
I'll make you a video tutorial :)
Do you have a robot with a basic drive train to load the code onto?
chsrobotics3283
10-01-2011, 20:40
Yes Sir! We will use the robot from last year. :D
Thank you so much!!
Yes Sir! We will use the robot from last year. :D
Thank you so much!!
I'm assuming it's a pretty basic drivetrain but we'll make it do some fancy stuff.
chsrobotics3283
10-01-2011, 20:44
Yes it is a basic drive train. And that would be great!
chsrobotics3283
10-01-2011, 20:44
Yes it is a basic drive train. And that would be great!
do you have anyone on the team who has programmed in java before?
if not that's okay, I'll give a brief overview when walking you through the code.
you'll need to sign up for a drop box account, then i'll add you so you can download the code for getting started, I'll be posting the video to screencast.com too.
You'll have to excuse the quality, it was made in my basement at midnight, I figured you would be more concerned with the content :)
Robby Unruh
11-01-2011, 11:02
There are also some great sample codes provided by other FRC teams on the internet.
RobotBrains.org (maintained mentor of a New York FRC/FTC team) has some excellent presentations in both Java/C++/Specialty(?) you can look at, public!
Here's his Java page: http://www.robotbrains.org/xwiki/bin/view/Main/FIRSTFRCProgrammingJava
Robby Unruh
11-01-2011, 11:05
There are also some great example codes provided by other FRC teams out there on the internet.
Off the top of my head, RobotBrains.org. They have some excellent tutorials.
Linkie: http://www.robotbrains.org/xwiki/bin/view/Main/FIRSTFRCProgrammingJava
Hope this helps.
chsrobotics3283
11-01-2011, 19:11
I am done making my account with Screencast. My screename is Vignesh56 using the email vigneshowns@gmail.com
sent you the invite to the drop box. you should get it shortly
chsrobotics3283
11-01-2011, 21:12
Wow. This is great stuff sir. Thank you from Team 3283! :)
Robby Unruh
11-01-2011, 21:23
Mind if I get a an invite?
robbyunruh/robby@team3266.org
Mind if I get a an invite?
robbyunruh/robby@team3266.org
it's been sent, you should get it shortly
Derek012
19-01-2011, 19:11
Also if you need a reference to a stray method or class check out http://www.wbrobotics.com/javadoc/overview-summary.html :)
Also, both sets of FRC plug-ins (NetBeans and Eclipse) should come with examples in addition to the ones mentioned previously - and some of the plug-ins come with help content on launching projects and such. Though I may be a little late mentioning this as it seems CD has already given you lots to get started with :)
inkspell4
24-01-2011, 08:11
on the site eaRIER MENTIONED IT USES IMPORT FILES WHERE MIGHT THESE BE FOUND?
Can you post the link so we can watch the screen cast?
Also, I have written soem geting started stuff (Netbeans + java):
on: http://team2648.com/
Here is our resources page:
http://team2648.com/resources
Here is how to get started with netbeans:
http://team2648.com/resources/java/netbeans
Hope this helps.
Ruckus2109
20-02-2011, 15:02
Hey wouuld you mind sending me the code aswell? I am from team 2895
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.