View Single Post
  #3   Spotlight this post!  
Unread 13-04-2016, 08:09
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Robot Drive Not Running Fast Enough - PLEASE HELP!

@Alan - You need to install the NavX library to have his code load properly.

Looking at Teleop... Oh my...

There is a lot going on here. Forgive me if I miss something. Generally, when your code starts getting really complex, it's a good idea to start creating SubVIs. It makes the code a lot easier to understand.

I'm not seeing anything that stands out. The only Wait blocks you have are in Periodic Tasks, which is good.

Are you trying to run this as built code or by pressing Run on Robot Main? I've experienced slow downs when running Robot Main if I have too many running LabVIEW windows open. This occurs because it has to sync all the values from the robot back to the front panel, and the issue gets worse if your are probing values as well. I can see how having just the Teleop window open might cause it to lag since there are so many Front Panel controls and indicators to update.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote