|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: Can't get info from Joysticks
Here's some extra info about my problem. Here's the output from driver station:
Code:
WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 0.000 <radioSeenEvents> WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 3.435 WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 290.037 <radioSeenEvents> WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 292.570 Modified Network Configuration: Set I/O unit not detected or not installed correctly. Code:
package edu.wpi.first.wpilibj.robottest1;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.SimpleRobot;
public class RobotTest1 extends SimpleRobot
{
public void autonomous()
{
Joystick joy = new Joystick(1);
while(isAutonomous() && !isDisabled())
{
System.out.println(joy.getX());
}
}
}
Here's the differences I identify from last year: - Netbeans FRC plugin updates - Driver station update - SmartDashboard update - USB-splitter plugged in, but I have tried both the splitter and a direct USB connection - New, imaged cRIO 2013 - Installed FRC Utilities and Labview package 2013 One thing I just noticed is that I believe I haven't installed an even newer driver station update from 01-05-2013. (But that may have been included in the Labview DVD install... But I'll download it anyway). I will post back later when I get more info. Please share your thoughts, thanks. EDIT: Ahh wait... could it be because I'm doing this in autonomous mode? Are the controller connections blocked in autonomous? I'm going to feel really stupid if that's all it was xD Last edited by AutoBotAM : 24-01-2013 at 15:46. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|