|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: No Robot Code EVER -- Help Please
Quote:
Thank you! |
|
#2
|
|||||
|
|||||
|
Re: No Robot Code EVER -- Help Please
If you are using C++ or Java, then fire up Netconsole to see why the code is crashing.
If you are using LabVIEW then you should be doing: Build Run as startup Last edited by Mark McLeod : 11-02-2012 at 00:30. |
|
#3
|
|||
|
|||
|
Re: No Robot Code EVER -- Help Please
|
|
#4
|
|||||
|
|||||
|
Re: No Robot Code EVER -- Help Please
Try running in debug mode to see if something happens to the code as you watch it execute.
|
|
#5
|
|||||
|
|||||
|
Re: No Robot Code EVER -- Help Please
Quote:
Post in the C++ sub-forum next time and you'll get more help. Last edited by Mark McLeod : 11-02-2012 at 08:28. |
|
#6
|
|||
|
|||
|
Re: No Robot Code EVER -- Help Please
My guess is that the code is crashing very early in its execution. The Robot Code LED is based on getting data from the user framework code via the FRC_Communications.out file.
As others have said, you'll get more help from the C++ forums, but I'd try to use the debugging tools, even just placing print statements every five or ten lines to see how far you are getting will help. STOBbing is another technique many developers find helpful. It stands fore Sync To Old Builds. You use source code control to return to previous builds and determine if the problem existed there. Then you diff the changes you've made in a few at a time to identify the culprit. Personally I find it quicker and more exciting to debug, but both are ways to make progress. Greg McKaskle |
|
#7
|
|||
|
|||
|
Re: No Robot Code EVER -- Help Please
Make sure all of the DIP switches on the front of cRIO are in the correct orientation (one of them may have accidentally changed since the time when you last saw your robot working). In particular make sure that the "No App" switch is in the "off" position.
|
|
#8
|
||||
|
||||
|
Re: No Robot Code EVER -- Help Please
What you're supposed to do is:
1) Go to the project explorer in LabView 2) Expand the "Robot Specifications"(I believe) tab at the bottom of the list. 3) Right click one of the items on the list that'll show. Build, and Set/Run As Startup 4) First Build it. 5) Then Set is a start up. Done Deploying!! |
|
#9
|
||||
|
||||
|
Re: No Robot Code EVER -- Help Please
Did you make sure that you have the most recent updates. And that you imaged the cRio correctly??
|
|
#10
|
|||
|
|||
|
Re: No Robot Code EVER -- Help Please
Sorry everyone, I forgot to tell you guys that we are coding in C++, not LabView. So we are using WindRiver. And yes, we have the most recent updates and we reimaged the CRIO 2x correctly.
|
|
#11
|
|||
|
|||
|
Re: No Robot Code EVER -- Help Please
Also, I forgot to say that the robot was working before it started giving us "No Robot Code"
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|