Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Using joystick x-value for subsystem in java (http://www.chiefdelphi.com/forums/showthread.php?t=144868)

Phred7 02-27-2016 09:25 PM

Using joystick x-value for subsystem in java
 
Hi, I am a member of the 2906 FRC team we are attempting to use the x-value of our second drivers joystick to control the up and down motion of our ball pickup. For some reason we cannot get this to work. The last time we attempted this our RoboRIO comm light blinked red, green and red again until we removed the code. We believe it was caused by an error that when something like this 'you may not have more than one drive train at any given time'. Anyway, we will be very pleased with any help you are willing to give.

Thank you in advance,
~Walker Ward
FRC Team 2906~

billbo911 02-27-2016 09:39 PM

Re: Using joystick x-value for subsystem in java
 
Quote:

Originally Posted by Phred7 (Post 1548171)
Hi, I am a member of the 2906 FRC team we are attempting to use the x-value of our second drivers joystick to control the up and down motion of our ball pickup. For some reason we cannot get this to work. The last time we attempted this our RoboRIO comm light blinked red, green and red again until we removed the code. We believe it was caused by an error that when something like this 'you may not have more than one drive train at any given time'. Anyway, we will be very pleased with any help you are willing to give.

Thank you in advance,
~Walker Ward
FRC Team 2906~

Please post your code so we can help figure out what's wrong.

Ozuru 02-28-2016 03:30 PM

Re: Using joystick x-value for subsystem in java
 
Are we supposed to simply guess at how you went about doing this?

GeeTwo 02-28-2016 03:30 PM

Re: Using joystick x-value for subsystem in java
 
Quote:

Originally Posted by billbo911 (Post 1548177)
Please post your code so we can help figure out what's wrong.

Agreed. As you already suspect that it may be interaction between systems, I'd suggesting posting (a link) to it all, not just the joystick sub-system.


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

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