Go to Post A wet noodle of a chassis won't matter how much drop you have. - Andrew Schreiber [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 10-01-2012, 22:39
l0stboy l0stboy is offline
Registered User
FRC #4064 (InZombiacs)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 22
l0stboy is an unknown quantity at this point
Exclamation 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?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2012, 23:03
Jeanne Boyarsky Jeanne Boyarsky is offline
Java Mentor
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 100
Jeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud of
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.
__________________
Team 694 mentor 2010-present, FIRST Volunteer and Co-organizer of FIRST World Maker Faire Tent
2012 NYC Woodie Flowers Finalist
2015 NYC Volunteer of the Year
Reply With Quote
  #3   Spotlight this post!  
Unread 11-01-2012, 03:20
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
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
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #4   Spotlight this post!  
Unread 11-01-2012, 22:24
Derschatten Derschatten is offline
Registered User
FRC #1203 (Pandemonium)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2003
Location: West Babylon
Posts: 31
Derschatten is an unknown quantity at this point
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-01-2012, 22:28
l0stboy l0stboy is offline
Registered User
FRC #4064 (InZombiacs)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 22
l0stboy is an unknown quantity at this point
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-01-2012, 23:01
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
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
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #7   Spotlight this post!  
Unread 13-01-2012, 17:13
l0stboy l0stboy is offline
Registered User
FRC #4064 (InZombiacs)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 22
l0stboy is an unknown quantity at this point
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 13-01-2012, 17:32
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
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
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #9   Spotlight this post!  
Unread 13-01-2012, 23:10
l0stboy l0stboy is offline
Registered User
FRC #4064 (InZombiacs)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 22
l0stboy is an unknown quantity at this point
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.
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 00: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