![]() |
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.:confused: |
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. |
Re: Robot Not Recieving Code
Quote:
|
Re: Robot Not Recieving Code
Quote:
Sorry I've never had this problem so I've never had to use it. |
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. |
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!".
|
| All times are GMT -5. The time now is 17:50. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi