Go to Post Truly good teasers should give people a good place to start guessing, while still leaving some mystery and uncertainty. - Travis Covington [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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 01-17-2013, 12:41 PM
gitlitz gitlitz is offline
Registered User
FRC #4590
 
Join Date: Jan 2013
Location: israel
Posts: 11
gitlitz is an unknown quantity at this point
Re: cant run the robot

We've noticed something weird about the processes which run when we debug a simple program (just Talons and an ArcadeDrive with joystick).

Our main problem is that the code runs the first time very well, but then when we terminate the code (in the debug window) and debug again the same code - without rebooting the cRio - it doesn't work.
We thought it was a problem with the cRio - like an unproper deleting of memory from the cRio between uploading the two (same) codes.
We're are about to replace the cRio and try the code with an other (but an old version) cRio.

Anyway, we've found an other clue about this problem.
When we run the code for the first time, the processes on the debug window are as seen in this picture:
normal


In the times after that, when we ran the code without rebooting, there was the same error of
ERROR: A timeout has been exceeded: RobotDrive... Output not updated often enough. ...in Check() in C:/WindRiver/workspace/WPILib/MotorSafetyHelper.cpp at line 117
As you can see in the following picture, only one process run in the debug code.
error

Also, we located a breakpoint in the operator control function and we saw that the code doesn't even get to the while loop, somehow it stucks before it.
(In the first time it did get to the while loop in the operator control)

What are those processes and how does the lack of processes in the debug window related to the not updating the motors to often problem?
Maybe two codes run together because the last code wasn't deleted, or is there another reason?

We would thank you if you'd give us advices.

GreenBlitz 4590
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 09:59 AM.

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