Go to Post The toughest regional is always the one you are competing in! - AcesPease [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 19-03-2015, 10:09
Dave_4539 Dave_4539 is offline
Registered User
AKA: David
FRC #4539 (KAOTICRobotics)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Frazee MN
Posts: 25
Dave_4539 is an unknown quantity at this point
roboRIO issues

Last night we changed some stuff in our code. It worked fine then, but this morning when we booted up the driver station it shows that we have no robot code. I have tried re-imaging and updating firmware, we tried different codes, resetting the roboRIO. Is there some other update that we missed, or something we can do? Any help is appreciated.
  #2   Spotlight this post!  
Unread 19-03-2015, 10:28
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: roboRIO issues

You haven't given enough detail for a good guess as to what might be going on. There are a lot of obvious questions that need to be answered. For instance, what programming language do you use? How are you loading the code onto the roboRIO? What messages do you see when you do it?
  #3   Spotlight this post!  
Unread 19-03-2015, 10:48
Mr.Paulson's Avatar
Mr.Paulson Mr.Paulson is offline
Registered User
FRC #4539
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Minnesota
Posts: 43
Mr.Paulson has much to be proud ofMr.Paulson has much to be proud ofMr.Paulson has much to be proud ofMr.Paulson has much to be proud ofMr.Paulson has much to be proud ofMr.Paulson has much to be proud ofMr.Paulson has much to be proud ofMr.Paulson has much to be proud of
Re: roboRIO issues

Sorry for the lack of information. Here goes:
1. We are programming in LabView.
2. For our first competition in Week 1, we did not have pneumatics on our robot but have since added them to our practice bot. We took off the RoboRIO prior to bag to put onto our practice bot so we could do some testing, so it is the same part as we used for the competition.
3. After we added pneumatics, the program worked for us and we had no issues for the past two weeks.
4. Last night we wrote in pneumatics into our autonomous code and uploaded it this morning. The code built correctly and uploaded successfully.
5. We are able to connect wirelessly from our drivers station, but it says there is no robot code.
6. We tried to install our old codes (even back to just a tank drive code) and it builds and deploys but still the drivers station says there is no code.
7. We have not tried to drive tethered to the drivers station yet.
8. We did reinstall and update the RoboRIO and still have the same problems.
9 We install the code using the USB AB cable.

Please ask for more information if you need it. I am the lead mentor, but have nothing to do with the programming. That mentor is currently unavailable.

Thanks in advance for your help.
__________________
Team #4539
2015- Lake Superior Regional #1 Captain and Semifinalist (3276 & 4845)
Quality Award Sponsored by Motorola
1st Place Junkyard Robot
2015- 10,000 Lakes Regional #3 Captain and Quarterfinalist (1816 & 3081)
2014- Lake Superior Regional #4 Captain and Semifinalist (3755 & 3277)
1st Place Junkyard Robot
2013- FIRST Championship Newton Division Judges Award
Lake Superior Regional Finalists(3276 & 3277), Rookie All-Star Award, Highest Seeded Rookie Award, Most Creative Junkyard Robot Award
Team #3276
2012- Lake Superior Regional Quarterfinalist (3755 & 1816)
2011- 10,000 Lakes Regional Semifinalist (141 & 3082)
2010- 10,000 Lakes Regional Rookie Inspiration Award
  #4   Spotlight this post!  
Unread 19-03-2015, 11:03
Tungrus Tungrus is offline
Registered User
no team
 
Join Date: Mar 2013
Location: Somewhere
Posts: 368
Tungrus is just really niceTungrus is just really niceTungrus is just really niceTungrus is just really nice
Re: roboRIO issues

May be you already know about it, still, in the build specification you have to choose "...Start up..." (bit vague on verbiage, it set as startup or something) instead of deploy.

Do you see the roboRIO (COM)?
  #5   Spotlight this post!  
Unread 19-03-2015, 12:53
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: roboRIO issues

Quote:
Originally Posted by Tungrus View Post
May be you already know about it, still, in the build specification you have to choose "...Start up..." (bit vague on verbiage, it set as startup or something) instead of deploy.
Both of these are from the context menu for your rio target:
- First 'Build' the code.
- Second 'Run as Startup'
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #6   Spotlight this post!  
Unread 19-03-2015, 12:55
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: roboRIO issues

Quote:
Originally Posted by Mr.Paulson View Post
6. We tried to install our old codes (even back to just a tank drive code) and it builds and deploys but still the drivers station says there is no code.
When you say "deploy", what exactly are you choosing on the computer in order to do it? There are menu commands named Deploy, but none of them are what you should be using. In the same popup menu where you choose Build, you should be choosing Run As Startup in order to put the code on the robot.

Make sure you haven't turned on the "No App" option on the roboRIO after using the Imaging Tool.
  #7   Spotlight this post!  
Unread 19-03-2015, 13:08
BradFerg BradFerg is offline
Registered User
FRC #2705 (We Robot)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2009
Location: Minneapolis, MN
Posts: 7
BradFerg is an unknown quantity at this point
Re: roboRIO issues

Is your radio still encrypted from Week 1? You have to reset the network settings on the radio otherwise it will be setup to connect to the competition FMS.

Are you able to access the Web UI on the roboRIO (roboRIO-####.local where #### is your team number)?

Brad
  #8   Spotlight this post!  
Unread 19-03-2015, 14:59
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: roboRIO issues

I actually worked with a team at Pine Tree who had trouble like this. I'm not sure what exactly was wrong, but deploying from another computer solved the problem. Whenever code was sent from the main computer, the roboRIO would not acknowledge the code.
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #9   Spotlight this post!  
Unread 19-03-2015, 16:03
Arron1999's Avatar
Arron1999 Arron1999 is offline
It Should Work
AKA: Arron Erickson
FRC #4539 (KAOTIC Robotics)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2013
Location: Minnesota
Posts: 6
Arron1999 is an unknown quantity at this point
I am the student that found the problem. So I finished building the auto for the code we were currently using. To build and deploy the code this is what I did. I right clicked on FRC Robot Boot up Deployment, then I clicked on build. After the code built successful I then right clicked on FRC Robot Boot up Deployment and clicked deploy. The computer said that the code deployed successfully. I then power cycled the robot and when the driver station connected with the robot it said that there was no robot code. This is what we have done every time we built and deployed code and had zero problems.
  #10   Spotlight this post!  
Unread 19-03-2015, 16:06
Arron1999's Avatar
Arron1999 Arron1999 is offline
It Should Work
AKA: Arron Erickson
FRC #4539 (KAOTIC Robotics)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2013
Location: Minnesota
Posts: 6
Arron1999 is an unknown quantity at this point
We also have two programming computers. I tried to deploy code from both of them and nothing would work like it did in the past.

If there is another way to build or deploy code I would greatly appreciate it.
  #11   Spotlight this post!  
Unread 19-03-2015, 16:16
Tungrus Tungrus is offline
Registered User
no team
 
Join Date: Mar 2013
Location: Somewhere
Posts: 368
Tungrus is just really niceTungrus is just really niceTungrus is just really niceTungrus is just really nice
Re: roboRIO issues

If you have firewall and/or anti-virus software disable them and try.
  #12   Spotlight this post!  
Unread 19-03-2015, 16:38
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: roboRIO issues

Quote:
Originally Posted by Arron1999 View Post
I am the student that found the problem. So I finished building the auto for the code we were currently using. To build and deploy the code this is what I did. I right clicked on FRC Robot Boot up Deployment, then I clicked on build. After the code built successful I then right clicked on FRC Robot Boot up Deployment and clicked deploy. The computer said that the code deployed successfully. I then power cycled the robot and when the driver station connected with the robot it said that there was no robot code. This is what we have done every time we built and deployed code and had zero problems.
I'm pretty sure you're supposed to be using "Run As Startup"
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #13   Spotlight this post!  
Unread 19-03-2015, 16:59
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: roboRIO issues

Quote:
Originally Posted by Arron1999 View Post
I am the student that found the problem. So I finished building the auto for the code we were currently using. To build and deploy the code this is what I did. I right clicked on FRC Robot Boot up Deployment, then I clicked on build. After the code built successful I then right clicked on FRC Robot Boot up Deployment and clicked deploy. The computer said that the code deployed successfully. I then power cycled the robot and when the driver station connected with the robot it said that there was no robot code. This is what we have done every time we built and deployed code and had zero problems.
AFAIK you don't have to power cycle the robot every time you deploy on the roboRIO.
__________________
College sux yo
  #14   Spotlight this post!  
Unread 19-03-2015, 18:38
Geerthan Geerthan is offline
Registered User
no team
 
Join Date: Mar 2014
Rookie Year: 2010
Location: Canada
Posts: 2
Geerthan is an unknown quantity at this point
Re: roboRIO issues

Quote:
Originally Posted by Arron1999 View Post
I am the student that found the problem. So I finished building the auto for the code we were currently using. To build and deploy the code this is what I did. I right clicked on FRC Robot Boot up Deployment, then I clicked on build. After the code built successful I then right clicked on FRC Robot Boot up Deployment and clicked deploy. The computer said that the code deployed successfully. I then power cycled the robot and when the driver station connected with the robot it said that there was no robot code. This is what we have done every time we built and deployed code and had zero problems.
Your second step will not keep code on the robot after a power cycle. The alternate mode for downloading code, however, fixes this problem.

According to WPI,
Quote:
In the Project Explorer, click the + next to Build Specifications to expand it.
Right-click on FRC Robot Boot-up Deployment and select Build. Wait for the build to complete.
Right-click again on FRC Robot Boot-Up Deployment and select Run as Startup. If you receive a conflict dialog, click OK. This dialog simply indicates that there is currently a program on the roboRIO which will be terminated/replaced.
Either check the box to close the deployment window on successful completion or click the close button when the deployment completes.
The roboRIO will automatically start running the deployed code within a few seconds of the dialog closing.
This should keep code saved even after cycling power on the RoboRio. However, a detailed link can be found here and has fancy images. (under Deploying the Program)
  #15   Spotlight this post!  
Unread 19-03-2015, 19:36
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,752
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: roboRIO issues

Deploy does copy the built exe to the controller, but doesn't mark it as the startup app. This is useful for the user with more than one deployed app. I would prefer to hide it for FRC, but we haven't gotten to it yet.

Greg McKaskle
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 01:39.

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