View Single Post
  #2   Spotlight this post!  
Unread 18-01-2013, 11:57
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Talon Programming

Quote:
Originally Posted by SBrosious View Post
Unfortunately, we (Programmers) were asked to program the new Talons, we are new to java so we have no clue what we should manually program into our robot to work. Its been giving us issues so if you could teach me how to create a tank drive program. id be SUPER thankful
It's no different than using Victors or PWM Jaguars in code, just a different keyword.

Code:
      

        Talon frontLeftMotor = new Talon(1);
        Talon rearLeftMotor = new Talon(2);
        Talon frontRightMotor = new Talon(3);
        Talon rearRightMotor = new Talon(4);

        drive = new RobotDrive(frontLeftMotor, rearLeftMotor,
                frontRightMotor, rearRightMotor);
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote