Go to Post Though, of course, if the old one you like is shot, then you can just beat your new one with a hammer until it works the way you want. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2015, 12:29
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Java CPU usage is different with cold startup vs. reset or deploy

I'm seeing some really weird behavior with the roboRIO's CPU usage.

When I first power on the roboRIO and wait for the robot to go into teleop disabled, the CPU usage hovers between 95-100%. This usage stays constant at 95% during robot operation, and the controls have lag. When I press the reset button the roborio, and wait for the robot to go into teleop disabled, the CPU usage drops to 40%. I do not see the high CPU usage after deploying code or pressing the reset button, only when I turn on the roborio with the main breaker and let the code run.

What could the difference between the two startup methods possibly be, and how can my code only affect one?
Closed Thread


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 01:44.

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