|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hi, I am programming on C++ in WindRiver. Until a week ago everything worked fine and my code worked well, about a week ago i started getting the "No Robot Code" message on the Driver Station. I then started trying to find the problem, after about an hour it suddenly started working again. The strange thing is that i didn't change a thing... it was the exact code that didnt work before. The problem is that now I updated the workbench to 4.1 and since then keep getting the "No Robot Code" problem. I even tried downloading the original SimpleRobot template untouched but still, "No Robot Code". There are no errors undeploying or downloading code, and yet the code doesn't run.
I will be thankful for every advice. Asaf. |
|
#2
|
|||
|
|||
|
Re: "No Robot Code" problem
This might be a problem with the system resetting itself. After updatung did you change the prefrences to download the correct ".out" file?
Look at another post by me in "code doesn't load" solution. its a video link that should be used with the FRCprogramming guide if what I said above is your problem.(I think it is because you said you switched code) |
|
#3
|
|||
|
|||
|
Re: "No Robot Code" problem
A number of people had an issue with 4.1. When using the DriverStationLCD class, the code would not load and an error about a symbol would be displayed on the serial console.
If the above is the case, then 4.2 fixes the DriverStationLCD issues, but are now having a similar issue if using the AxisCamera class. When removing this class now, our code works. If you are using net console or can connect a serial cable to the cRio and connect via a terminal emulator, there is loads of useful information that will be displayed. _Greg |
|
#4
|
|||
|
|||
|
Re: "No Robot Code" problem
I changed to the right .out file each time... it didnt help.
after re-imaging the crio my code came back to life again, and a while after updating to 4.2 it stopped working again... same error. i tried re-imaging the crio again, but this time it didnt work... what do i do? |
|
#5
|
|||
|
|||
|
Re: "No Robot Code" problem
http://first.wpi.edu/FRC/frccupdates.html
Scroll down to the NetConsole instructions. Install it and post what errors show up on the console |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| G-FORCE's robot, named "philbot" a.k.a "armagedon in a polycarbonate box" | Bryan_2818 | Robot Showcase | 0 | 12-04-2009 20:54 |
| Modified default code gives "code violation" | scottmso | Programming | 8 | 10-02-2006 23:17 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| IFI Loader problem - "Invalid HEX file" | wun | Programming | 9 | 22-09-2004 12:35 |
| Potential Problem with "fighting over the goal" | Kyle Fenton | General Forum | 4 | 17-02-2002 10:21 |