|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Whenever I run my program on eclipse the robot code crashes before even starting. The robotInit() method does not even run. We have tried commenting out all of our code yet this does not seem to solve our problems.
Here is the riolog output: ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» ➔ Launching «'/home/lvuser/FRCUserProgram'» etc.... |
|
#2
|
||||
|
||||
|
Re: Help with constant code crashing
The unspoken rule: Post your code before asking for help
(for real though we can't tell what's going on unless you give us your code, since there is no output. It looks like you're using C++, and since there's no output, I'd suggest deploying again) |
|
#3
|
|||
|
|||
|
Re: Help with constant code crashing
I have attached a zip folder containing my code. Thank you for your help.
|
|
#4
|
||||
|
||||
|
Re: Help with constant code crashing
My first guess would be that the "CougarLib" dependency isn't compiled and/or loaded on your RoboRIO. This would cause a fault at startup, which I don't believe is picked up by RioLog.
|
|
#5
|
|||
|
|||
|
Re: Help with constant code crashing
I found the issue. I was trying to write to a log file and their was an error in the way I was doing it. Thank you for your help!
|
|
#6
|
||||
|
||||
|
Re: Help with constant code crashing
No problem, I'm glad the issue is resolved c:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|