Go to Post We need to train teams from the very beginning to become self-sustaining... so we can offer a full experience to FIRST students... - Bob Steele [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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
  #8   Spotlight this post!  
Unread 28-09-2011, 01:57
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Re: Delay in controls (HELP!)

Quote:
Originally Posted by Chris is me View Post
code would write to memory in such a way that it would just use up more and more memory to the point of causing lag
Sounds like you forgot to deallocate your memory. I find segfault and memory leak stories break the ice with any CS person.

SuperNerd256, I find it unlikely that your compressor was taking up that much memory. I am rusty on my C++ library, but I could not imagine it is doing massive amount of of operations(perhaps a few function calls that go no where when the compressor is unplugged) or declare so much memory you eventually get a lag(unlike an image which is large).
Some suggested trouble shooting(which you may have tried), is your battery good? Is the Classmate running something else(possibly in the background, an update program or something that has highest network priority then the driver station and is trying to figure out why your robot is not responding to its internet request) using task manager? Is this a recent compile of the code(like Chris is me's story, but insert any variable that has never been deallocated will add up over time)? Is your robot in a Faraday Cage?
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 11:18.

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