View Single Post
  #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: 74
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