Go to Post Grease your gearboxes folks! Gears need grease, otherwise they kerplode. - s_forbes [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 13-01-2015, 21:54
cbf cbf is offline
Registered User
FRC #2877
 
Join Date: Feb 2012
Location: Newton, MA
Posts: 73
cbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nicecbf is just really nice
Re: C++ Code doesn't seem to run from Eclipse

We forgot to save the console buffer, but I can tell that the output was just like it shows in the documentation (http://wpilib.screenstepslive.com/s/...age_id=4999693, except that the [sshexec] line that's supposed to stay "stopped process" instead says it couldn't find a process to stop.
I'm a bit confused about the logic in /usr/local/frc/bin/frcKillRobot.sh. So it looks like this line fails:
Code:
/sbin/start-stop-daemon -K --pidfile $FRC_PID_FILE
I don't remember my C shell well enough, but if this start-stop-daemon command returns a non-zero error code, would it stop running the rest of the shell script? If that's what's happening then it would explain why the /usr/local/frc/bin/frcRunRobot.sh command further down never gets called.

Seems the logic is defective. Can't start a robot program if there wasn't already one running? Is there a setting we missed somewhere?
Reply With Quote
 


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 05:15.

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