FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Command & Control Controller routine running the reserve case all the time

Solved!
Go to solution

I agree with you about being careful about any changes that I might regret later. I need to look at things closer.

 

The issue with the Reserve case running so many times is that it is slowing down things and I am getting errors on the Driver Station.

 

 

0 Kudos
Message 11 of 13
(892 Views)

If you're worried, take a look at changing the timeout in the lower right corner of your Reserve case to -1 (infinite).  If all is working well, this should hold your VI in the reserve state without executing for an indefinite time until the controller gets another command.

Message 12 of 13
(887 Views)
Solution
Accepted by Nelshinio

If you're still looking at this, we've recently found an oddity in the way subsystems are scripted.

 

Take a look in your commands folder for subsystems you create and find:  Read [Subsystem name] Command

 

Open that VI and see the cluster being fed.  If this has "Reserve" as the option, change it to "Read Current"

 

Save and restart.  The stutter should go away.

Message 13 of 13
(873 Views)