Go to Post Here on CD, we are all one big FIRST team, mentoring each other. - Joe G. [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-02-2016, 21:25
Phred7's Avatar
Phred7 Phred7 is offline
Team President
AKA: Walker Ward
FRC #2906 (Sentinel Prime)
Team Role: Electrical
 
Join Date: Oct 2014
Rookie Year: 2009
Location: Spanaway, WA
Posts: 21
Phred7 is an unknown quantity at this point
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~
__________________
Spanaway Lake High School
-FTC 5328 (14-18)
-FRC 2906 (15-18)
-2015-17 Team President
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2016, 21:39
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Using joystick x-value for subsystem in java

Quote:
Originally Posted by Phred7 View Post
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.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 28-02-2016, 15:30
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Using joystick x-value for subsystem in java

Are we supposed to simply guess at how you went about doing this?
Reply With Quote
  #4   Spotlight this post!  
Unread 28-02-2016, 15:30
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Using joystick x-value for subsystem in java

Quote:
Originally Posted by billbo911 View Post
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.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
Reply


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 10:23.

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