Command and Control

Since my team isn’t going to nationals, and we have finished all our regionals, I decided to look into using Command and Control next year with LabVIEW. I use the simulation and it works great. My only problem is that all the other commands work, but any of the commands I make myself seem to run and then the driver station says no robot code. Any help would be appreciated.

It’s pretty hard to see what’s happening without code to look at.

There’s only a single subsystem that comes with that code.

Are you running this by hitting the run arrow or building it and running it as a startup?

Do you see any errors pop up?

Are you running the entire robot or just the command on its own?

I run this with the run arrow from robot main, because that is how you run the simulation.

Whole robot

No errors

Drive Controller.vi (63.5 KB)
Rotate to Angle.vi (21.4 KB)


Drive Controller.vi (63.5 KB)
Rotate to Angle.vi (21.4 KB)

The code your added to the controller, and the command look fine. How do you run the command? One pretty big difference is that you are using the gyro. I will have to test how well it works in the simulator.

You may want to check your Begin VI to see if the configuration of the gyro looks right.

Greg McKaskle

Well, I assumed that I would open the Gyro in Drive Controller.

Whoops. You are correct, that is the right way to do it.

And I need to get some rest before answering more questions.
Greg McKaskle