Go to Post We don't want "The Flame Heard 'Round the World"... - Andrew Blair [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 22-04-2016, 12:16
Mschmeh144's Avatar
Mschmeh144 Mschmeh144 is offline
Impatient maniac
AKA: Matthew
FRC #0144 (R.O.C.K)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Ohio
Posts: 88
Mschmeh144 is an unknown quantity at this point
Exclamation Non responsive joystick input

hey guys
we just encountered a problem with our 2016 stronghold robots main drive computer. the problem is that when we attempt to drive, one side of our tank dive robot responds to input (right side) and begins moving,but the other side does not. we swapped the inputs for the joystick and the same result happened but with the other side (left side). we swapped computers and the problem dissappeared. we know its not the robot code as it is the built code we used for competitions thats proven to work, and we tested both joysticks and they both respond correctly to input. so, what else could it be? any help would be appreciated so we can begin using our main drive computer again
Reply With Quote
  #2   Spotlight this post!  
Unread 22-04-2016, 12:47
scca229 scca229 is offline
FTA acquiring knowledge
AKA: Nate
FRC #0060
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2011
Location: South of Phoenix, Arizona
Posts: 212
scca229 has a spectacular aura aboutscca229 has a spectacular aura about
Re: Non responsive joystick input

Quote:
Originally Posted by Mschmeh144 View Post
we swapped the inputs for the joystick
Elaborate on what you actually swapped? Physical USB connectors into other USB ports? Swapping just those two connectors (Joystick 1 into what was Joystick 2 USB port and vice versa)? PWM cables on roboRIO? CAN IDs?

Quote:
Originally Posted by Mschmeh144 View Post
we tested both joysticks and they both respond correctly to input
How did you test the joysticks? On the original computer? On a different computer? Same USB ports or different?


My initial feeling is a USB port that might not be working right or loose causing a disconnect that you need to do a Rescan to recover from (USB tab in DS, Rescan button at the bottom). When you "swapped", did the problem stay with a certain USB port? If it is an intermittent disconnect, that joystick would turn white in the listing instead of the normal green (keep the USB tab open while trying to drive to see).
__________________
Nate

Last edited by scca229 : 22-04-2016 at 12:50.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-04-2016, 13:01
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,575
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: Non responsive joystick input

If by "main drive computer" you mean the RoboRIO, then it sounds like you had a bad connection, or possibly a bad PWM port on the RIO. If this is the case, try going back to the original RIO. If that does not work, move the "bad" connection to another PWM port and adjust the software accordingly.

If by "main drive computer" you mean the driver station, then I don't see how you would swap inputs for a single joystick. If you have dual joysticks, this would point to a bad port or connection on the joystick (not the port, as it moved when you switched). If this is the case, the most likely culprit is an intermittently loose connection within the joystick somewhere.
__________________

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
  #4   Spotlight this post!  
Unread 22-04-2016, 13:58
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,050
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Non responsive joystick input

Recommend validation of the joystick movement first.

One of the tabs on the driver station that shows joysticks will show each of the axes and buttons as you move it, so you can move it around and see if it responds. If it does, then your problem is elsewhere. You can do this without the robot too.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #5   Spotlight this post!  
Unread 22-04-2016, 15:06
Bob Steele's Avatar
Bob Steele Bob Steele is offline
Professional Steamacrit Hunter
AKA: Bob Steele
FRC #1983 (Skunk Works Robotics)
Team Role: Coach
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Seattle, Washington
Posts: 1,512
Bob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond reputeBob Steele has a reputation beyond repute
Re: Non responsive joystick input

My initial feeling is a USB port that might not be working right or loose causing a disconnect that you need to do a Rescan to recover from (USB tab in DS, Rescan button at the bottom). When you "swapped", did the problem stay with a certain USB port? If it is an intermittent disconnect, that joystick would turn white in the listing instead of the normal green (keep the USB tab open while trying to drive to see)


THIS....
__________________
Raisbeck Aviation High School TEAM 1983 - Seattle, Washington
Las Vegas 07 WINNER w/ 1425/254...Seattle 08 WINNER w/ 2046/949.. Oregon 09 WINNER w/1318/2635..SEA 10 RCA ..Spokane 12 WINNER w/2122/4082 and RCA...Central Wa 13 WINNER w/1425/753..Seattle 13 WINNER w/948/492 & RCA ..Spokane 13 WINNER w/2471/4125.. Spokane 14 - DCA --Auburn 14 - WINNER w/1318/4960..District CMP 14 WINNER w/1318/2907, District CMA.. CMP 14 Newton Finalist w 971/341/3147 ... Auburn Mountainview 15 WINNER w/1318/3049 - Mt Vernon 15 WINNER w/1318/4654 - Philomath 15 WINNER w/955/847 -District CMP 15 WINNER w/955/2930 & District CMA -CMP Newton -Industrial Design Award

Reply With Quote
  #6   Spotlight this post!  
Unread 22-04-2016, 21:42
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,575
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: Non responsive joystick input

As usual, it's hard to figure out where to go next when the OP doesn't track and feed back into the thread.
__________________

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
  #7   Spotlight this post!  
Unread 03-05-2016, 12:38
Mschmeh144's Avatar
Mschmeh144 Mschmeh144 is offline
Impatient maniac
AKA: Matthew
FRC #0144 (R.O.C.K)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Ohio
Posts: 88
Mschmeh144 is an unknown quantity at this point
Re: Non responsive joystick input

Quote:
Originally Posted by GeeTwo View Post
As usual, it's hard to figure out where to go next when the OP doesn't track and feed back into the thread.
I havent had access to a computer in a while,so sorry for not tracking the thread. by original drive computer i mean the physical laptop we drive with, its a lenovo t420, and by switching to another computer (same model, we have 30 of the lenovo t420's) we were able to get the joystick to respond and allow input. we also swapped the physical usb connections into a new usb plug and the laptop still wasnt picking up one of the two joysticks.
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 16:20.

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