Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Programming in Netbeans (http://www.chiefdelphi.com/forums/showthread.php?t=134349)

jdhsrobotics 11-02-2015 11:45

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.

Code:

    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,

Ben Wolsieffer 11-02-2015 11:46

Re: Programming in Netbeans
 
Eclipse is the supported IDE this year, not Netbeans.

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

AustinShalit 11-02-2015 11:47

Re: Programming in Netbeans
 
I would start out by following the instructions here: http://www.usfirst.org/sites/default...r_FRC_2015.pdf to install eclipse because Netbeans is no longer officially supported by FIRST.


All times are GMT -5. The time now is 20:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi