Quote:
Originally Posted by Mr.Roboto3335
Are you saying I should put controller = new Joystick(2); ?
|
What he's saying is that the roboRIO uses something called 0-indexed IO This means that the joystick (and all other IO identifiers) numbers go 0, 1, 2, 3. For the first, second, third and fourth ports respecivly
Your code:
Code:
controller = new Joystick(1);
sets up joystick in port 1, which is actually the SECOND port.
To solve this you can either
a) change the code to
Code:
controller = new Joystick(0);
b) change the driverstation so that the joystick goes into the SECOND port.
I recomend the first.
Onto your main problem.
When connected via ethernet, could you post the output of "ipconfig"
Are you getting No Robot Code, Comunications, or is it just not doing anything when you enable?