|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Robot Not Recieving Code
Ive recently brought the robot out of the garage in a sense and wanted to start tinkering with it. I downloaded the latest windriver update on FIRSTforge and reimaged the cRIO for image v30. I downloaded code to the robot and it recieved the code, but I accidently downloaded an empty project so it wasnt able to do anything. I then set the downloader to the right code to download and used the deploy button to download. It undeployed and deployed like it should. After I rebooted the robot there was no robot code.
Anyone know how to fix this problem I can't think of anything I did wrong in setting this up. ![]() |
|
#2
|
|||||
|
|||||
|
Re: Robot Not Recieving Code
Use netconsole to see where your code is immediately dying.
I haven't seen v30 for the cRIO, so I'll have to go looking for that. |
|
#3
|
||||||
|
||||||
|
Re: Robot Not Recieving Code
Quote:
|
|
#4
|
||||
|
||||
|
Re: Robot Not Recieving Code
Could you tell me how to set up netconsole?
Sorry I've never had this problem so I've never had to use it. |
|
#5
|
|||||
|
|||||
|
Re: Robot Not Recieving Code
The cRIO gets setup for NetConsole by a selection in the cRIO Imaging Tool
Make sure your PC netmask on the connection you're using is set to 255.0.0.0, because NetConsole broadcasts. Last edited by Mark McLeod : 30-11-2011 at 14:49. |
|
#6
|
||||
|
||||
|
Re: Robot Not Recieving Code
My team just recently had this problem and solved it. Our code was being deleted after a power cycle because some functions weren't overridden in the C++ robot code. The RobotInit() virtual function was causing our problem. The cRIO outputted these functions to a console, like NetConsole, when overriding was required with a message similar to "RobotInit(): override me!".
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|