View Single Post
  #15   Spotlight this post!  
Unread 18-01-2012, 20:46
touchdownjesus4's Avatar
touchdownjesus4 touchdownjesus4 is offline
Registered User
AKA: Tyler Vonderhaar
FRC #4028 (Eagle Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cincinnati, OH
Posts: 64
touchdownjesus4 is on a distinguished road
Quote:
Originally Posted by Robby Unruh View Post
Take a look at the GearsBot Robot sample provided. (New Project -> Samples -> FRC Java -> GearsBot)

Interestingly enough, it's actually the same code from the video.

Just make sure you comment out this line in CommandBase.java:
Code:
Subsystem.registerDefaultCommands();

- offtopic edit -
I see you're from Cinci. Looking forward to competing with you guys at Queen City this year.
I think we actually might be traveling to purdue for our regional competition. The queen city regional is on easter weekend and we are a christian school so that wouldn't go so well.

And I did look at the gearsbot code and I wasn't sure if we need to set it up the same way because we aren't coding it to go a certain distance. Would I still set up the drivetrain as a PID subsystem?

I think I all I need to do is add a subsystem, command, and modify both the OI and the RobotMap and I should be good. I'll try it out later and see what I come up with.
__________________
2012 Boilermaker Regional Champions (With 1756 & 1501)
Team Captain, Programmer, Lead Driver

Last edited by touchdownjesus4 : 18-01-2012 at 20:50.
Reply With Quote