Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Help starting with Java and Netbeans. Complete beginner. (http://www.chiefdelphi.com/forums/showthread.php?t=99783)

l0stboy 10-01-2012 22:39

Help starting with Java and Netbeans. Complete beginner.
 
I've been taking AP Computer Science, so I mostly know my way around Java. I've also read this years Cookbook and Getting Started guide. However, I'm still unsure on how exactly to begin the programming process since it's my first year. My team is still drafting out ideas for our robot. Any pointers on how to get started building or learning about how to program by using the FRC plugin and NetBeans?

Jeanne Boyarsky 10-01-2012 23:03

Re: Help starting with Java and Netbeans. Complete beginner.
 
The Getting started guide has some screenshots of the plugin. It also contains some really simple code for extending SimpleRobot that you can use to get started. While it shoulds you how to deploy, it does assume you know how to use NetBeans a little (open fixes, save files, etc.) If it isn't obvious, there are lots of NetBeans tutorials online for that since it isn't FIRST specific.

BradAMiller 11-01-2012 03:20

Also look at the WPILib Cookbook in the documents section of the WPILib project on FIRSTForge.wpi.edu. And there are some sample programs to look at in Netbeans.

We're hoping to have some videos posted later today or tomorrow walking through the process of programming a robot in Java.

Brad

Derschatten 11-01-2012 22:24

Re: Help starting with Java and Netbeans. Complete beginner.
 
After reading the two doucments. I would suggest building a demo board. Hook up a Jag or victor, program a joy stick maybe a few sensors. Just have fun with it. This will give you a grasp of everything. Until you have a game plan.

l0stboy 12-01-2012 22:28

Re: Help starting with Java and Netbeans. Complete beginner.
 
So generally speaking, I just work one thing and make a class for each machine and then bring all the methods together in one class? I just have to cruise through the api that FIRST gives and tinker with it? My team still hasn't even even opened the cRIO.

BradAMiller 12-01-2012 23:01

Also check out the video tutorial for a demonstration of writing a full program with some autonomous and teleop code doing PID control, timed operations, and joystick programming. Parts 1, 2 and 6 are there now. 3, 4, and 5 are rendering and will go up first thing tomorrow morning.

www.youtube.com/user/bradamiller

Brad

l0stboy 13-01-2012 17:13

Re: Help starting with Java and Netbeans. Complete beginner.
 
Sweet. Looks great. I'll make sure to watch all of them. Everything helps. Mostly, what I've realized that my team needs help on is figuring out the hierarchy organization, which classes to use, and the general tips and tricks. We've been tinkering with how to make a subsystem and so forth, but we're pretty stumped on how it'll all come together.

BradAMiller 13-01-2012 17:32

If you're still having trouble after looking at the videos and cookbook, be sure to ask. The command-based model is designed to make that organization easy.

Brad

l0stboy 13-01-2012 23:10

Re: Help starting with Java and Netbeans. Complete beginner.
 
I was finally able to watch the videos. I must say that I know understand what the structure and logic behind the code. Great job! The videos were really clear and simple to follow :)

The only real question that I have now is how to find the PDI values.


All times are GMT -5. The time now is 22:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi