View Single Post
  #2   Spotlight this post!  
Unread 22-03-2012, 20:16
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 100% cpu and twitchy too

Your teleop is certainly not doing too much. It may be throwing errors, or the slowdown could be elsewhere in your application.

First, check the Diagnostics tab to see if errors are piling up. They are often due to misspellings in the I/O names or old code that is updating channels that were never opened, etc.

The parallel code could be vision or periodic tasks, and they could be causing the teleop to run more slowly since most of the CPU is taken up by them.

Greg McKaskle
Reply With Quote