Go to Post I do want to remind people: Safety glasses, adult supervision and don't let freshmen touch the robot. ::safety:: - rtfgnow [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-04-2016, 20:46
balloman balloman is offline
Sophomore Programmer
AKA: Bernard
FRC #0034 (Rockets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Athens, AL
Posts: 14
balloman is on a distinguished road
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-04-2016, 15:21
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 48
JeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to behold
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-04-2016, 20:16
balloman balloman is offline
Sophomore Programmer
AKA: Bernard
FRC #0034 (Rockets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Athens, AL
Posts: 14
balloman is on a distinguished road
Re: Command and Control

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

Whole robot

No errors
Attached Files
File Type: vi Drive Controller.vi (63.5 KB, 8 views)
File Type: vi Rotate to Angle.vi (21.4 KB, 6 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 04-04-2016, 20:45
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #5   Spotlight this post!  
Unread 04-04-2016, 21:03
balloman balloman is offline
Sophomore Programmer
AKA: Bernard
FRC #0034 (Rockets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Athens, AL
Posts: 14
balloman is on a distinguished road
Re: Command and Control

Quote:
Originally Posted by Greg McKaskle View Post
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-04-2016, 21:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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