Go to Post Where can I buy the awesomeness that you used on that? Do they sell it at andymark? - HansJ [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 02-03-2009, 21:20
fritzdejongh fritzdejongh is offline
Coach
FRC #2704
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Batavia, IL
Posts: 18
fritzdejongh has a spectacular aura aboutfritzdejongh has a spectacular aura aboutfritzdejongh has a spectacular aura about
Re: DS Question with the GET ALLIANCE function

get alliance worked for my team at midwest regional, for choosing which flag orientation to go after. We displayed the alliance setting in our dashboard so we could verify it was set correctly. Out of paranoia, our programmers allocated joystick buttons to override in case the field system didn't work, but they didn't need them.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-03-2009, 16:10
Norton Norton is offline
Computer Engineering
FRC #0383 (The Brazilian Machine)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Brazil
Posts: 3
Norton is an unknown quantity at this point
Send a message via MSN to Norton
Re: DS Question with the GET ALLIANCE function

I would like to know what does the function GET ALLIANCE returns in the alliance output, anyone knows a number, a bolean a string ???
if my team is RED it returns 1? or 0? or RED?
thanks
Reply With Quote
  #3   Spotlight this post!  
Unread 03-03-2009, 16:24
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: DS Question with the GET ALLIANCE function

Quote:
Originally Posted by Norton View Post
I would like to know what does the function GET ALLIANCE returns in the alliance output, anyone knows a number, a bolean a string ???
if my team is RED it returns 1? or 0? or RED?
thanks
It returns an "enum" of either "Red" or "Blue".

To see this your self, put the vi into your project. Connect the output you want to a case structure. Hit "Ctrl+H" to bring up the Context Help, then put your cursor over the output of interest.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Alliance VI Heath Programming 2 14-02-2009 22:00
can't get control system to function pagemauck Programming 9 10-02-2009 12:26
Get Alliance VI rpcoe NI LabVIEW 2 09-02-2009 22:12
Get Alliance VI help! Xenosthebest Programming 2 03-02-2009 19:32
Get Angle Function in Labview popo308 Programming 2 01-02-2009 15:16


All times are GMT -5. The time now is 21:34.

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