Go to Post BTW don't trust game hint threads started by Greg Needel. - rtfgnow [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 23-01-2013, 19:09
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Can't get info from Joysticks

I have a rather strange problem similar to this: http://www.chiefdelphi.com/forums/sh...d.php?t=103097

So far I have tried getX() and getRawAxis(), and they all return 0, even when I'm using the joystick. I have tried two gamepads and one Joystick, which has worked previously, but currently am unable to get any input in the code. I have been updating all of our software, and I imaged our new cRIO to the latest one. I have been testing this alongside some SmartDashboard code (which seems to work fine). The strange thing is that the driver station seems to identify my controllers just fine, and it flashes blue whenever I press a button. Maybe its something I need to configure in driver station, or the Netbeans project? Has anyone else been having trouble getting input from the joysticks? I will try a few more things on our next robotics meeting, but I'd appreciate any thoughts you guys have on this. Thanks!
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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