Go to Post If we miss in autonomous, the team blames the programmer, If we miss in teleop, the team blames the drivers - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #4   Spotlight this post!  
Unread 04-03-2016, 00:28
richtop richtop is offline
Registered User
AKA: Richard Topolewski
FRC #5053 (Laker Robotics)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Waterford, Michigan
Posts: 16
richtop is an unknown quantity at this point
Re: How to debug High CPU utilization in RoboRio running Java

Thanks for pointing me the the camera, it helped.

We took the image to it's smallest size and 1 Frame per second, and CPU dropped slightly. Now it is at about 90% to 100%, but importantly the driver control lag dropped and the functionality that was failing to work is now working again (e.g. the drive straight button). So it seems that there is something other then the camera still hogging the CPU.

We have Image processing code we hope to turn on to align to the goal, but I don't see anyway that the images could possibly be processed if we are always at 90% to 100% CPU.

One thing that has improved or become obvious is that the CPU only goes high while in Teleop, otherwise it is around 35%.

We had to spend time tuning the controls and other things today at day 1 of the tournament, but this is going to be the number one thing to work on very soon.
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: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