View Single Post
  #7   Spotlight this post!  
Unread 12-02-2016, 17:26
aeastet aeastet is offline
Programming Mentor
AKA: Tim Easterling
FRC #6043 (Allegan Tigers Robotics)
Team Role: Coach
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Holland, MI
Posts: 127
aeastet is an unknown quantity at this point
Re: nagging problem with CPU usage

I looked at your code an spent some time changing a few things. If you PM me I will figure out how to get you the updated version. I added some action engines so you can see how they are used. They are simple to use and can save a lot of time. I cleaned some stuff up and reorganized a few things.

I did notice that you are talking to the Arm UpDown in two places. You should try to keep the writing part of your code in one place. There are other things to do that could help but I do have a day job. I will be out this weekend so I will have to get you the update on Monday if you would like to see it.

Tim