Go to Post Actually, I forsee two [buttons]: Fire and "Thats the opponents target, you dumb robot" - devicenull [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2016, 10:24
Programming191 Programming191 is offline
Registered User
no team
 
Join Date: Feb 2016
Location: East Coast
Posts: 3
Programming191 is an unknown quantity at this point
Angry Help with constant code crashing

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   Spotlight this post!  
Unread 14-02-2016, 10:38
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
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)
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
  #3   Spotlight this post!  
Unread 14-02-2016, 11:07
Programming191 Programming191 is offline
Registered User
no team
 
Join Date: Feb 2016
Location: East Coast
Posts: 3
Programming191 is an unknown quantity at this point
Re: Help with constant code crashing

Quote:
Originally Posted by Jaci View Post
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)
I have attached a zip folder containing my code. Thank you for your help.
Attached Files
File Type: zip Robot2016.zip (7.8 KB, 12 views)
  #4   Spotlight this post!  
Unread 14-02-2016, 11:39
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
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.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
  #5   Spotlight this post!  
Unread 14-02-2016, 11:42
Programming191 Programming191 is offline
Registered User
no team
 
Join Date: Feb 2016
Location: East Coast
Posts: 3
Programming191 is an unknown quantity at this point
Re: Help with constant code crashing

Quote:
Originally Posted by Jaci View Post
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.
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   Spotlight this post!  
Unread 14-02-2016, 11:57
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Help with constant code crashing

No problem, I'm glad the issue is resolved c:
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi