View Single Post
  #6   Spotlight this post!  
Unread 04-13-2016, 07:49 PM
abigailthefox's Avatar
abigailthefox abigailthefox is offline
Registered User
FRC #1711 (Raptors)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Traverse City
Posts: 48
abigailthefox is an unknown quantity at this point
Re: How to debug High CPU utilization in RoboRio running Java

Are any of your functions running in a separate thread? If you have many threads running at once, or threads running quickly, you can get CPU problems. We had a CPU problem at our last competition that was solved by removing a thread that no longer had any code running within it, so it was running over and over again within the main operator control loop, moving very quickly and using lots of CPU, but without carrying out any useful robot function.
Reply With Quote