Go to Post that....was more far-fetched than the tennis ball I threw for my dog earlier today... - TeknicllyInsane [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 29-01-2014, 17:47
LonelyMan9779 LonelyMan9779 is offline
Registered User
FRC #3570
 
Join Date: Feb 2013
Location: Alma, MI
Posts: 2
LonelyMan9779 is an unknown quantity at this point
Problems with code deployment.

I am having a very frustrating problem. The cRIO that I am trying to deploy code to is not initializing or receiving the code properly. When we deploy the code it says that it deploys flawlessly, but when we attempt to run motors with this code, it does not function properly. The code is error less. We think that we might know what the problem is, but we are not sure. Our cRIO's status light is not flashing yellow, which an elder member of our team says it should be. We also think that we might have to update our driver station, would this be a feasible error? Can somebody please direct me to a tutorial so that i can verify all steps of deployment. It would also be helpful if you know what the problem is.
  #2   Spotlight this post!  
Unread 29-01-2014, 17:52
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Problems with code deployment.

Can you check NetConsole output?
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
  #3   Spotlight this post!  
Unread 29-01-2014, 17:54
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Problems with code deployment.

Have you installed all of this year's software and updates? Did you reimage the cRIO after you installed the Utilities update?
__________________
I'm right 90% of the time, so why worry about the other 3%?
  #4   Spotlight this post!  
Unread 29-01-2014, 18:26
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: Problems with code deployment.

did you modify the robot main vi? If you deleted the loop that the tele-op code runs in then your code will run once then stop...
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #5   Spotlight this post!  
Unread 29-01-2014, 18:44
jmartin jmartin is offline
Registered User
AKA: Joseph Martin
FRC #0172 (Northernforce)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Gorham
Posts: 30
jmartin is on a distinguished road
Re: Problems with code deployment.

Also, how are your motor controllers connected? If you're using CAN cables, did you enable the correct plugin when imaging the cRIO?
  #6   Spotlight this post!  
Unread 30-01-2014, 09:13
E Dawg E Dawg is offline
... is not done with FRC yet.
AKA: Ethan
FRC #0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Fort Collins, CO
Posts: 267
E Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud ofE Dawg has much to be proud of
Re: Problems with code deployment.

What language is your team using?
  #7   Spotlight this post!  
Unread 30-01-2014, 12:51
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,113
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: Problems with code deployment.

If the Robot Signal Light is not working, you very likely have a wiring problem. Make sure your Digital Sidecar is getting battery voltage on its power input connector. If the DS is not correctly powered, the PWM outputs will not work consistently.
  #8   Spotlight this post!  
Unread 30-01-2014, 13:34
markgryzwa markgryzwa is offline
Registered User
FRC #3206 (Royal-T-Wrecks)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MN
Posts: 30
markgryzwa is on a distinguished road
Re: Problems with code deployment.

If you are using Labview build a copy of the un-edited default robot code that comes along with the FIRST update. If that deploys and runs you've got something in your code that is causing trouble. I mostly see loops that crush the watchdog leading to timeouts that are hard to diagnose on the driver's station.

This year we had a lot of trouble with our compressor loop making it look like the robot was not responding to inputs. Once we got that coded correctly we were golden. Hard one to find if you aren't sure what to look for.

Good luck.
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:37.

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