
17-01-2012, 21:47
|
 |
Registered User
AKA: Tyler Vonderhaar
 FRC #4028 (Eagle Robotics)
Team Role: Programmer
|
|
Join Date: Jan 2012
Rookie Year: 2012
Location: Cincinnati, OH
Posts: 64
|
|
|
Re: Simple Tankdrive with 4 CIMs
Quote:
Originally Posted by Derschatten
1) is this code even going to do anything? I am going to say yes. seem like no errors.
2) when you create the joystick objects and put (1) and (2) for ports, how does the computer know that joysticks are connected? You can see the Joystick and what port they are connected to by looking at the driverstation.
Same for the motors, is just putting 1,2,3,4 for the 4 motors going to work?Yes, this will work. These will be the PWM of the digtal side card. I would suggest doing this tho Jaguar LeftFront = new Jaguar(1); ...
3) I think our team is planning on using the command based template when we code for the full robot, how do I implement this type of thing using the subsystem, command base, OI, and all of the different java files that go along with it? I would watch the videos i linked.
|
Thanks! So to deploy this to the robot I would connect the computer to the cRIO and then hit the "run" button? Will operator control be enabled automatically?
Last edited by touchdownjesus4 : 17-01-2012 at 21:52.
|