|
Re: 80-100% CPU usage
We repeatedly get CPU usage errors from the code if we are calling Refnums in Periodic Tasks or Teleop that are not valid. Make sure every Refnum (the pink string that names a motor/solenoid/etc) you are calling is being properly set-up in Begin and is actually wired on the robot.
In addition, calling the same Refnum twice in periodic tasks has caused 100% CPU usage as well. Just my 2 cents
|