Go to Post Because you know what they say, the new year doesn't begin until Dean, Dave, and Woodie drop the big one. - Jay Trzaskos [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2014, 18:23
Lemon's Avatar
Lemon Lemon is offline
Builder of Robots
AKA: Andrey (Gooby)
FRC #2383 (Ninjineers)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Ft.Lauderdale, FL
Posts: 25
Lemon is an unknown quantity at this point
Problems with Sending Joystick values

Hello all. So after finishing our prototype, we decided to test the parts with our code (We program in Labview by the way). When the robot is powered on and is connected to the driver station everything is fine, as it should be. When we enable the robot, all the victors that are called upon in the code instantly go from flashing orange to a solid orange enabled status as they should. However whenever we attempt to push any buttons to trigger the victors to send power, they do not respond. We have checked and swapped out every major part on the electrical board that would send signals to the victors (CRIO modules, Data cables, Sidecar, PWM cable) with no change. However the code and wiring does successfully run the compressor to the set psi without issue. We have checked the code to see if we maybe misspelled a reference name or forgot to call upon a joystick but it all seems to be correct. We have also tried re-imaging and re-deploying the code onto the CRIO, without change. At this point, it almost seems like everything is running as it should be (Since the victors show an enabled state upon enabling) except the joysticks we are using are not sending values to the code. However the dashboard shows the joysticks as connected and correctly visually shows/replicates any buttons pressed or values in the axis. Honestly we are kind of at a loss at this point. About a week prior we had tested different code that was basically the same (minus a couple functions we didn't have installed yet) and the robot functioned perfectly fine. But as soon as we deployed new edited code this whole issue began. To us it appears like some joystick communication issue but anyone's opinions or ideas would be greatly appreciated.
  #2   Spotlight this post!  
Unread 06-02-2014, 18:36
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Problems with Sending Joystick values

Two recommendations
  1. Open the FRC Driver Station Log Viewer (or look at the driver station diagnostics tab) to see if there are any error messages that can point to an issue
  2. Post your relevant teleop/begin code
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
  #3   Spotlight this post!  
Unread 06-02-2014, 19:59
Lemon's Avatar
Lemon Lemon is offline
Builder of Robots
AKA: Andrey (Gooby)
FRC #2383 (Ninjineers)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Ft.Lauderdale, FL
Posts: 25
Lemon is an unknown quantity at this point
Re: Problems with Sending Joystick values

Okay. Actually just as I was about to post the code, we realized the problem. We were running the control loop for the compressor in the begin.vi, and that loop didn't permit the program to advance into teleop properly. We took that out of the begin.vi and now everything is working fine.
Closed Thread


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 02:33.

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