Go to Post Kids don't just decide they want to build robots then build the next Einstein champion the next year. - kjolana1124 [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 23-01-2016, 11:06
Jutley Jutley is offline
Registered User
FRC #4377
 
Join Date: Jan 2016
Location: Boyne City
Posts: 3
Jutley is an unknown quantity at this point
Post Code: Green, Joystick: Green, Communication Green, but robot is not responding.

PROBLEM SOLVED:
When I open up driver station and launch code, everything is green, as stated above. However when I try to use the joystick to run it, there is no response on the robot's side. My mentor and I currently have an USB-A plugged into the RoboRIO and into our Laptops, and have the JAVA code running. We can't determine if it is mechanical issues or code, or simply just a general issue. Any and all advice and suggestions are welcomed, and I will keep this post updated.

Last edited by Jutley : 23-01-2016 at 11:30. Reason: Solved Issue
  #2   Spotlight this post!  
Unread 23-01-2016, 11:13
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 544
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Code: Green, Joystick: Green, Communication Green, but robot is not responding.

Based on what you've said it could be literally anything.

To check if it is code side, put some debug messages when you are writing values to motors to make sure that your motors are being sent valid signals once per program cycle.

To check if it is electronic side, check the status lights on the victor. If it is soid orange, than it is plugged in properly but not receiving code. If it is blinking orange than it is not plugged in to the RIO. If there are none than it isnt plugged into the PDP.

If the lights are blinking red or green, trace the flow of electricity from the motor controller to the motor it controls. If it is all good and the CIM still isn't moving, theres a very very small possibility that the CIM might be bad (if it is really hot than that is a good indicator) but I'd second guess yourself in tracing the wiring.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #3   Spotlight this post!  
Unread 23-01-2016, 11:22
Jutley Jutley is offline
Registered User
FRC #4377
 
Join Date: Jan 2016
Location: Boyne City
Posts: 3
Jutley is an unknown quantity at this point
Re: Code: Green, Joystick: Green, Communication Green, but robot is not responding.

Quote:
Originally Posted by Arhowk View Post
Based on what you've said it could be literally anything.

To check if it is code side, put some debug messages when you are writing values to motors to make sure that your motors are being sent valid signals once per program cycle.

To check if it is electronic side, check the status lights on the victor. If it is soid orange, than it is plugged in properly but not receiving code. If it is blinking orange than it is not plugged in to the RIO. If there are none than it isnt plugged into the PDP.

If the lights are blinking red or green, trace the flow of electricity from the motor controller to the motor it controls. If it is all good and the CIM still isn't moving, theres a very very small possibility that the CIM might be bad (if it is really hot than that is a good indicator) but I'd second guess yourself in tracing the wiring.
Okay, thank you for the quick reply. I believe that when we run systems, that the Talons are blinking orange in unison to the Brad. I've checked to see if they where wired correctly, they should be. Could PWMs be an issue in this case?
  #4   Spotlight this post!  
Unread 23-01-2016, 11:29
Jutley Jutley is offline
Registered User
FRC #4377
 
Join Date: Jan 2016
Location: Boyne City
Posts: 3
Jutley is an unknown quantity at this point
Re: Code: Green, Joystick: Green, Communication Green, but robot is not responding.

PROBLEM SOLVED
Turns out one of my younger programmers put all the PWMs in the DIO ports and vise versa. They are switched and working now. Thanks for your post, It made me and my mentor look over the wire work again and noticed it.
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 03:11.

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