Programming in Netbeans

We are a new team and we’ve been trying to learn how to program our robot so it can at least move…
Several of us have experience in other languages, however we’re still a bit lost on how to set it up with the joysticks. We are using Netbeans, here is what we have so far just from watching Youtube.


    public class Test extends IterativeRobot {
    Joystick driveStick = new Joystick(1);
    Joystick liftStick =  new Joystick(2);
    RobotDrive mainDrive = new RobotDrive(1, 2, 3, 4);
    public void robotInit() {
    }
    public void autonomousPeriodic() {
    }
    public void teleopPeriodic() {
        mainDrive.tankDrive(ROBOT_TASK_PRIORITY, ROBOT_TASK_PRIORITY);
    }
    public void testPeriodic() {    
    }
    
}

We want to get the robot to drive in Arcade mode with a single joystick, and use another single joystick for our lift system.

Does anyone have a good sample code that we can follow and be able to figure some stuff out?

Thanks,

Eclipse is the supported IDE this year, not Netbeans.

http://wpilib.screenstepslive.com/s/4485/m/13809

I would start out by following the instructions here: http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2015/Installing_Eclipse_C_Java_for_FRC_2015.pdf to install eclipse because Netbeans is no longer officially supported by FIRST.