Go to Post Please teams I implore you obey the no saving seats rule. Or at least be very friendly in inviting people to sit with you. - IndySam [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-2014, 19:25
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
Robot doesn't drive when code is deployed.

We are 1st time programmers and have no mentors that know how to program. We were able to format the cRIO and upload the default code to the robot. The only changes we made were that we changed to mechanum wheels, and we switched the jaguars to talons. We received this error message. I don't not really know a lot about labview, but I have been reading beginners guides, and watching tutorials. If it is not a easy problem to explain just pm me and I would be happy to talk through skype or email.


Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station
<time>1/23/2014 7:04:14 PM<unique#>9
FRC: Driver Station ping status has changed.
Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station
<time>1/23/2014 7:03:36 PM<unique#>8
FRC: Driver Station ping status has changed.
Watchdog Expiration: System 5, User 1
ERROR <Code> -44009 occurred at Driver Station
<time>1/23/2014 7:02:03 PM<unique#>7
FRC: A joystick was disconnected while the robot was enabled.
Watchdog Expiration: System 4, User 1
ERROR <Code> -44009 occurred at Driver Station
<time>1/23/2014 7:01:50 PM<unique#>6
FRC: A joystick was disconnected while the robot was enabled.
Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station
<time>1/23/2014 7:00:18 PM<unique#>5
FRC: Driver Station ping status has changed.
Watchdog Expiration: System 3, User 1
WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 1574.395 <radioSeenEvents>
FRC: Robot radio detection times.
WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 1572.132
Warning <Code> 44001 occurred at Modified Network Configuration: Set
FRC: Time since robot boot.

Driver Station
<time>1/23/2014 6:59:56 PM<unique#>4
Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad Driver Station
<time>1/23/2014 6:59:55 PM<unique#>3
FRC: Driver Station ping status has changed.
Warning <Code> 44004 occurred at Driver Station
<time>1/23/2014 6:59:53 PM<unique#>2
FRC: The Driver Station has lost communication with the robot.
Warning <Code> 44006 occurred at Driver Station
<time>1/23/2014 6:59:52 PM<unique#>1
FRC: Custom I/O is not enabled or is not connected to the driver station.
  #2   Spotlight this post!  
Unread 23-01-2014, 19:27
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Robot doesn't drive when code is deployed.

Those messages probably mean that something in your code is causing it to crash or hang. Or, you possibly don't have any communications with the robot at all. What does your Driver Station look like? Which lights are green and which are red? (Check the Diagnostics tab too.)
  #3   Spotlight this post!  
Unread 23-01-2014, 19:35
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
Re: Robot doesn't drive when code is deployed.

All of them were green in both the diagnostics and in the operations tab. I figured the default code would allow is to drive somewhat to make sure it is all working. I can say that we were directly connected to the robot and not using the router. Any suggestions on what is going wrong? In the upper part of the drive station we can see that it is reading our joystick and our buttons, but we are not getting any response from the robot its self.
  #4   Spotlight this post!  
Unread 23-01-2014, 20:03
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Robot doesn't drive when code is deployed.

Those messages tell you that over about four minutes, you launched the DS without a Cypress I/O board. You connected to a robot that was booted about 25 minutes prior. You enabled the robot and presumably because it wouldn't drive, you disconnected joysticks a few times.

My suspicion is that the code was running fine but you have an electrical issue. What do the motor controller LEDs show, what do the LEDs on the digital breakout look like?

Greg McKaskle
  #5   Spotlight this post!  
Unread 23-01-2014, 22:32
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
Re: Robot doesn't drive when code is deployed.

Our talons flash yellow the whole time and everything else flashes green.
  #6   Spotlight this post!  
Unread 23-01-2014, 22:34
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Robot doesn't drive when code is deployed.

Quote:
Originally Posted by swaglord2000 View Post
Our talons flash yellow the whole time and everything else flashes green.
PWM cables plugged in???

Power to digital sidecar plugged in??

If it's not too hard, please post a picture of your wiring.
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #7   Spotlight this post!  
Unread 23-01-2014, 22:52
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
Re: Robot doesn't drive when code is deployed.

I will be able to post pictures tomorrow. I appreciate the help and I hope we can figure this out! Thanks again. Team 4073
  #8   Spotlight this post!  
Unread 23-01-2014, 23:19
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Robot doesn't drive when code is deployed.

Quote:
Originally Posted by swaglord2000 View Post
I will be able to post pictures tomorrow. I appreciate the help and I hope we can figure this out! Thanks again. Team 4073
Make sure to take many different angles and up close pics
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #9   Spotlight this post!  
Unread 24-01-2014, 00:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Robot doesn't drive when code is deployed.

Quote:
Originally Posted by swaglord2000 View Post
Our talons flash yellow the whole time and everything else flashes green.
Flashing green? Nothing should be flashing green except the little RSL repeater light by the connector for the big RSL.

If the three power LEDs on the Digital Sidecar are not all brightly lit, the problem is probably simple and trivially fixed: you don't have battery voltage going from the Power Distribution Board to the Digital Sidecar's power input.
  #10   Spotlight this post!  
Unread 24-01-2014, 06:44
Pratik Kunapuli's Avatar
Pratik Kunapuli Pratik Kunapuli is offline
Probably browning-out on Astro-Turf
FRC #1648 (G3 Robotics)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Atlanta, GA
Posts: 143
Pratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to all
Re: Robot doesn't drive when code is deployed.

Something that our team ran into during the offseason was that code would appear to deploy fine but not run if the actual source file isn't in the correct folder that is being deployed or the "main project". I'm not sure if this is the entire solution to your problem, so yoyo should still check all of the electrical wiring etc. Could you copy and paste the code so we can look at it?
__________________
Official Driving Record: 101-59-0
2012-2015 Student 341 Miss Daisy
2015-Current Mentor 1648 G3 Robotics
  #11   Spotlight this post!  
Unread 24-01-2014, 17:57
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
Re: Robot doesn't drive when code is deployed.

Some updates. We tried reversing all of our pwm's and that didnt help I needed to correct that only the talon's flash orange and the other green lights are constant. I will also include some pictures in this post. *The pictures were too big to post so I put them in a album that you can view in this link.

http://imgur.com/a/e9Wy1
  #12   Spotlight this post!  
Unread 24-01-2014, 22:03
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: Robot doesn't drive when code is deployed.

Our team is having the same issue - we have not figured it out yet - the only difference is that we do not get anything in the DS in response to moving the joysticks.
  #13   Spotlight this post!  
Unread 24-01-2014, 22:09
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: Robot doesn't drive when code is deployed.

best bet would be to take pictures of your wiring and post your code either here or link on github(or similar)
  #14   Spotlight this post!  
Unread 24-01-2014, 22:38
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
Re: Robot doesn't drive when code is deployed.

We actually found our issue! The modules on the cRIO were opposite what they needed to be so when we put them in the right order we were able to get a response.
  #15   Spotlight this post!  
Unread 24-01-2014, 22:49
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Robot doesn't drive when code is deployed.

Quote:
Originally Posted by swaglord2000 View Post
We actually found our issue! The modules on the cRIO were opposite what they needed to be so when we put them in the right order we were able to get a response.
Great!!
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
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 10:03.

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