Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Command and Control (http://www.chiefdelphi.com/forums/showthread.php?t=146640)

balloman 03-04-2016 20:46

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.

JeffB 04-04-2016 15:21

Re: Command and Control
 
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?

balloman 04-04-2016 20:16

Re: Command and Control
 
2 Attachment(s)
I run this with the run arrow from robot main, because that is how you run the simulation.

Whole robot

No errors

Greg McKaskle 04-04-2016 20:45

Re: Command and Control
 
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

balloman 04-04-2016 21:03

Re: Command and Control
 
Quote:

Originally Posted by Greg McKaskle (Post 1567646)
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.

Greg McKaskle 04-04-2016 21:20

Re: Command and Control
 
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


All times are GMT -5. The time now is 04:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi