|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
C++ Code doesn't seem to run from Eclipse
We're new to C++ this year. We used Java last year. So far, we like Netbeans much better than Eclipse!
After finally working through all the Eclipse setup issues and getting our code to compile, it doesn't seem to run when deployed from Eclipse. We're presently connecting to our roboRio via USB. We bought a second set of control system components and are using these for practice while our electrical team wires up our practice chassis. If we log into the roboRio, we can see the deployed program. We can also execute it directly in the roboRio linux environment; however, if we deploy from Eclipse and then use the linux 'ps' command, the program does not appear to be running. Any help is greatly appreciated. |
|
#2
|
||||||
|
||||||
|
Re: C++ Code doesn't seem to run from Eclipse
Can you post the output of the build console in eclipse?
|
|
#3
|
|||
|
|||
|
Re: C++ Code doesn't seem to run from Eclipse
I'll try to do that tonight at our meeting.
Thanks. |
|
#4
|
|||
|
|||
|
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 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? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|